deal with eint single-interface
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 23 Jul 2018 09:28:10 +0000 (10:28 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 23 Jul 2018 09:28:10 +0000 (10:28 +0100)
src/bsv/interface_decl.py

index 6edaa5ad0be7168d18510bf6f73caed8e3ef1334..1a728fad8db9f6ee4674b19520da729865931651 100644 (file)
@@ -178,7 +178,7 @@ class Interface(PeripheralIface):
                     # NOTice - outen key is removed
             else:
                 name = p['name']
-                if self.single:
+                if name.isdigit(): # HACK!  deals with EINT case
                     name = self.pname(name)
                 _p['name_'] = name
                 _p['name'] = self.pname(p['name'])