1

Fix sensitivity list for AithmeticUnit

This commit is contained in:
2023-03-29 13:54:44 +02:00
parent f21d4676c4
commit 3d8270b89b

View File

@ -12,7 +12,7 @@ module ArithmeticUnit(
); );
// If the least significant opcode bit is 0, it is an addition // If the least significant opcode bit is 0, it is an addition
always_comb case (opcode) always @(opcode or operandA or operandB) case (opcode)
3'b100: result = operandA + operandB; 3'b100: result = operandA + operandB;
3'b101: result = operandA - operandB; 3'b101: result = operandA - operandB;
default: result = 0; default: result = 0;