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=696b828d9e451786a08f5cd016cf7a9aec25a8f8;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)