docs: Update up_counter to avoid deprecation warning
nmigen/docs/_code/up_counter.py:44: DeprecationWarning: instead of nmigen.back.pysim.*, use nmigen.sim.* from nmigen.back.pysim import Simulator
This commit is contained in:
parent
3a4b61c16e
commit
490fca5745
|
@ -41,7 +41,7 @@ class UpCounter(Elaboratable):
|
|||
|
||||
return m
|
||||
# --- TEST ---
|
||||
from nmigen.back.pysim import Simulator
|
||||
from nmigen.sim import Simulator
|
||||
|
||||
|
||||
dut = UpCounter(25)
|
||||
|
|
Loading…
Reference in a new issue