vhdl-style-guide/tests/case/rule_005_test_input.fixed.vhd

79 lines
865 B
VHDL

architecture ARCH of ENTITY is
begin
PROC_1 : process (a, b, c) is
begin
case boolean_1 is
when STATE_1 =>
a <= b;
b <= c;
c <= d;
when others =>
z <= a;
end case;
end process PROC_1;
PROC_2 : process (a, b, c) is
begin
case boolean_1 is
when STATE_1 =>
a <= b;
b <= c;
c <= d;
when STATE_1 =>
a <= b;
b <= c;
c <= d;
when others =>
z <= a;
when others =>
z <= a;
end case;
end process PROC_2;
gen_label : case boolean_1 generate
when STATE_1=>
a <= b;
b <= c;
c <= d;
when STATE_1 =>
a <= b;
b <= c;
c <= d;
when others=>
z <= a;
when others =>
z <= a;
end generate;
end architecture ARCH;