Analysis FIFO

Hi,

In case ofmultiple Incoming transaction streams scenario
Do we need to use imp_ suffixes defined by macro (uvm_analysis_imp_dec().
or tlm_analyis_fifo ****? which one is useful in which sceanrio.
Please help with one use case model.

Thanks in Advance

Regards,
Mechanic

In reply to Mechanic:

It depends on how (or if) you need to identify which stream each transaction is coming from.

Certainly if the transactions have different incompatible types, you must use seperate imps or seperate fifos.

BTW, a tlm_analyis_fifo implements a write method that does a push to the fifo. The choice of whether to use an analysis fifo or implement your own write method depends on the interaction between the different streams. If you need to wait for all streams to send a transaction before do anything, then you need to use fifos.