VHDL235: Signal assignments should not contain multiple waveforms

Summary

Count: 1

ReliabilitySecurityMaintainabilityCode attributeEffort to fixTags
HIGH--Intentionality | Logical10minsynthesis, do254, vscode, linter, do254-ss5

Description

Multiple waveforms are not synthesizable. Only the first waveform is taken into account for synthesis leading to a mismatch between synthesis and simulation. Thus, multiple waveforms should not be used in synthesizable code.

Noncompliant code example

a <= '1' AFTER clk, '0' AFTER 4 * clk_prd;

Compliant solution

a <= '0' AFTER 4 * clk_prd;

Parameters

No parameters.