diff --git a/setup.py b/setup.py index d11786ab..bc1838cb 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ from setuptools import setup, find_packages from pybind11.setup_helpers import Pybind11Extension, build_ext -__version__ = "0.2.7" +__version__ = "0.2.8" ################################################################################# # parse_reqs, long_desc from https://github.com/siliconcompiler/siliconcompiler # diff --git a/switchboard/network.py b/switchboard/network.py index a865e6c9..30cf5a6b 100644 --- a/switchboard/network.py +++ b/switchboard/network.py @@ -99,7 +99,10 @@ def __init__(self, intf_def=None, destination=None, **kwargs): @property def wire_name(self): if 'port' in self.kwargs: - return f'port_{self.kwargs["port"]}' + retval = f'port_{self.kwargs["port"]}' + if self.destination is not None: + retval += f'_{self.destination}' + return retval class SbInst: