Repair a verified behavior in yosyshq/yosys.
Repair a verified behavior in yosyshq/yosys.: a task in OriGent-RL-Data (Harbor dataset). The keep hierarchy command's -min cost <min cost mode currently uses the module-cost estimate that recursively sums all cells in a module and all of its submodules. This estimate does not account for a keep…
The task
The `keep_hierarchy` command's `-min_cost <min_cost>` mode currently uses the module-cost estimate that recursively sums all cells in a module and all of its submodules. This estimate does not account for a `keep_hierarchy` attribute already placed on a submodule: the contents of that preserved submodule are still…
Part of henryen/OriGent-RL-Data.