1

Fix sensitivity list of LogicalUnit

This commit is contained in:
2023-03-29 13:54:56 +02:00
parent 3d8270b89b
commit 57b6316769

View File

@ -13,7 +13,7 @@ module LogicalUnit(
output var logic[7:0] result output var logic[7:0] result
); );
always_comb case (opcode) always @(opcode or operandA or operandB) case (opcode)
3'b000: result = operandA & operandB; 3'b000: result = operandA & operandB;
3'b001: result = operandA | operandB; 3'b001: result = operandA | operandB;
3'b010: result = ~(operandA & operandB); 3'b010: result = ~(operandA & operandB);