From b00152c26c140b56851f2d7185141ce13db91dea Mon Sep 17 00:00:00 2001 From: whitequark Date: Fri, 14 Dec 2018 18:53:21 +0000 Subject: [PATCH] back.pysim: squash one level of hierarchy. There's really no point in the "top" node. --- nmigen/back/pysim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nmigen/back/pysim.py b/nmigen/back/pysim.py index fb234b5..47d84fa 100644 --- 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)) -- 2.30.2