Line 47... |
Line 47... |
output wire [`DATA_ROW_WIDTH-1:0] oDataBus,
|
output wire [`DATA_ROW_WIDTH-1:0] oDataBus,
|
output wire [`INSTRUCTION_WIDTH-1:0] oInstructionBus,
|
output wire [`INSTRUCTION_WIDTH-1:0] oInstructionBus,
|
output wire oInstructionWriteEnable,
|
output wire oInstructionWriteEnable,
|
output wire [`ROM_ADDRESS_WIDTH-1:0] oInstructionWriteAddress,
|
output wire [`ROM_ADDRESS_WIDTH-1:0] oInstructionWriteAddress,
|
inout wire [`WIDTH-1:0] oData,
|
inout wire [`WIDTH-1:0] oData,
|
|
output wire oBusy,
|
output wire oDone,
|
output wire oDone,
|
//Theia specific interfaces
|
//Theia specific interfaces
|
input wire MST_I,
|
input wire MST_I,
|
//Wish Bone Interfaces
|
//Wish Bone Interfaces
|
output wire [31:0] DAT_O,
|
output wire [31:0] DAT_O,
|
Line 93... |
Line 94... |
wire[`WIDTH-1:0] wWBS_2__WBMToMEM_Address;
|
wire[`WIDTH-1:0] wWBS_2__WBMToMEM_Address;
|
wire wWBSToMEM2__oDataWriteEnable;
|
wire wWBSToMEM2__oDataWriteEnable;
|
wire[`DATA_ADDRESS_WIDTH-1:0] wWBSToMEM2__oDataWriteAddress;
|
wire[`DATA_ADDRESS_WIDTH-1:0] wWBSToMEM2__oDataWriteAddress;
|
wire[`DATA_ADDRESS_WIDTH-1:0] wWBMToMEM2__oDataWriteAddress;
|
wire[`DATA_ADDRESS_WIDTH-1:0] wWBMToMEM2__oDataWriteAddress;
|
|
|
|
|
|
assign oBusy = CYC_O;
|
wire wReadOperation;
|
wire wReadOperation;
|
assign wReadOperation = (iBusCyc_Type == `WB_SIMPLE_WRITE_CYCLE) ? 0 : 1;
|
assign wReadOperation = (iBusCyc_Type == `WB_SIMPLE_WRITE_CYCLE) ? 0 : 1;
|
|
|
|
|
assign wMEMToWBM_2__Address = ( iAdr_O_Type == `ADR_IMM ) ? iAdr_O_Imm : wMEMToWBM2__ReadDataElement;
|
assign wMEMToWBM_2__Address = ( iAdr_O_Type == `ADR_IMM ) ? iAdr_O_Imm : wMEMToWBM2__ReadDataElement;
|