projects
/
soclayout.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c1a134
)
reduce pmask to stop unconnected bits
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 21 Feb 2020 13:05:30 +0000
(13:05 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 21 Feb 2020 13:05:30 +0000
(13:05 +0000)
examples/part_sig_add.py
patch
|
blob
|
history
diff --git
a/examples/part_sig_add.py
b/examples/part_sig_add.py
index b6af3b3bf01602622b809bdd2f0a1b0f4d813818..532b216fc782cbf02026e4eb4c4be05db060a340 100644
(file)
--- a/
examples/part_sig_add.py
+++ b/
examples/part_sig_add.py
@@
-6,7
+6,7
@@
from nmigen import Signal
def test():
width = 16
- pmask = Signal(
4
) # divide into 4-bits
+ pmask = Signal(
3
) # divide into 4-bits
module = TestAddMod2(width, pmask)
sim = create_ilang(module,
[pmask,