summaryrefslogtreecommitdiff
path: root/decoder.v
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2017-01-08 23:35:53 -0600
committerBobby Bingham <koorogi@koorogi.info>2017-01-08 23:35:53 -0600
commitad9b6505e537155f76afaecf8f3068e1de63e569 (patch)
tree77cc941645740712021e6741b8148fed1f8a89ee /decoder.v
parentf2b72883df7f67c53f7157193ec7271943a1654e (diff)
Remove ~reg second operand sourceHEADmaster
This was only used by the notneg instruction, which no longer needs it after having been reimplemented in terms of subtraction.
Diffstat (limited to 'decoder.v')
-rw-r--r--decoder.v2
1 files changed, 1 insertions, 1 deletions
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