We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1ec45e commit ba78ce1Copy full SHA for ba78ce1
veriloggen/lib/__init__.py
@@ -14,6 +14,5 @@
14
## Please add import notations here for additional library
15
from bundle import Bundle
16
from fsm import FSM
17
-from pipeline import Pipeline
18
import simulation
19
veriloggen/module.py
@@ -442,5 +442,10 @@ def __call__(self, false_scope):
442
443
#-------------------------------------------------------------------------------
444
def connect_same_name(*args):
445
- return [ (a.name, a) for a in args ]
446
-
+ ret = []
+ for arg in args:
447
+ if isinstance(arg, (list, tuple)):
448
+ ret.extend([ (a.name, a) for a in arg ])
449
+ else:
450
+ ret.append( (arg.name, arg) )
451
+ return ret
0 commit comments