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-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8cf52683f40d3bf892785da2ac5317c5dc62942d;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: