Line 42... |
Line 42... |
output wire [`DATA_ADDRESS_WIDTH-1:0] oDataReadAddress1,
|
output wire [`DATA_ADDRESS_WIDTH-1:0] oDataReadAddress1,
|
output wire oDataWriteEnable,
|
output wire oDataWriteEnable,
|
output wire [`DATA_ADDRESS_WIDTH-1:0] oDataWriteAddress,
|
output wire [`DATA_ADDRESS_WIDTH-1:0] oDataWriteAddress,
|
output wire [`DATA_ROW_WIDTH-1:0] oDataBus,
|
output wire [`DATA_ROW_WIDTH-1:0] oDataBus,
|
output wire oReturnCode,
|
output wire oReturnCode,
|
|
|
|
`ifdef DEBUG
|
|
input wire [`MAX_CORES-1:0] iDebug_CoreID,
|
|
`endif
|
output wire oDone
|
output wire oDone
|
|
|
|
|
|
|
|
|
Line 128... |
Line 132... |
.iEXEDone( ALU2OutputReady ),
|
.iEXEDone( ALU2OutputReady ),
|
.oMicroCodeReturnValue( oReturnCode ),
|
.oMicroCodeReturnValue( oReturnCode ),
|
.oExecutionDone( oDone )
|
.oExecutionDone( oDone )
|
);
|
);
|
|
|
/*
|
|
InstructionFetchUnit IFU
|
|
(
|
|
.Clock( Clock ),
|
|
.Reset( Reset ),
|
|
.iTrigger( wTriggerIFU ),
|
|
.iInitialCodeAddress( wCodeEntryPoint ),
|
|
.oCurrentInstruction( CurrentInstruction ),
|
|
.oInstructionAvalable( wInstructionAvailable ),
|
|
.oInstructionPointer1( wIFU_IP ),
|
|
.iInstruction1( iInstruction1 ),
|
|
.oExecutionDone( oDone ),
|
|
.iBranchTaken( w2FIU__BranchTaken ),
|
|
.iBranchNotTaken( wALU2_IFU_BranchNotTaken ),
|
|
.iJumpIp( JumpIp ),
|
|
.iIDUBusy( wIDU2_IFU__IDUBusy ),
|
|
.iExeBusy( wEXE2_IFU__EXEBusy ),
|
|
.iDecodeUnitLatchedValues( wIDU2_IFU__InputsLatched ),
|
|
.oMicroCodeReturnValue( oReturnCode )
|
|
|
|
);
|
|
*/
|
|
////---------------------------------------------------------
|
////---------------------------------------------------------
|
wire wIDU2_EXE_DataReady;
|
wire wIDU2_EXE_DataReady;
|
wire wEXE2_IDU_ExeLatchedValues;
|
wire wEXE2_IDU_ExeLatchedValues;
|
|
|
InstructionDecode IDU
|
InstructionDecode IDU
|
Line 201... |
Line 183... |
.iSource0( wSource0 ),
|
.iSource0( wSource0 ),
|
.iSource1( wSource1 ) ,
|
.iSource1( wSource1 ) ,
|
|
|
`ifdef DEBUG
|
`ifdef DEBUG
|
.iDebug_CurrentIP( wDEBUG_IDU2_EXE_InstructionPointer ),
|
.iDebug_CurrentIP( wDEBUG_IDU2_EXE_InstructionPointer ),
|
|
.iDebug_CoreID( iDebug_CoreID ),
|
`endif
|
`endif
|
|
|
//.iJumpResultFromALU( wALU2_EXE__BranchTaken ),
|
//.iJumpResultFromALU( wALU2_EXE__BranchTaken ),
|
.iBranchTaken( wALU2_EXE__BranchTaken ),
|
.iBranchTaken( wALU2_EXE__BranchTaken ),
|
.iBranchNotTaken( wALU2_IFU_BranchNotTaken ),
|
.iBranchNotTaken( wALU2_IFU_BranchNotTaken ),
|