entity sequential is
Port ( INPUT : in STD_LOGIC;
CLR : in STD_LOGIC;
CLK : in STD_LOGIC;
Q0 : buffer STD_LOGIC;
Q1 : buffer STD_LOGIC;
RCO : out STD_LOGIC);
end sequential;
architecture Behavioral of sequential is
signal CE0: STD_LOGIC;
signal CE1: STD_LOGIC;
begin
process (CLK)
begin
if CLK'event and CLK='1' then
if CLR='1' then
Q0 <= '0';
elsif CE0 ='1' then
Q0 <= not(Q0);
end if;
end if;
end process;
process (CLK)
begin
if CLK'event and CLK='1' then
if CLR='1' then
Q1 <= '0';
elsif CE1 ='1' then
Q1 <= not(Q1);
end if;
end if;
end process;
end Behavioral;