fifo

Parameters


WIDTH u32
TYPE type
DEPTH u32
THRESHOLD u32
FLAG_FF_OUT bit
DATA_FF_OUT bit
RESET_RAM bit
RESET_DATA_FF bit
CLEAR_DATA bit
PUSH_ON_CLEAR bit
MATCH_COUNT_WIDTH u32

Ports


i_clk input clock
i_rst input reset
i_clear input logic
o_empty output logic
o_almost_full output logic
o_full output logic
o_word_count output COUNTER
i_push input logic
i_data input TYPE
i_pop input logic
o_data output TYPE