Line 40... |
Line 40... |
wire [2:0] wExeDoneTmp;
|
wire [2:0] wExeDoneTmp;
|
wire wRS1_2_ADD_Trigger;
|
wire wRS1_2_ADD_Trigger;
|
wire [`DATA_ROW_WIDTH-1:0] wRS1_OperandA;
|
wire [`DATA_ROW_WIDTH-1:0] wRS1_OperandA;
|
wire [`DATA_ROW_WIDTH-1:0] wRS1_OperandB;
|
wire [`DATA_ROW_WIDTH-1:0] wRS1_OperandB;
|
wire [`DATA_ROW_WIDTH-1:0] wAND,wOR,wResult;
|
wire [`DATA_ROW_WIDTH-1:0] wAND,wOR,wResult;
|
|
wire [`SCALE_SIZE-1:0] wResultSelector_Temp;
|
wire [1:0] wResultSelector;
|
wire [1:0] wResultSelector;
|
|
|
ReservationStation_1Cycle RS
|
ReservationStation_1Cycle RS
|
(
|
(
|
.Clock( Clock ),
|
.Clock( Clock ),
|
Line 52... |
Line 53... |
.iCommitBus( iCommitBus ),
|
.iCommitBus( iCommitBus ),
|
.iMyId( iId ),
|
.iMyId( iId ),
|
.iExecutionDone( wExeDone ),
|
.iExecutionDone( wExeDone ),
|
.iResult( wResult ),
|
.iResult( wResult ),
|
.iCommitGranted( iCommitGranted ),
|
.iCommitGranted( iCommitGranted ),
|
|
|
.oSource1( wRS1_OperandA ),
|
.oSource1( wRS1_OperandA ),
|
.oSource0( wRS1_OperandB ),
|
.oSource0( wRS1_OperandB ),
|
.oBusy( oBusy ),
|
.oBusy( oBusy ),
|
.oTrigger( wRS1_2_ADD_Trigger ),
|
.oTrigger( wRS1_2_ADD_Trigger ),
|
.oCommitRequest( oCommitResquest ),
|
.oCommitRequest( oCommitResquest ),
|
.oId( oCommitData[`COMMIT_RSID_RNG] ),
|
.oId( oCommitData[`COMMIT_RSID_RNG] ),
|
.oWE( oCommitData[`COMMIT_WE_RNG] ),
|
.oWE( oCommitData[`COMMIT_WE_RNG] ),
|
.oDestination( oCommitData[`COMMIT_DST_RNG] ),
|
.oDestination( oCommitData[`COMMIT_DST_RNG] ),
|
.oScale(wResultSelector),
|
.oScale( wResultSelector_Temp ),
|
.oResult( {oCommitData[`X_RNG],oCommitData[`Y_RNG],oCommitData[`Z_RNG]})
|
.oResult( {oCommitData[`X_RNG],oCommitData[`Y_RNG],oCommitData[`Z_RNG]})
|
|
|
);
|
);
|
|
|
|
assign wResultSelector = wResultSelector_Temp[1:0];
|
|
|
MUXFULLPARALELL_2SEL_GENERIC # ( `DATA_ROW_WIDTH ) MUX1
|
MUXFULLPARALELL_2SEL_GENERIC # ( `DATA_ROW_WIDTH ) MUX1
|
(
|
(
|
.Sel( wResultSelector ),
|
.Sel( wResultSelector ),
|
.I1( wAND ),
|
.I1( wAND ),
|