Case state is
When idle =>
if ( trigger = '1' and formatdata( 31 downto 28) = x"6" and formatdata( 27 downto 16) = x"4D3" and x"06c8" >= formatdata( 15 downto 0 ) and formatdata( 15 downto 0 ) >= x"06C6")then
………………………………..
elsif ( trigger = '1' and formatdata( 31 downto 28) = x"6" and formatdata( 27 downto 16) = x"4D3" and x"06c8" >= formatdata( 15 downto 0 ) and formatdata( 15 downto 0 ) >= x"06C6")then
………………………………..
end if;
When output =>
……………………
When others =>
…………………...
End case;