maintaining distinct arrays for muxed and dedicated cells
[pinmux.git] / src / wire_def.py
index 011e1596ec70b5d89b76ce840c92f619331973ca..0cd9cb23232a12141a17d178adea61fcf17e25f1 100644 (file)
@@ -1,7 +1,7 @@
 from params import *
 # == Intermediate wire definitions ==#
 muxwire = '''
-      Wire#(Bit#(''' + str(N_MUX) + '''))   wrmux{0} <-mkDWire(0);'''
+      Wire#(Bit#({1}))   wrmux{0} <-mkDWire(0);'''
 generic_io = '''
       GenericIOType cell{0}_out=unpack(0);
       Wire#(Bit#(1)) cell{0}_in <-mkDWire(0);