back.pysim: squash one level of hierarchy.
There's really no point in the "top" node.
This commit is contained in:
		
							parent
							
								
									70ebc6f2c1
								
							
						
					
					
						commit
						fe5fb34fae
					
				|  | @ -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)) | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 whitequark
						whitequark