Disable reduce_unit for timing optimization

Currently the critical path @1GHz is found at the accumulators inside
reduce_unit.
This commit is contained in:
Hansung Kim
2024-08-16 15:28:56 -07:00
parent 715539b2c3
commit 789d873e19

View File

@@ -102,15 +102,20 @@ module VX_alu_unit #(
`RESET_RELAY(red_reset, reset);
VX_reduce_unit #(
.CORE_ID(CORE_ID),
.NUM_LANES(NUM_LANES)
) reduce_unit (
.clk(clk),
.reset(red_reset),
.execute_if(red_execute_if),
.commit_if(red_commit_if)
);
`RUNTIME_ASSERT((reset || !red_execute_if.valid),
("%t: *** core%0d-alu-unit: reduce instruction used but reduce_unit is disabled, PC=0x%x (#%d)",
$time, CORE_ID, red_execute_if.data.PC, red_execute_if.data.uuid));
assign red_commit_if.valid = 1'b0;
assign red_commit_if.data = '0;
// VX_reduce_unit #(
// .CORE_ID(CORE_ID),
// .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