The-OpenROAD-Project / The-OpenROAD-Project/OpenROAD

mpl: update cluster types

Open
#9,463 11 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.