From 696b828d9e451786a08f5cd016cf7a9aec25a8f8 Mon Sep 17 00:00:00 2001 From: Joel Stanley Date: Fri, 15 Jan 2021 13:28:21 +1030 Subject: [PATCH] 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 --- docs/_code/up_counter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2