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

Back to eFEX documentation
pseudo_orbit_gen.vhd
Go to the documentation of this file.
1 
7 
8 library IEEE;
9 use IEEE.STD_LOGIC_1164.ALL;
10 use IEEE.NUMERIC_STD.ALL;
11 
14  Port (
16  clk :in std_logic;
18  bcn : in std_logic_vector( 4 downto 0 );
20  pseudo_orbit : out std_logic
21  );
24 architecture Behavioral of pseudo_orbit_gen is
25 
26 begin
27 
28  -- This process check the bcn and generate pseudo_orbit if bnc = "11111"
29 
30  process ( clk)
31  begin
32  if clk' event and clk ='1' then
33  if (bcn = "11111") then -- check if bcbn is equal 31
34  pseudo_orbit <= '1'; -- generate single pulse
35  else
36  pseudo_orbit <= '0'; --- not generate
37  end if;
38  end if;
39  end process;
40 
41 
42 end Behavioral;
pseudo orbit gen
in clk std_logic
ttc clock
in bcn std_logic_vector( 4 downto 0)
5 lsb of the bcn kn the data
out pseudo_orbit std_logic
pseudo orbit pulse generated