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.

Note that this violation does not apply to using a raw * as the argument of a -from/to search filter. Doing so is permissible, as it is equivalent to specifying no -from/to argument at all, and thus does not suffer from any ambiguity of which targets to match.

Recommendation

For any bare collection filter (other than a raw *) that matches multiple object types, explicitly specify the type of the objects to be matched by wrapping the filter in a get_ command.

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™