From: Luke Kenneth Casson Leighton Date: Sat, 28 Jul 2018 04:43:17 +0000 (+0100) Subject: split out slow memory map to separate file X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b5addf80ccc5895cccd948be9016017f75fcd9e1;p=pinmux.git split out slow memory map to separate file --- diff --git a/src/bsv/pinmux_generator.py b/src/bsv/pinmux_generator.py index 6cf1f2d..f519435 100644 --- a/src/bsv/pinmux_generator.py +++ b/src/bsv/pinmux_generator.py @@ -123,6 +123,7 @@ def write_slow(slow, slowt, slowmf, slowmt, p, ifaces, iocells): numsloirqs = ifaces.mk_sloirqsdef() ifacedef = ifaces.mk_ext_ifacedef() ifacedef = ifaces.mk_ext_ifacedef() + with open(slow, "w") as bsv_file: bsv_file.write(slowt.format(imports, ifdecl, regdef, slavedecl, fnaddrmap, mkslow, mkcon, mkcellcon,