![]() |
eFEX firmware
1.7.3
ATLAS l1-calo - electron and tau feature extraction firmware for eFEX boards
|
Counter with double enable. More...
Entities | |
| Behavioral | architecture |
| Counter with double enable. More... | |
Libraries | |
| IEEE | |
Use Clauses | |
| STD_LOGIC_1164 | |
| NUMERIC_STD | |
Generics | |
| DEPTH | integer := 16 |
Ports | ||
| clk | in | std_logic |
| clock | ||
| enable1 | in | std_logic |
| enable 1 | ||
| enable2 | in | std_logic := ' 1 ' |
| enable 2 | ||
| count | out | std_logic_vector ( DEPTH- 1 downto 0 ) |
| counter value | ||
| saturated | out | std_logic |
| counter value | ||
| reset | in | std_logic |
| reset | ||
Counter with double enable.
If the maximum is reache dthe counter will hold its value
Definition at line 12 of file counter.vhd.
1.9.1