In reply to dave_59:
Sorry, I should have been clear.
I would like to implement the below code using ovm_analysis_imp_decl
analysis_fifo #(apb_trans) dme_fifos[(NUM_LINKS-1):0];
I dont want a fifo style of analysis because, my sb has a local storage immediately on one packet availability I will the data and store in my local ‘q’.
Also we need to have a get logic to pick a data from analysis_fio, where as in ovm_analysis_imp_decl write function will be automatically called.
So let me know, if it is possible to create the analysis port based on the parameter which varies from simulation to simulation.