Jump to content

Problem about sequence array

Recommended Posts

Hi all,


I met one problem when i use the sequence array. The frame of the sequence:













                    |            |----cfg_sqr

                    |            |----cfg_dri





Connect the sqrs

foreach (sub_env[i]) begin
   v_sqr.cfg_sqr[i] = sub_env[i].cfg_agt.cfg_sqr;
   v_sqr.slv_sqr[i] = sub_env[i].slv_agt.slv_sqr;



the size of the sequence array is more than 1, when i run the v_seq, I found that only cfg_seq[0] and slv_seq[0] could generate the specified item with right constraints in macro `uvm_do_with.  Did anybody encounter the same problem and how did you solve it?


Thanks in advance.


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...