mrforever Posted May 10, 2013 Report Share Posted May 10, 2013 Hi all, I met one problem when i use the sequence array. The frame of the sequence: v_seq |-----cfg_seq[] |-----slv_seq[] v_sqr |-----cfg_sqr[] |-----slv_sqr[] env |-----sub_env[] |----cfg_agt | |----cfg_sqr | |----cfg_dri |----slv_agt |----slv_sqr |----slv_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; end 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. mrforever Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.