from migen.fhdl.structure import *
from migen.bus.asmibus import *
from migen.sim.generic import Simulator, TopLevel
-from migen.sim.icarus import Runner
from milkymist.asmicon import *
fragment = dut.get_fragment() + initiator1.get_fragment() + initiator2.get_fragment() + \
logger.get_fragment() + \
Fragment(sim=[end_simulation])
- sim = Simulator(fragment, Runner(), TopLevel("my.vcd"))
+ sim = Simulator(fragment, TopLevel("my.vcd"))
sim.run(700)
main()
from migen.fhdl.structure import *
from migen.bus import wishbone, wishbone2asmi, asmibus
from migen.sim.generic import Simulator, TopLevel
-from migen.sim.icarus import Runner
from milkymist.asmicon import *
conn.get_fragment() + \
logger.get_fragment() + \
Fragment(sim=[end_simulation])
- sim = Simulator(fragment, Runner(), TopLevel("my.vcd"))
+ sim = Simulator(fragment, TopLevel("my.vcd"))
sim.run()
main()
from migen.fhdl.structure import *
from migen.bus.asmibus import *
from migen.sim.generic import Simulator, TopLevel
-from migen.sim.icarus import Runner
from milkymist.asmicon.bankmachine import *
fragment = hub.get_fragment() + initiator.get_fragment() + \
dut.get_fragment() + logger.get_fragment() + completer.get_fragment() + \
Fragment(sim=[end_simulation])
- sim = Simulator(fragment, Runner(), TopLevel("my.vcd"))
+ sim = Simulator(fragment, TopLevel("my.vcd"))
sim.run()
main()
from migen.fhdl.structure import *
from migen.sim.generic import Simulator, TopLevel
-from migen.sim.icarus import Runner
from milkymist.asmicon.refresher import *
logger = CommandLogger(dut.cmd)
granter = Granter(dut.req, dut.ack)
fragment = dut.get_fragment() + logger.get_fragment() + granter.get_fragment()
- sim = Simulator(fragment, Runner())
+ sim = Simulator(fragment)
sim.run(400)
main()
from migen.fhdl.structure import *
from migen.bus.asmibus import *
from migen.sim.generic import Simulator, TopLevel
-from migen.sim.icarus import Runner
from milkymist.asmicon.bankmachine import _AddressSlicer, _SimpleSelector
fragment = hub.get_fragment() + sum([i.get_fragment() for i in initiators], Fragment()) + \
logger.get_fragment() + selector.get_fragment() + completer.get_fragment() + \
Fragment(sim=[end_simulation])
- sim = Simulator(fragment, Runner(), TopLevel("my.vcd"))
+ sim = Simulator(fragment, TopLevel("my.vcd"))
sim.run()
main()
from migen.fhdl.structure import *
from migen.bus import asmibus
from migen.sim.generic import Simulator
-from migen.sim.icarus import Runner
from milkymist.framebuffer import *
dut = Framebuffer(1, port, True)
fragment = hub.get_fragment() + dut.get_fragment()
- sim = Simulator(fragment, Runner())
+ sim = Simulator(fragment)
sim.run(1)
def csr_w(addr, d):