Skip to content

Commit 9fcea6e

Browse files
enjoy-digitalsbourdeauducq
authored andcommittedJul 24, 2014
migen/sim/generic: use kwargs to pass parameters to icarus.Runner
1 parent 10d639d commit 9fcea6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎migen/sim/generic.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,6 @@ def __enter__(self):
189189
def __exit__(self, type, value, traceback):
190190
self.close()
191191

192-
def run_simulation(fragment, ncycles=None, vcd_name=None, keep_files=False):
193-
with Simulator(fragment, TopLevel(vcd_name), icarus.Runner(keep_files=keep_files)) as s:
192+
def run_simulation(fragment, ncycles=None, vcd_name=None, **kwargs):
193+
with Simulator(fragment, TopLevel(vcd_name), icarus.Runner(**kwargs)) as s:
194194
s.run(ncycles)

0 commit comments

Comments
 (0)
Please sign in to comment.