Fixed Dependancy List in VX_alu that doesn't update when multiply is ready

This commit is contained in:
felsabbagh3
2020-04-04 22:56:31 -07:00
parent 9b989cec69
commit 913670a7bb

View File

@@ -135,7 +135,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);