From: Adam Greig Date: Sun, 6 Jan 2019 00:10:37 +0000 (+0000) Subject: Give the top level scope a name to fix VCD hierarchy. X-Git-Tag: working~96 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=560bb007cc3c7e5921ac353311dddb49f5da180e;p=nmigen.git Give the top level scope a name to fix VCD hierarchy. --- diff --git a/nmigen/back/pysim.py b/nmigen/back/pysim.py index a1e43a5..fa90461 100644 --- 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: