vhdl-style-guide/tests/concurrent/rule_002_test_input.fixed.vhd

30 lines
353 B
VHDL

architecture RTL of FIFO is
begin
-- These are passing
a <= b;
a <= when c = '0' else '1';
with z select
a <= b when z = "000",
c when z = "001";
a <=
b;
-- Violation below
a <= b;
a <= when c = '0' else '1';
with z select
a <= b when z = "000",
c when z = "001";
end architecture RTL;