add dma rules
[pinmux.git] / src / bsv / peripheral_gen / nspi.py
index dadd7ca3978529375cc2b96c90a51c4ff16ac9b1..16526e123a1f3d63657c4425f3e7b3603d3aa1be 100644 (file)
@@ -12,9 +12,12 @@ class nspi(PBase):
     def slowimport(self):
         return "    import %(n)s              :: *;" % self.ifndict
 
+    def irq_name(self):
+        return "%(n)s{0}_isint" % self.ifndict
+
     def slowifdecl(self):
         return "            interface %(N)s_out %(n)s{0}_out;\n" + \
-               "            method Bit#(1) %(n)s{0}_isint;" % self.ifndict
+               "            method Bit#(1) %s;" % self.irq_name
 
     def num_axi_regs32(self):
         return 13