2 wires per cell muxer
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 25 Jun 2018 09:13:53 +0000 (10:13 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 25 Jun 2018 09:13:53 +0000 (10:13 +0100)
src/test_bsv/pinmux.bsv

index 4b04fb55b288df16a65e9628f130c30041c279b7..1c91d419245dcd98e266a2f11b79544367be45dd 100644 (file)
@@ -86,9 +86,9 @@ package pinmux;
       // the followins wires capture the pin-mux selection
       // values for each mux assigned to a CELL
 
-      Wire#(Bit#(1)) wrcell0_mux<-mkDWire(0);
-      Wire#(Bit#(1)) wrcell1_mux<-mkDWire(0);
-      Wire#(Bit#(1)) wrcell2_mux<-mkDWire(0);
+      Wire#(Bit#(2)) wrcell0_mux<-mkDWire(0);
+      Wire#(Bit#(2)) wrcell1_mux<-mkDWire(0);
+      Wire#(Bit#(2)) wrcell2_mux<-mkDWire(0);
       // following wires capture signals to IO CELL if io-0 is
       // allotted to it
       Wire#(Bit#(1)) cell0_mux_out<-mkDWire(0);