From: Joel Stanley Date: Fri, 15 Jan 2021 02:58:21 +0000 (+1030) Subject: docs: Update up_counter to avoid deprecation warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=490fca57457b16421f7b3f2c7812bb229b17744a;p=nmigen.git 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 --- diff --git a/docs/_code/up_counter.py b/docs/_code/up_counter.py index 227b3c5..6f49360 100644 --- a/docs/_code/up_counter.py +++ b/docs/_code/up_counter.py @@ -41,7 +41,7 @@ class UpCounter(Elaboratable): return m # --- TEST --- -from nmigen.back.pysim import Simulator +from nmigen.sim import Simulator dut = UpCounter(25)