projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fda555
)
docs: Update up_counter to avoid deprecation warning
author
Joel Stanley
<joel@jms.id.au>
Fri, 15 Jan 2021 02:58:21 +0000
(13:28 +1030)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 31 Dec 2021 15:25:46 +0000
(15:25 +0000)
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
patch
|
blob
|
history
diff --git
a/docs/_code/up_counter.py
b/docs/_code/up_counter.py
index 227b3c5f82475ed065b6f368b3aaea8ef36518c1..6f49360fea11f8be563b1e989d18b0ceb6c28a0b 100644
(file)
--- 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.py
sim import Simulator
+from nmigen.sim import Simulator
dut = UpCounter(25)