VHDL236: Vector assignments should not be hardcoded

Summary

Count: 1

ReliabilitySecurityMaintainabilityCode attributeEffort to fixTags
--MEDIUMConsistency | Conventional5minsynthesis, do254, vscode, simulation, linter, do254-cp4

Description

Noncompliant code example

a <= "00000000";

Compliant solution

a <= (others => '0');

Vector assignment should be done in a way that is independent of the size of the vector. This limits the impact of changing vector sizes.

Parameters

No parameters.