missed mk_pincon rename for eint
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 30 Jul 2018 04:50:32 +0000 (05:50 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 30 Jul 2018 04:50:32 +0000 (05:50 +0100)
src/bsv/peripheral_gen/eint.py

index ba80e5fb47ef1b428ae0e542cb78ba5431af9c9b..d09a68fedaebf0a9dae717cef0fd59bbd3f4a829 100644 (file)
@@ -26,8 +26,9 @@ class eint(PBase):
         print "ifnameweak", pname, typ, txt
         return "wr_interrupt[{0}] <= ".format(pname)
 
-    def mk_pincon(self, name, count):
-        ret = [PBase.mk_pincon(self, name, count)]
+    def _mk_pincon(self, name, count, typ):
+        assert typ == 'slow', 'TODO: mkConnection for fast'
+        ret = [PBase._mk_pincon(self, name, count, typ)]
         size = len(self.peripheral.pinspecs)
         ret.append(eint_pincon_template.format(size))
         ret.append("rule con_%s%d_io_in;" % (name, count))