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. --- ctrl_encode.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ctrl_encode.v') diff --git a/ctrl_encode.v b/ctrl_encode.v index 92ad3c6..be0e385 100644 --- a/ctrl_encode.v +++ b/ctrl_encode.v @@ -3,7 +3,7 @@ module ctrl_encode ( input [2:0] aluReg1, input [2:0] aluReg2, input [1:0] aluOpSource1, // ALU first operand: 0 = reg, 1 = memory read, 2 = imm8, 3 = PC - input [1:0] aluOpSource2, // ALU second operand: 0 = reg, 1 = ~reg, 2 = PC, 3 = ??? + input [1:0] aluOpSource2, // ALU second operand: 0 = reg, 1 = ???, 2 = PC, 3 = ??? input aluDest, // 0 = reg, 1 = PC input [1:0] aluCarrySource, // ALU carry flag input source -- cgit v1.2.3