From: Florent Kermarrec Date: Wed, 4 Apr 2018 13:40:53 +0000 (+0200) Subject: gen/sim: fix import to use litex simulator instead of migen simulator X-Git-Tag: 24jan2021_ls180~1717 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d7c7474670b533df18dbdf1c080c98da2d6fad00;p=litex.git gen/sim: fix import to use litex simulator instead of migen simulator --- diff --git a/litex/gen/sim/__init__.py b/litex/gen/sim/__init__.py index e04060e1..853486a6 100644 --- a/litex/gen/sim/__init__.py +++ b/litex/gen/sim/__init__.py @@ -1 +1 @@ -from migen.sim.core import Simulator, run_simulation, passive +from litex.gen.sim.core import Simulator, run_simulation, passive diff --git a/litex/gen/sim/core.py b/litex/gen/sim/core.py index e3db45f6..2ba0cebc 100644 --- a/litex/gen/sim/core.py +++ b/litex/gen/sim/core.py @@ -14,7 +14,8 @@ from migen.fhdl.simplify import MemoryToArray from migen.fhdl.specials import _MemoryLocation from migen.fhdl.module import Module from migen.genlib.resetsync import AsyncResetSynchronizer -from migen.sim.vcd import VCDWriter, DummyVCDWriter + +from litex.gen.sim.vcd import VCDWriter, DummyVCDWriter class ClockState: