fhdl: fix += for empty fragment
This commit is contained in:
parent
a49ecc4331
commit
4b15a84505
|
@ -194,7 +194,7 @@ class Instance:
|
||||||
return id(self)
|
return id(self)
|
||||||
|
|
||||||
class Fragment:
|
class Fragment:
|
||||||
def __init__(self, comb=StatementList(), sync=StatementList(), instances=[], pads=set()):
|
def __init__(self, comb=[], sync=[], instances=[], pads=set()):
|
||||||
self.comb = _sl(comb)
|
self.comb = _sl(comb)
|
||||||
self.sync = _sl(sync)
|
self.sync = _sl(sync)
|
||||||
self.instances = instances
|
self.instances = instances
|
||||||
|
|
Loading…
Reference in New Issue