![]() |
eFEX firmware
1.7.3
ATLAS l1-calo - electron and tau feature extraction firmware for eFEX boards
|
Up/Down counter. More...
Entities | |
| Behavioral | architecture |
| Up/Down counter. More... | |
Libraries | |
| IEEE | |
Use Clauses | |
| STD_LOGIC_1164 | |
| std_logic_arith | |
Generics | |
| width | integer := 16 |
Ports | ||
| CE | in | STD_LOGIC |
| Enable signal input. | ||
| CLK | in | STD_LOGIC |
| Clock signal input. | ||
| RST | in | STD_LOGIC |
| Reset signal input. | ||
| UP | in | STD_LOGIC |
| Count UP signal input. | ||
| DOWN | in | STD_LOGIC |
| Count DOWN signal input. | ||
| Q | out | STD_LOGIC_VECTOR ( width- 1 downto 0 ) |
| Counter Output signal. | ||
Up/Down counter.
This is a generic Up/Down counter. The frame counter is incremented when EN and UP signals are asserted, and decremented when EN and DOWN signals are asserted. If Read and Write happen on the same clock cycle, the ouptut of counter does not change.
Definition at line 18 of file cntr_up_dn_generic.vhd.
1.9.1