gpakillsme Posted November 26, 2013 Report Share Posted November 26, 2013 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: received_data=new[some_value]; then make following call inside a loop: received_data=new("....."); 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. Quote Link to comment Share on other sites More sharing options...
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.