From 09b32dfd2d445013033c7766a0b4187ea105ee3e Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 30 Jul 2018 08:31:50 +0100 Subject: [PATCH] sort out flexbus vector pincon --- src/bsv/peripheral_gen/base.py | 1 + src/bsv/peripheral_gen/flexbus.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bsv/peripheral_gen/base.py b/src/bsv/peripheral_gen/base.py index ee837ab..72385cf 100644 --- a/src/bsv/peripheral_gen/base.py +++ b/src/bsv/peripheral_gen/base.py @@ -237,6 +237,7 @@ else""" else: n2 = "{0}{1}".format(name, count) sync = '{0}_{1}_sync'.format(n2, pname) + n = "{0}.{1}".format(n, fname) ret.append("mkConnection({1}.put,\n\t\t\t{0});".format( ps, sync)) ret.append("mkConnection({1},\n\t\t\t{0}.get);".format( diff --git a/src/bsv/peripheral_gen/flexbus.py b/src/bsv/peripheral_gen/flexbus.py index 1db1965..d406a46 100644 --- a/src/bsv/peripheral_gen/flexbus.py +++ b/src/bsv/peripheral_gen/flexbus.py @@ -66,6 +66,6 @@ class flexbus(PBase): ('ad_out_en', 'm_OE32n', 'out'), ]: ret.append(self._mk_vpincon(name, count, typ, ptype, pname, - stype)) + "flexbus_side.{0}".format(stype))) return '\n'.join(ret) -- 2.30.2