Multi MEMx Counter
- ENTITY CNT_MULTI_MEMX IS
Implements statistics counters for multiple Channels using MEMX.
GenericsGeneric
Type
Default
Description
DEVICE
string
“STRATIX10”
Traget device
CHANNELS
natural
8
Total number of Counter Channels
CNT_WIDTH
natural
64
Counter width
INC_WIDTH
natural
1
Increment width
INC_FIFO_SIZE
natural
512
Size of input increments FIFO Set to 0 to remove the FIFO
Port
Type
Mode
Description
=====
Clock and Reset
=====
=====
CLK
std_logic
in
RESET
std_logic
in
=====
Other interfaces
=====
=====
INC_CH
std_logic_vector(log2(CHANNELS)-1 downto 0)
in
Counter Increment
INC_VAL
std_logic_vector(INC_WIDTH-1 downto 0)
in
INC_VLD
std_logic
in
INC_RDY
std_logic
out
RST_CH
std_logic_vector(log2(CHANNELS)-1 downto 0)
in
Reset order
RST_VLD
std_logic
in
RD_CH
std_logic_vector(log2(CHANNELS)-1 downto 0)
in
Read order: When RD_VLD=’1’ and RST_VLD=’1’ and RD_CH=RST_CH the old value (before reset) will appear on RD_VAL
RD_VLD
std_logic
in
RD_VAL
std_logic_vector(CNT_WIDTH-1 downto 0)
out
1 CLK latency