mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
fhdl: fix += for empty fragment
This commit is contained in:
parent
a49ecc4331
commit
4b15a84505
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ class Instance:
|
|||
return id(self)
|
||||
|
||||
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.sync = _sl(sync)
|
||||
self.instances = instances
|
||||
|
|
Loading…
Reference in a new issue