mirror of
https://github.com/YosysHQ/sby.git
synced 2025-04-06 14:24:08 +00:00
Fix design_hierarchy handling of $paramod cells
This commit is contained in:
parent
a78eaa57db
commit
4b512668b2
|
@ -108,7 +108,7 @@ def design_hierarchy(filename):
|
|||
cells = design_json["modules"][module_name]["cells"]
|
||||
for cell_name, cell in cells.items():
|
||||
sub_hierarchy=f"{hierarchy}/{instance_name}" if hierarchy else instance_name
|
||||
if cell["type"][0] != '$':
|
||||
if cell["type"][0] != '$' or cell["type"].startswith("$paramod"):
|
||||
mod.submodules[cell_name] = make_mod_hier(cell_name, cell["type"], hierarchy=sub_hierarchy)
|
||||
if cell["type"] in ["$assume", "$assert", "$cover", "$live"]:
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue