The-OpenROAD-Project / The-OpenROAD-Project/OpenROAD
mpl: update cluster types
Open
@joaomai is already working on this.
Since Jun 24, 2026.
mpl
- Dominant language
- Verilog
- Stars
- 3.1k
- Forks
- 1k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 136
Description
Description
Clusters can be of 3 types nowadays (standard cell, mixed and hard macro) while having many isSomething methods to cover IOs, pins and specialized macro structures.
bool is_cluster_of_unplaced_io_pins_{false};
bool is_cluster_of_unconstrained_io_pins_{false};
bool is_io_pad_cluster_{false};
bool is_io_bundle_{false};
bool is_array_of_interconnected_macros_{false};
bool is_macro_array_{false};
Suggested Solution
Consolidate the many implicit cluster types under the ClusterType enum instad of relying on isSomething methods.
Additional Context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.