Skip to content

mpl: update cluster types #9463

@joaomai

Description

@joaomai

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions