From ad9b6505e537155f76afaecf8f3068e1de63e569 Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Sun, 8 Jan 2017 23:35:53 -0600 Subject: Remove ~reg second operand source This was only used by the notneg instruction, which no longer needs it after having been reimplemented in terms of subtraction. --- decoder.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decoder.v') diff --git a/decoder.v b/decoder.v index 0457640..fc43bbe 100644 --- a/decoder.v +++ b/decoder.v @@ -5,7 +5,7 @@ module decoder ( output [2:0] aluReg1, output [2:0] aluReg2, output [1:0] aluOpSource1, // ALU first operand: 0 = reg, 1 = memory read, 2 = imm8, 3 = PC - output [1:0] aluOpSource2, // ALU second operand: 0 = reg, 1 = ~reg, 2 = PC, 3 = ??? + output [1:0] aluOpSource2, // ALU second operand: 0 = reg, 1 = ???, 2 = PC, 3 = ??? output aluDest, // 0 = reg, 1 = PC output [1:0] aluCarrySource, // ALU carry input source: 0 = zero, 1 = one, 2 = carry, 3 = ~carry -- cgit v1.2.3