variable counter4 :integer range 0 to 3:=0; begin
if(freq12k'event and freq12k='1') then counter4:=counter4+1; case counter4 is
when 0 => wei <= \ when 1 => wei <= \ when 2 => wei <= \ when 3 => wei <= \ when others => null; end case; end if;
end process p4;
end architecture abc;
21 / 21