eFEX firmware  1.7.3
ATLAS l1-calo - electron and tau feature extraction firmware for eFEX boards

Back to eFEX documentation
srl32e_226.vhd
Go to the documentation of this file.
1 
7 library ieee;
8 use ieee.std_logic_1164.all;
9 use ieee.std_logic_arith.all;
10 Library UNISIM;
11 use UNISIM.vcomponents.all;
13  entity SRLC32E_226 is
14  port (
16  clk : in std_logic;
18  srl_en : in std_logic;
20  address : in std_logic_vector (4 downto 0);
22  data_in : in std_logic_vector (227 downto 0);
24  data_out : out std_logic_vector (227 downto 0)
25  );
26 
27  end SRLC32E_226;
29 
30  architecture Behavioral of SRLC32E_226 is
31  signal d_i,q_i :std_logic_vector (227 downto 0);
32 
33 begin
34 
35 data_out <= q_i;
36 d_i <= data_in;
37  shift_mux227 : for i in 0 to 227
38  generate
39  SRL132E_inst_227 : SRLC32E
40  generic map (
41  INIT => X"00000000")
42  port map (
43  Q => q_i(i), -- SRL data output
44  Q31=> open, -- SRL cascade output pin
45  A => address, -- 5-bit shift depth select input
46  CE => '1' , --srl_en, -- Clock enable input
47  CLK => CLK, -- Clock input
48  D => d_i(i) -- SRL data input
49  );
50  end generate shift_mux227 ;
51 
52 
53 
54 end Behavioral;
shift register
Definition: srl32e_226.vhd:30
shift register
Definition: srl32e_226.vhd:13
in data_in std_logic_vector( 227 downto 0)
data in
Definition: srl32e_226.vhd:22
in address std_logic_vector( 4 downto 0)
shift depth
Definition: srl32e_226.vhd:20
in clk std_logic
clock
Definition: srl32e_226.vhd:16
out data_out std_logic_vector( 227 downto 0)
data out
Definition: srl32e_226.vhd:25
in srl_en std_logic
enable of shifter
Definition: srl32e_226.vhd:18