sort out flexbus vector pincon
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 30 Jul 2018 07:31:50 +0000 (08:31 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 30 Jul 2018 07:31:50 +0000 (08:31 +0100)
src/bsv/peripheral_gen/base.py
src/bsv/peripheral_gen/flexbus.py

index ee837ab5f2aeffe931cf99f54cfda7d4f1e18ac4..72385cf2b5f5f26f5b3e33ae59b9dd8a23fd4145 100644 (file)
@@ -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(
index 1db196531ad52ac2b3300b77106b13829d94e951..d406a46c247bfdd517d0088f85896d508bdc01ce 100644 (file)
@@ -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)