From 410a868f79165d6d2559bc8508ba496450fbe1ee Mon Sep 17 00:00:00 2001 From: Nick McKinney Date: Thu, 29 Dec 2016 15:54:36 -0600 Subject: widen register set control signal, fix bugs with conditional sets related to branching --- ctrl_encode.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ctrl_encode.v') 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 = { -- cgit v1.2.3