fhdl/verilog: fix spurious clock/reset signals on multiple calls to convert()

This commit is contained in:
Sebastien Bourdeauducq 2013-01-23 15:13:06 +01:00
parent 314a6c7743
commit 3201554f76
1 changed files with 3 additions and 1 deletions

View File

@ -279,11 +279,13 @@ def _printinit(f, ios, ns):
r += "end\n\n"
return r
def convert(f, ios=set(), name="top",
def convert(f, ios=None, name="top",
clock_domains=None,
return_ns=False,
memory_handler=verilog_mem_behavioral.handler,
display_run=False):
if ios is None:
ios = set()
if clock_domains is None:
clock_domains = dict()
for d in f.get_clock_domains():