projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87f04cb
)
back.pysim: squash one level of hierarchy.
author
whitequark
<cz@m-labs.hk>
Fri, 14 Dec 2018 18:53:21 +0000
(18:53 +0000)
committer
whitequark
<cz@m-labs.hk>
Fri, 14 Dec 2018 18:53:21 +0000
(18:53 +0000)
There's really no point in the "top" node.
nmigen/back/pysim.py
patch
|
blob
|
history
diff --git
a/nmigen/back/pysim.py
b/nmigen/back/pysim.py
index fb234b511c59a3d2f30e38c962f0bf7c0ed67775..47d84fae640ec8000256a81856cd7c5276da5559 100644
(file)
--- a/
nmigen/back/pysim.py
+++ b/
nmigen/back/pysim.py
@@
-295,7
+295,7
@@
class Simulator:
self._domain_signals[domain] = ValueSet()
hierarchy = {}
- def add_fragment(fragment, scope=(
"top",
)):
+ def add_fragment(fragment, scope=()):
hierarchy[fragment] = scope
for subfragment, name in fragment.subfragments:
add_fragment(subfragment, (*scope, name))