create a val0 which is set to 0 to get round compilation error
[pinmux.git] / src / bsv / pinmux_generator.py
index e086f35fc72d0b9373ca339f61abef72e53dd2c5..0bbfc19681c989a027792ed8f64eb89279823977 100644 (file)
@@ -191,6 +191,7 @@ def write_pmp(pmp, p, ifaces, iocells):
         # ========================= Actual pinmuxing ========================#
         bsv_file.write('''
       /*====== This where the muxing starts for each io-cell======*/
+      Wire#(Bit#(1)) val0<-mkDWire(0); // need a zero
 ''')
         bsv_file.write(p.pinmux)
         bsv_file.write('''