From 811a568e151bc04312d48f78ef7f084dc056912b Mon Sep 17 00:00:00 2001 From: Jean THOMAS Date: Mon, 27 Jul 2020 18:54:23 +0200 Subject: [PATCH] Import Delay in gram tests --- gram/test/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gram/test/utils.py b/gram/test/utils.py index 6712429..aa22a39 100644 --- a/gram/test/utils.py +++ b/gram/test/utils.py @@ -9,13 +9,13 @@ import warnings from contextlib import contextmanager from nmigen import * -from nmigen.back.pysim import * +from nmigen.sim.pysim import * from nmigen.hdl.ir import Fragment from nmigen.back import rtlil from nmigen._toolchain import require_tool -__all__ = ["FHDLTestCase", "runSimulation", "wb_read", "wb_write", "PulseCounter"] +__all__ = ["FHDLTestCase", "runSimulation", "wb_read", "wb_write", "PulseCounter", "Delay"] def runSimulation(module, process, vcd_filename="anonymous.vcd", clock=1e-6): sim = Simulator(module) -- 2.30.2