Commit 080e5378 authored by Daru13's avatar Daru13
Browse files

Fixed typos in the ALU control block

parent 4202c8ae
...@@ -112,10 +112,10 @@ ALU_control(funct:[6], op:[3]) = (alu_op:[4], use_shamt) where ...@@ -112,10 +112,10 @@ ALU_control(funct:[6], op:[3]) = (alu_op:[4], use_shamt) where
ori (op = 010), xori (op = 011), ori (op = 010), xori (op = 011),
slti (op = 101), beq et bne (op = 101) *) slti (op = 101), beq et bne (op = 101) *)
alu_op_4 = (funct[0] and funct[4] and (not funct[5])) (* sub, xor, slt *) alu_op_4 = (funct[0] and funct[4] and (not funct[5])) (* sub, xor, slt *)
or ((not funct[0]) and funct[4 and funct[5]]) (* srav, sra *) or ((not funct[0]) and funct[4] and funct[5]) (* srav, sra *)
or (funct[1] and (not funct[2] or funct[4])) (* mfhi *) or (funct[1] and (not funct[2] or funct[4])) (* mfhi *)
or equal_n<6>(instruction, 0.1.1.0.1.0) (* div *) or equal_n<6>(funct, 0.1.1.0.1.0) (* div *)
or equal_n<6>(instruction, 1.0.0.1.0.1) (* or *) or equal_n<6>(funct, 1.0.0.1.0.1) (* or *)
or (op[0] and op[2]) (* op forcée : slti, beq, bne (101) *) or (op[0] and op[2]) (* op forcée : slti, beq, bne (101) *)
or (not(op[0]) and op[1]); (* op forcée : ori, xori (01x) *) or (not(op[0]) and op[1]); (* op forcée : ori, xori (01x) *)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment