`uvm_rand_send_with(programrega,{A_value == this.A_value}); 问题在于ProgramRegA里定义了相同的名字A_value,编译器会混淆这里的A_value,导致sequence A的值无法传进去。这样在执行的时候,programrega还是会再次随机A_value。 解决方案如下: 在sequence A里用不同的名字来放要写的值,比如Avalue。 将这里...
`uvm_rand_send(req) // Randomize and process again, this time with inline constraints. `uvm_rand_send_with(req, {data < 1000;}) endtask : body endclass: my_seq my question is, when we call `uvm_rand_send(req) isn’t it randomize the req.addr field and cause the “req.addr =...