Skip to content

Commit bb6a233

Browse files
committed
Fix commit 8313d6e.
1 parent 8313d6e commit bb6a233

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nmigen/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from .hdl.ir import Fragment
44
from .back import rtlil, cxxrtl, verilog
5-
from .sim import pysim
5+
from .sim import Simulator
66

77

88
__all__ = ["main"]
@@ -67,7 +67,7 @@ def main_runner(parser, args, design, platform=None, name="top", ports=()):
6767

6868
if args.action == "simulate":
6969
fragment = Fragment.get(design, platform)
70-
sim = pysim.Simulator(fragment)
70+
sim = Simulator(fragment)
7171
sim.add_clock(args.sync_period)
7272
with sim.write_vcd(vcd_file=args.vcd_file, gtkw_file=args.gtkw_file, traces=ports):
7373
sim.run_until(args.sync_period * args.sync_clocks, run_passive=True)

0 commit comments

Comments
 (0)