mirror of
https://github.com/myhdl/myhdl.git
synced 2025-01-24 21:52:56 +08:00
*** empty log message ***
This commit is contained in:
parent
965b83d95a
commit
52c9a8f776
@ -205,10 +205,10 @@ def _getGens(arg):
|
||||
else:
|
||||
l = []
|
||||
for elt in arg:
|
||||
if type(arg) is GeneratorType:
|
||||
l.append(arg)
|
||||
elif type(arg) is _AlwaysComb:
|
||||
l.append(arg.gen)
|
||||
if type(elt) is GeneratorType:
|
||||
l.append(elt)
|
||||
elif type(elt) is _AlwaysComb:
|
||||
l.append(elt.gen)
|
||||
return l
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user