From: whitequark Date: Fri, 14 Dec 2018 18:53:21 +0000 (+0000) Subject: back.pysim: squash one level of hierarchy. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b00152c26c140b56851f2d7185141ce13db91dea;p=nmigen.git back.pysim: squash one level of hierarchy. There's really no point in the "top" node. --- 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))