TMC-20027: Collection Filter Matching Multiple Types

Description

Violations of this rule identify collections created from a bare search filter instead of by a "get_" command, and match multiple possible object types. Such collections have their types automatically deduced, but it may be a type different than expected. This can occur if different entities share the same name, for example a clock whose name inherits from a port, or if a wildcard can be broadly matched with multiple objects.

Recommendation

For any collection filter that matches multiple object types, explicitly specify the type by using a "get_" command instead of a raw search filter.

Severity

High

Tags

Tag Description
sdc Design rule checks related to SDC validity checking.

Device Family

  • Intel®Cyclone® 10 GX
  • Intel®Arria® 10
  • Intel®Stratix® 10
  • Intel®Agilex™