8 USE ieee.std_logic_1164.
all;
9 USE ieee.std_logic_arith.
all;
29 parity_check:
process(clk)
30 variable parity: std_logic := '0';
34 if clk' event and clk ='1' then
37 if data_in(i) = '1' then
47 END ARCHITECTURE spec;
out even_parity std_logic
parity bit
in Clk std_logic
clock 125 MHz
in Data_in std_logic_vector( 9 downto 0)
master rx data with parity bit
out Data_out std_logic_vector( 8 downto 0)
master rx data