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

Back to eFEX documentation
led_stretch.vhd
Go to the documentation of this file.
1 
6 -- Pulse generator
7 
8 library IEEE;
9 use IEEE.std_logic_1164.all;
10 
12 ENTITY led_stretch IS
13  PORT(
15  input : in std_logic;
17  clk : in std_logic;
19  output : out std_logic
20  );
21 END led_stretch ;
23 ARCHITECTURE rtl OF led_stretch IS
24 
25 signal Reg1,Reg2 : std_logic := '0';
26 
27 
28 BEGIN
29 
30  process (clk)
31 
32  begin
33 
34  if rising_edge(clk) THEN
35  Reg1 <= input;
36  Reg2 <= Reg1;
37  end if;
38 
39  end process;
40 
41 output <= Reg2;
42 
43 
44 
45 END rtl;
46 
47 
48 
led stretch
Definition: led_stretch.vhd:23
led stretch
Definition: led_stretch.vhd:12
in clk std_logic
clock
Definition: led_stretch.vhd:17
in input std_logic
input
Definition: led_stretch.vhd:15
out output std_logic
output
Definition: led_stretch.vhd:20