12 use ieee.std_logic_1164.
all;
13 use ieee.std_logic_arith.
all;
22 mgt_enable : in std_logic;
26 rxdata : in std_logic_vector (31 DOWNTO 0);
37 crc_rdy : out std_logic
54 signal current_state : state_type;
63 current_state <= idle;
70 elsif (clk'event and clk = '1') then
78 current_state <= idle;
107 current_state <= st1;
112 current_state <= idle;
115 end process clocked_proc;
117 end architecture fsm;
out check_crc std_logic
check crc ready
out start_crc std_logic
start calculating crc
in clk std_logic
MGT rx clock of 160MHz.
in rxdata std_logic_vector( 31 DOWNTO 0)
MGT TTC rx data.
in mgt_commdet std_logic
MGT commadet.
out latch_crc std_logic
latch crc data
out rxdata_crc_in std_logic_vector( 8 DOWNTO 0)
incoming data crc
out crc_data std_logic_vector( 31 DOWNTO 0)
crc input data