Skip to content

Commit

Permalink
Fix automatic naming of queues for TCP connections with multiple dest…
Browse files Browse the repository at this point in the history
…inations (#242)
  • Loading branch information
sgherbst authored Jun 19, 2024
1 parent 614495e commit 1e816d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 #
Expand Down
5 changes: 4 additions & 1 deletion switchboard/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1e816d8

Please # to comment.