shanghai1943
-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Events
Posts posted by shanghai1943
-
-
1 hour ago, chr_sue said:
A queue or a dynamic array do not have any content when declared, i.e. there is nothing to randomize. When you have entries in your queue/array you can simply call shuffle. This will randomize the order of the elements in the arrays.
You may not get me. I mean after I specify the size of queue/array, how to randomize the q/array with different values of each element?
-
Hi dears,
Are there any simple ways to randomize a queue (say q1[$]) or an dynamic array (say a1[]) with different value of each element ?
thanks!
-
Hi friends,
May I ask you:
1, what's the difference between uvm_config_db and uvm_resource_db ?
2, in what situation should I use uvm_resource_db ?
3, can uvm_resource_db#(type)::get_by_name()/get_by_type() work? I've tried but seemed not to work.
Thanks
queue/array randomize
in UVM SystemVerilog Discussions
Posted
fine, maybe I've gotten the probable solution with unique constraint.
But welcome you to give other solutions, thanks.