Jump to content

Analysis port that in dynamic array

Recommended Posts

Hi guys,


I need to create a dynamic array for the analysis port in scoreboard, the reason I use dynamic array is multiple identical instances are created during run time.


The implementation of the scoreboard will be:


uvm_analysis_imp_data #(data_trans,scoreboard)  received_data[];


In the build phase I will first allocate space for dynamic array:


then make following call inside a loop:



alright, compile pass and do nothing test pass.


here comes my question:

if I use void write_data(data_trans data); function to process the received data.

HOW can i distinguish that from which ap port the data is received?

assuming I cant tell from the received package.



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...