Disable reduce_unit for timing optimization
Currently the critical path @1GHz is found at the accumulators inside reduce_unit.
This commit is contained in:
@@ -102,15 +102,20 @@ module VX_alu_unit #(
|
|||||||
|
|
||||||
`RESET_RELAY(red_reset, reset);
|
`RESET_RELAY(red_reset, reset);
|
||||||
|
|
||||||
VX_reduce_unit #(
|
`RUNTIME_ASSERT((reset || !red_execute_if.valid),
|
||||||
.CORE_ID(CORE_ID),
|
("%t: *** core%0d-alu-unit: reduce instruction used but reduce_unit is disabled, PC=0x%x (#%d)",
|
||||||
.NUM_LANES(NUM_LANES)
|
$time, CORE_ID, red_execute_if.data.PC, red_execute_if.data.uuid));
|
||||||
) reduce_unit (
|
assign red_commit_if.valid = 1'b0;
|
||||||
.clk(clk),
|
assign red_commit_if.data = '0;
|
||||||
.reset(red_reset),
|
// VX_reduce_unit #(
|
||||||
.execute_if(red_execute_if),
|
// .CORE_ID(CORE_ID),
|
||||||
.commit_if(red_commit_if)
|
// .NUM_LANES(NUM_LANES)
|
||||||
);
|
// ) reduce_unit (
|
||||||
|
// .clk(clk),
|
||||||
|
// .reset(red_reset),
|
||||||
|
// .execute_if(red_execute_if),
|
||||||
|
// .commit_if(red_commit_if)
|
||||||
|
// );
|
||||||
|
|
||||||
`ifdef EXT_M_ENABLE
|
`ifdef EXT_M_ENABLE
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user