diff options
author | Nick McKinney <nick@kmonkey.net> | 2016-12-29 15:54:36 -0600 |
---|---|---|
committer | Nick McKinney <nick@kmonkey.net> | 2016-12-29 15:54:36 -0600 |
commit | 410a868f79165d6d2559bc8508ba496450fbe1ee (patch) | |
tree | 235c0362adbf0afd3fa0cda3170c752d360652bc /ctrl_decode.v | |
parent | d4cad6096651774485723551336bce1d08402b6e (diff) |
widen register set control signal, fix bugs with conditional sets related to branching
Diffstat (limited to 'ctrl_decode.v')
-rw-r--r-- | ctrl_decode.v | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ctrl_decode.v b/ctrl_decode.v index cda670d..ede591f 100644 --- a/ctrl_decode.v +++ b/ctrl_decode.v @@ -1,5 +1,5 @@ module ctrl_decode ( - input [31:0] control_signals, + input [32:0] control_signals, output [3:0] aluOp, output [2:0] aluReg1, @@ -18,7 +18,7 @@ module ctrl_decode ( output memWriteB, output memWriteW, - output [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} + output [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} ); assign { |