Line 34... |
Line 34... |
//
|
//
|
// Modules contained in this file:
|
// Modules contained in this file:
|
// 1. IO_SWITCH Switch between ICACHE and DCACHE to IO Path
|
// 1. IO_SWITCH Switch between ICACHE and DCACHE to IO Path
|
// 2. MAKE_STAT Generate Statistic Signals
|
// 2. MAKE_STAT Generate Statistic Signals
|
//
|
//
|
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
|
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
//
|
//
|
// 1. IO_SWITCH Switch between ICACHE and DCACHE to IO Path
|
// 1. IO_SWITCH Switch between ICACHE and DCACHE to IO Path
|
//
|
//
|
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
module IO_SWITCH ( BCLK, BRESET, I_IOA, D_IOA, I_IORD, D_IORD, D_IOWR, IO_READY, GENSTAT, D_IOBE, IL
|
module IO_SWITCH ( BCLK, BRESET, I_IOA, D_IOA, I_IORD, D_IORD, D_IOWR, IO_READY, GENSTAT, D_IOBE, ILO_SIG, DCWACC,
|
IO_A, IO_RD, IO_WR, IO_BE, I_IORDY, D_IORDY, STATUS, ILO );
|
IO_A, IO_RD, IO_WR, IO_BE, I_IORDY, D_IORDY, STATUS, ILO );
|
|
|
input BCLK,BRESET;
|
input BCLK,BRESET;
|
input [31:0] I_IOA,D_IOA;
|
input [31:0] I_IOA,D_IOA;
|
input I_IORD;
|
input I_IORD;
|
Line 128... |
Line 128... |
|
|
assign ILO = ILO_SIG & ((D_IORD & sel_dp) | DCWACC[0] | ilo_flag | D_IOWR | DCWACC[1]);
|
assign ILO = ILO_SIG & ((D_IORD & sel_dp) | DCWACC[0] | ilo_flag | D_IOWR | DCWACC[1]);
|
|
|
endmodule
|
endmodule
|
|
|
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
//
|
//
|
// 2. MAKE_STAT Generate Statistic Signals
|
// 2. MAKE_STAT Generate Statistic Signals
|
//
|
//
|
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
module MAKE_STAT ( BCLK, READ, DACC_OK, DC_ACC, DPTE_ACC, DC_MDONE, DRAM_WR, IC_READ, IACC_OK, DATA_
|
module MAKE_STAT ( BCLK, READ, DACC_OK, DC_ACC, DPTE_ACC, DC_MDONE, DRAM_WR, IC_READ, IACC_OK, DATA_HOLD,
|
IC_ACC, IPTE_ACC, IC_MDONE, KOLLISION, STATSIGS );
|
IC_ACC, IPTE_ACC, IC_MDONE, KOLLISION, STATSIGS );
|
|
|
input BCLK;
|
input BCLK;
|
input READ,DACC_OK;
|
input READ,DACC_OK;
|
input DC_ACC,DPTE_ACC,DC_MDONE;
|
input DC_ACC,DPTE_ACC,DC_MDONE;
|