From b5addf80ccc5895cccd948be9016017f75fcd9e1 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 28 Jul 2018 05:43:17 +0100 Subject: [PATCH] split out slow memory map to separate file --- src/bsv/pinmux_generator.py | 1 + 1 file changed, 1 insertion(+) 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, -- 2.30.2