projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10d639d
)
migen/sim/generic: use kwargs to pass parameters to icarus.Runner
author
Florent Kermarrec
<florent@enjoy-digital.fr>
Thu, 24 Jul 2014 12:31:00 +0000
(14:31 +0200)
committer
Sebastien Bourdeauducq
<sb@m-labs.hk>
Thu, 24 Jul 2014 16:17:54 +0000
(10:17 -0600)
migen/sim/generic.py
patch
|
blob
|
history
diff --git
a/migen/sim/generic.py
b/migen/sim/generic.py
index 34f27ba0c274ce55b8f22b5a12658bb619300865..5762f456e6d987d88b6e2ce9c1799be895a00589 100644
(file)
--- a/
migen/sim/generic.py
+++ b/
migen/sim/generic.py
@@
-189,6
+189,6
@@
class Simulator:
def __exit__(self, type, value, traceback):
self.close()
-def run_simulation(fragment, ncycles=None, vcd_name=None,
keep_files=False
):
- with Simulator(fragment, TopLevel(vcd_name), icarus.Runner(
keep_files=keep_file
s)) as s:
+def run_simulation(fragment, ncycles=None, vcd_name=None,
**kwargs
):
+ with Simulator(fragment, TopLevel(vcd_name), icarus.Runner(
**kwarg
s)) as s:
s.run(ncycles)