We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crashes with DeadlineError
DeadlineError
code (probably can be reduced more):
from nmigen import Signal, Module, Elaboratable from nmigen.back.pysim import Simulator, Delay class Mod(Elaboratable): def __init__(self): self.i = Signal() self.o = Signal() def elaborate(self, platform): m = Module() m.d.comb += self.o.eq(self.i) return m dut = Mod() with Simulator(dut, traces=[dut.i, dut.o]) as sim: def process(): yield dut.i.eq(0) yield Delay(1e-8) yield dut.i.eq(1) yield Delay(1e-8) yield yield Delay(1e-8) sim.add_clock(2e-8) sim.add_sync_process(process) sim.run()
The text was updated successfully, but these errors were encountered:
I believe this is the same as #28.
Sorry, something went wrong.
No branches or pull requests
crashes with
DeadlineError
code (probably can be reduced more):
The text was updated successfully, but these errors were encountered: