add dma rules
[pinmux.git] / src / bsv / pinmux_generator.py
index b74fd47e6ed2bd0c4971d893680c878d86fb761f..0011dd006397b554950d9b6678066e7d52a58b6e 100644 (file)
@@ -146,10 +146,11 @@ def write_soc(soc, soct, p, ifaces, iocells):
     mkplic = ifaces.mk_plic()
     numsloirqs = ifaces.mk_sloirqsdef()
     ifacedef = ifaces.mk_ext_ifacedef()
+    dma = ifaces.mk_dma_irq()
     with open(soc, "w") as bsv_file:
         bsv_file.write(soct.format(imports, ifdecl, mkfast,
                             slavedecl, mastdecl, mkcon,
-                            inst,
+                            inst, dma,
                             #'', '' #regdef, slavedecl,
                             #'', mkslow, #fnaddrmap, mkslow, mkcon, mkcellcon,
                             #pincon, inst, mkplic,