Advertisement
Guest User

state3

a guest
Oct 27th, 2016
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VHDL 0.95 KB | None | 0 0
  1.            when store3 =>
  2.                    to_clr_ff <= '1';
  3.                if(from_rx_done_tick = '1') then
  4.                   if(from_dout = "01011101") then  
  5.                         state_next <= before_play;
  6.                   else
  7.                         state_next <= store3;
  8.                   if(from_dout = "01000001" or from_dout = "01000010" or from_dout = "01000011" or from_dout = "01000100" or from_dout = "01000101" or from_dout = "01000110" or
  9.                         from_dout = "01000111" or from_dout = "01100001" or from_dout = "01100010" or from_dout = "01100011" or from_dout = "01100100" or from_dout = "01100101" or
  10.                         from_dout = "01100110" or from_dout = "01100111" ) then
  11.                        
  12.                         state_next <= store1;
  13.                    end if;
  14.                   end if;      
  15.                else
  16.                 state_next <= store3;
  17.                end if;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement