From 4ba64c4c51e83f56a1a49579b646f2225b124457 Mon Sep 17 00:00:00 2001 From: whitequark Date: Fri, 6 Nov 2020 01:54:25 +0000 Subject: [PATCH] Fix commit 8313d6e7. --- nmigen/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nmigen/cli.py b/nmigen/cli.py index 7d5ed89..51e9a95 100644 --- a/nmigen/cli.py +++ b/nmigen/cli.py @@ -2,7 +2,7 @@ import argparse from .hdl.ir import Fragment from .back import rtlil, cxxrtl, verilog -from .sim import pysim +from .sim import Simulator __all__ = ["main"] @@ -67,7 +67,7 @@ def main_runner(parser, args, design, platform=None, name="top", ports=()): if args.action == "simulate": fragment = Fragment.get(design, platform) - sim = pysim.Simulator(fragment) + sim = Simulator(fragment) sim.add_clock(args.sync_period) with sim.write_vcd(vcd_file=args.vcd_file, gtkw_file=args.gtkw_file, traces=ports): sim.run_until(args.sync_period * args.sync_clocks, run_passive=True) -- 2.30.2