vhdl-style-guide/tests/concurrent/rule_004_test_input.vhd

27 lines
335 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";
-- 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;