resolve name conflict
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 24 Jul 2018 12:37:19 +0000 (13:37 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 24 Jul 2018 12:37:19 +0000 (13:37 +0100)
src/bsv/peripheral_gen/nspi.py

index 0f97013011dc16311cd9ef400f7e35e0f87dee90..894577943b028e5f0a021259cc05a2159bc2def3 100644 (file)
@@ -57,5 +57,5 @@ class nspi(PBase):
         return "        method {0}_isint = {0}.interrupts[5];".format(name)
 
     def slowifdeclmux(self, name, count):
-        sname = self.peripheral.iname().format(count)
+        sname = self.get_iname(count)
         return "        method Bit#(1) %s_isint;" % sname