From: Cesar Strauss Date: Thu, 24 Sep 2020 22:34:28 +0000 (-0300) Subject: Use nmutil simulator module to simplify choosing among engines X-Git-Tag: 24jan2021_ls180~325 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a23ddc7397e91fce1c75014af4bdf1ee2d4c328e;p=soc.git Use nmutil simulator module to simplify choosing among engines --- diff --git a/src/soc/simple/test/test_issuer.py b/src/soc/simple/test/test_issuer.py index 6426d05b..edcfb4f7 100644 --- a/src/soc/simple/test/test_issuer.py +++ b/src/soc/simple/test/test_issuer.py @@ -5,10 +5,7 @@ related bugs: * https://bugs.libre-soc.org/show_bug.cgi?id=363 """ from nmigen import Module, Signal, Cat -if True: - from nmigen.back.pysim import Simulator, Delay, Settle -else: - from nmigen.sim.cxxsim import Simulator, Delay, Settle +from nmutil.sim_tmp_alternative import Simulator, Delay, Settle from nmutil.formaltest import FHDLTestCase from nmigen.cli import rtlil import unittest