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

Back to eFEX documentation
nreset_pll.vhd
Go to the documentation of this file.
1 
7 
8 library IEEE;
9 use IEEE.STD_LOGIC_1164.ALL;
10 
12 entity nreset_pll is
13  PORT(
14  --TTC clock
15  clk40 : IN std_logic;
17  enable_pll_rst : IN std_logic;
18  -- ipbus reset
19  rst_ipb : IN std_logic;
21  SYNC_B_CDCE : OUT std_logic
22 
23  );
24 
25  end nreset_pll;
27 architecture Behavioral of nreset_pll is
28 signal data_reg1,data_reg0,SYNC_B_CDCE_int : std_logic;
29 
30 begin
31 
32 
33 
34 reset_gen: entity work.nreset_gen
35  port map (
36  clk => clk40,
37  reset=> rst_ipb,
38  en_rst=>data_reg1 ,
39  nreset => SYNC_B_CDCE_int
40 
41  );
42 
43 CDC :process (clk40,rst_ipb)
44  begin
45  if rst_ipb ='1' then
46  data_reg0 <= '0' ;
47  data_reg1 <= '0';
48  elsif clk40' event and clk40 ='1' then
49  data_reg0 <= enable_pll_rst;
50  data_reg1 <= data_reg0;
51  end if;
52 
53  end process;
54 
55 reg_pip:process (clk40)
56  begin
57 
58  if clk40' event and clk40 ='0' then
59  SYNC_B_CDCE <= SYNC_B_CDCE_int ;
60 
61  end if;
62 
63  end process;
64 
65 
66 
67 end Behavioral;
Reset generation of PLLs.
Definition: nreset_gen.vhd:12
in reset std_logic
reset
Definition: nreset_gen.vhd:19
in en_rst std_logic
reset pll
Definition: nreset_gen.vhd:17
in clk std_logic
clock
Definition: nreset_gen.vhd:15
out nreset std_logic
active low pll reset
Definition: nreset_gen.vhd:22
Reset PLLs.
Definition: nreset_pll.vhd:12
in enable_pll_rst std_logic
pll reset enable
Definition: nreset_pll.vhd:17
out SYNC_B_CDCE std_logic
pll synch_b_CDCE
Definition: nreset_pll.vhd:23