projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2b04d7
)
Give the top level scope a name to fix VCD hierarchy.
author
Adam Greig
<adam@adamgreig.com>
Sun, 6 Jan 2019 00:10:37 +0000
(
00:10
+0000)
committer
whitequark
<whitequark@whitequark.org>
Sun, 6 Jan 2019 00:10:37 +0000
(
00:10
+0000)
nmigen/back/pysim.py
patch
|
blob
|
history
diff --git
a/nmigen/back/pysim.py
b/nmigen/back/pysim.py
index a1e43a5f8a4c5a873399891ae253b092bd7962f5..fa90461d92087eb708f8a7e182ef3adb3ff55657 100644
(file)
--- a/
nmigen/back/pysim.py
+++ b/
nmigen/back/pysim.py
@@
-448,7
+448,7
@@
class Simulator:
add_fragment(subfragment, (*scope, "#{}".format(index)))
else:
add_fragment(subfragment, (*scope, name))
- add_fragment(root_fragment)
+ add_fragment(root_fragment
, scope=("top",)
)
def add_signal(signal):
if signal not in self._signals: