HF RL Explorer

Repair a verified behavior in yosyshq/yosys.

Repair a verified behavior in yosyshq/yosys.: a task in OriGent-RL-Data (Harbor dataset). Yosys can avoid flattening parts of a design by honoring a module's boolean keep hierarchy attribute, but there is no built-in command for marking a selected module with that attribute based on its likely…

The task

Yosys can avoid flattening parts of a design by honoring a module's boolean keep_hierarchy attribute, but there is no built-in command for marking a selected module with that attribute based on its likely post-techmapping size. Users therefore cannot selectively preserve larger modules while allowing the flatten pass…

Part of henryen/OriGent-RL-Data.