Contact us Start a Trial

Non-standard cross item declaration

Some tools accept non-standard compliant cross item declarations that are not resolved to coverpoint or variable identifiers. Defining cross items based on complex expressions is not LRM compliant and is not accepted by all toolchains.

Sigasi warns whenever the non-standard syntax is used (rule 183) and offers a Quick Fix to introduce an explicit coverpoint which resolves the compatibility problem.

nonStandardCross : cross item.x, item.y {
  option.at_least = 5;
}

x : coverpoint item.x;
y : coverpoint item.y;
compliantCross : cross x, y {
  option.at_least = 5;
}

Rule configuration

This rule can be disabled for your project, or its severity and parameters can be modified in the project linting settings. Alternatively, it can be manually configured with the following template:

183/severity/${path}={error|warning|info|ignore}