16 use IEEE.STD_LOGIC_1164.
ALL;
17 USE ieee.std_logic_arith.
all;
18 LIBRARY xil_defaultlib;
39 data_in : in std_logic_vector(31 downto 0);
57 signal data_int,data_int_i,data_temp_i,reg,reg1: std_logic_vector(35 downto 0):=(others => '0');
58 signal data_temp:std_logic_vector(35 downto 0):=(others => '0');
59 signal temp7,temp8,temp9,temp10,temp11,temp12:std_logic_vector(35 downto 0):=(others => '0');
60 signal data_out_int,reg0 : std_logic_vector(227 downto 0);
61 signal cntr_delay: unsigned( 3 downto 0);
62 signal mux_out,mux_out_i,datain_temp:std_logic_vector(36 downto 0):= (others=>'0');
63 signal disperr_error_i, notable_error_i, align_frame_i,crc_error_i: std_logic;
74 data_int_i <= data_temp_i ;
83 data_int <= data_int_i ;
85 data_int <= (others =>'0');
101 reg_mux_out_i:
process (
clk_280)
106 mux_out <= mux_out_i ;
116 temp7 <= mux_out(36)& mux_out(34 downto 0);
125 notable_error_i <= mux_out(32) or temp7(32) or temp8(32) or temp9(32) or temp10(32) or temp11(32) or temp12(32) ;
126 disperr_error_i <= mux_out(33) or temp7(33) or temp8(33) or temp9(33) or temp10(33) or temp11(33) or temp12(33) ;
127 align_frame_i <= temp12(34);
128 crc_error_i <= mux_out(36);
129 data_out_int <= crc_error_i & align_frame_i & disperr_error_i & notable_error_i & mux_out(31 downto 0) & temp7(31 downto 0) & temp8(31 downto 0) & temp9(31 downto 0) & temp10(31 downto 0) & temp11(31 downto 0) & temp12(31 downto 0) ;
in srl_en std_logic
enable of shifter
in data_in std_logic_vector( 36 downto 0)
data in
out data_out std_logic_vector( 36 downto 0)
data out
in address std_logic_vector( 3 downto 0)
shift depth
First Stage Synchronisation of process FPGA.
First Stage Synchronisation of process FPGA.
in clk_280 std_logic
MGT rx clock.
in MGT_Commadet std_logic
MGT commadet.
in latch_enable std_logic
latch enable of 226 bits
in align_frame std_logic
align frame
out data_out std_logic_vector( 227 downto 0)
frame data out of 226 bits
in mux_cntrl std_logic_vector( 3 downto 0)
first stage mux slect bits
in notable_error std_logic
nottable error
in disperr_error std_logic
disperr erro
in data_in std_logic_vector( 31 downto 0)
rx data
out commdet_delay std_logic := '0'
MGT commadet pipe.
in crc_error_in std_logic
crc error
in enable_mgt std_logic
MGT rx data regsiter enable.