Package: ti_data_fifo_pkg
- File: ti_data_fifo_pkg.vhd
Functions
- uvvm_fifo_init ( buffer_idx : natural;
buffer_size_in_bits : natural ) return ()
Description
uvvm_fifo_init
This procedure allocates space in the buffer at the given buffer_idx.
- Parameters:
- buffer_idx - The index of the FIFO (natural)
that shall be initialized.
- buffer_size_in_bits (natural) - The size of the FIFO
- uvvm_fifo_put ( buffer_idx : natural;
data : std_logic_vector ) return ()
Description
uvvm_fifo_put
This procedure puts data into a FIFO with index buffer_idx.
The size of the data is unconstrained, meaning that
it can be any size. Pushing data with a size that is
larger than the FIFO size results in wrapping, i.e.,
that when reaching the end the data remaining will over-
write the data that was written first.
- Parameters:
- buffer_idx - The index of the FIFO (natural)
that shall be pushed to.
- data - The data that shall be pushed (slv)
- uvvm_fifo_flush ( buffer_idx : natural ) return ()
Description
uvvm_fifo_flush
This procedure empties the FIFO given
by buffer_idx.
- Parameters:
- buffer_idx - The index of the FIFO (natural)
that shall be flushed.
- uvvm_fifo_deallocate ( dummy : t_void ) return ()
Description
uvvm_fifo_deallocate
This procedure deallocates all the FIFOs
in the buffer.