minor update

This commit is contained in:
Blaise Tine
2021-07-17 15:26:04 -07:00
parent ff5ec3adc8
commit 6b641ceb21
3 changed files with 7 additions and 7 deletions

View File

@@ -78,6 +78,8 @@ module VX_alu_unit #(
endcase
end
end
// branch
wire is_jal = is_br_op && (br_op == `BR_JAL || br_op == `BR_JALR);
wire [`NUM_THREADS-1:0][31:0] alu_jal_result = is_jal ? {`NUM_THREADS{alu_req_if.next_PC}} : alu_result;