eFEX firmware
1.7.3
ATLAS l1-calo - electron and tau feature extraction firmware for eFEX boards
Back to eFEX documentation
Infrastructure
process_Fpga_common
src
Data_Path
latch_enable.vhd
Go to the documentation of this file.
1
6
7
8
library
IEEE
;
9
use
IEEE.STD_LOGIC_1164.
ALL
;
10
USE
ieee.std_logic_arith.
all
;
11
LIBRARY
xil_defaultlib
;
12
13
15
entity
latch_enable
is
16
Port
(
18
clk_280m
:
IN
std_logic
;
20
MGT_COMMADET
:
IN
std_logic
;
22
latch_enable
:
OUT
std_logic
23
24
)
;
25
end
latch_enable
;
27
architecture
Behavioral
of
latch_enable
is
28
29
signal
cntr
:
unsigned
(
3
downto
0
)
:=
"0000"
;
30
31
32
begin
33
34
35
process
(
clk_280m
)
36
37
begin
38
if
clk_280m
'
event
and
clk_280m
=
'
1
'
then
39
latch_enable
<=
'
0
'
;
40
cntr
<=
cntr
+
1
;
41
if
(
MGT_COMMADET
=
'
1
'
)
then
42
cntr
<=
"0010"
;
43
end
if
;
44
45
if
(
cntr
=
6
and
MGT_COMMADET
=
'
0
'
)
then
46
latch_enable
<=
'
1
'
;
47
cntr
<=
"0000"
;
48
end
if
;
49
end
if
;
50
end
process
;
51
52
53
end
Behavioral;
latch_enable.Behavioral
latch enable
Definition:
latch_enable.vhd:27
latch_enable
latch enable
Definition:
latch_enable.vhd:15
latch_enable.MGT_COMMADET
in MGT_COMMADET std_logic
mgt commadet
Definition:
latch_enable.vhd:20
latch_enable.clk_280m
in clk_280m std_logic
rx clock
Definition:
latch_enable.vhd:18
latch_enable.latch_enable
out latch_enable std_logic
latch enable
Definition:
latch_enable.vhd:24
Generated on Tue Nov 11 2025 09:44:32 for eFEX firmware by
1.9.1