Professional Documents
Culture Documents
(remove it)
end if;
when b=>
if(seq_in='0')then
seq_out<='0';
state<=d;
else
seq_out<='0';
state<=b;
end if;
when c=>
if(seq_in='0')then
seq_out<='0';
state<=c;
else
seq_out<='0';
state<=e;
end if;
when d=>
if(seq_in='0')then
seq_out<='0';
state<=f;
else
seq_out<='0';
state<=e;
end if;
when e=>
if(seq_in='0')then
seq_out<='0';
state<=g;
else
seq_out<='0';
state<=b;
end if;
when f=>
if(seq_in='0')then
seq_out<='1';
state<=a;
else
seq_out<='0';
state<=e;
end if;
when g=>
if(seq_in='0')then
seq_out<='0';
state<=c;
else
seq_out<='0';
state<=e;
end if;
when others=>
null;
end case;
end if;
end process;
end Behavioral;