summaryrefslogtreecommitdiff
path: root/ctrl_encode.v
diff options
context:
space:
mode:
authorNick McKinney <nick@kmonkey.net>2016-12-29 15:54:36 -0600
committerNick McKinney <nick@kmonkey.net>2016-12-29 15:54:36 -0600
commit410a868f79165d6d2559bc8508ba496450fbe1ee (patch)
tree235c0362adbf0afd3fa0cda3170c752d360652bc /ctrl_encode.v
parentd4cad6096651774485723551336bce1d08402b6e (diff)
widen register set control signal, fix bugs with conditional sets related to branching
Diffstat (limited to 'ctrl_encode.v')
-rw-r--r--ctrl_encode.v4
1 files changed, 2 insertions, 2 deletions
diff --git a/ctrl_encode.v b/ctrl_encode.v
index 6eb0635..d76f34f 100644
--- a/ctrl_encode.v
+++ b/ctrl_encode.v
@@ -16,9 +16,9 @@ module ctrl_encode (
input memWriteB,
input memWriteW,
- input [4:0] setRegCond, // {should set when condition is true, Z doesn't matter, S doesn't matter, Z must be this, S must be this}
+ input [5:0] setRegCond, // {should set when condition is true, Z doesn't matter, S doesn't matter, Z must be this, S must be this}
- output [31:0] control_signals
+ output [32:0] control_signals
);
assign control_signals = {