|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
Firstly, The computer can not support Chinese at present, So The post is in English! Don't blame on me!
A test(named test0) depends on the following things:
Tr---------seq0---------vseq0-------test0
The code has been described as bellow:
In Seq0's body(vseq0 has got some sameness):
Tr tr0;
`uvm_create(tr0);
tr0.some_static_variable=3'b001;
`uvm_rand_send_with(tr0, { tr0.rand_variable==int_value;});
But the int_value can not pass int the tr0 which diver has got?
when the rand variable's mode disable, uvm_rand_send can work after assignment.
How can I solve this problem using uvm_rand_send_with?
what is the detailed usage difference between uvm_rand_send and uvm_rand_send_with?
I cann't got them clearly now!
I need your help!
Thanks! |
|