mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-24 13:57:17 -04:00
FIX
This commit is contained in:
parent
91a926e3b6
commit
5b633bca61
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ module VX_alu(
|
|||
|
||||
assign upper_immed = {in_upper_immed, {12{1'b0}}};
|
||||
|
||||
always @(in_alu_op or ALU_in1 or ALU_in2) begin
|
||||
always @(*) begin
|
||||
case(in_alu_op)
|
||||
`ADD: out_alu_result = $signed(ALU_in1) + $signed(ALU_in2);
|
||||
`SUB: out_alu_result = $signed(ALU_in1) - $signed(ALU_in2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue