Jump to content

How to do multiple writes using uvm_hdl_force


Recommended Posts

Hi,

 

I my using uvm_hdl_force("path",data) to configure the registers of the design. But the problem is they are large in number so i want to loop them in.

 

for(int i=0; i<8; i++) begin

 for(int j=0; j<8; j++) begin

 

uvm_hdl_force("DUt.abc.pkt.reg_0.w[1]" , data);

 

end

end

 

I want to replace 0 with i and 1 with j . Is their a simple way to do it.

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.

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