diff --git a/system/alu.v b/system/alu.v index ee9adea..595c231 100644 --- a/system/alu.v +++ b/system/alu.v @@ -47,10 +47,10 @@ always @ ( * ) begin `ALU_OP_ADD_SIGNED_B: {C_FLAG,OUT[7:0]}=A[7:0]+SIGNED_8B; `ALU_OP_SUB: {C_FLAG,OUT[7:0]}=A[7:0]-B[7:0]; `ALU_OP_SUB_REVERSE: {C_FLAG,OUT[7:0]}=B[7:0]-A[7:0]; - `ALU_OP_AND: begin C_FLAG=0;OUT=A&B; end - `ALU_OP_OR: begin C_FLAG=0;OUT=A|B; end - `ALU_OP_XOR: begin C_FLAG=0;OUT=A^B; end - `ALU_OP_SHIFT_LEFT: begin C_FLAG=(A&16'h80)==16'h80;OUT=A<