ALU unit critical path optimization

This commit is contained in:
Blaise Tine
2021-09-07 23:54:10 -07:00
parent c06efbf480
commit aeeb3ca616
6 changed files with 107 additions and 88 deletions

View File

@@ -134,7 +134,7 @@ module VX_execute #(
wire ebreak /* verilator public */;
assign ebreak = alu_req_if.valid && alu_req_if.ready
&& `INST_ALU_IS_BR(alu_req_if.op_mod)
&& (`INST_BR_OP(alu_req_if.op_type) == `INST_BR_EBREAK
|| `INST_BR_OP(alu_req_if.op_type) == `INST_BR_ECALL);
&& (`INST_BR_BITS'(alu_req_if.op_type) == `INST_BR_EBREAK
|| `INST_BR_BITS'(alu_req_if.op_type) == `INST_BR_ECALL);
endmodule