Quantcast
Channel: Cadence Functional Verification Forum
Viewing all articles
Browse latest Browse all 1074

Randomization Failure from TB

$
0
0

Hi All,

In the UVM environment, received "The randomize method call failed, the unique ID of the randomize is xx."

I am driving one command and followed by two address from TB side, like;   CMD -> ADD1 -> ADD2

I am able to see CMD properly driven, but these addresses are taking a value as zero, hence randomization failure. I am expecting address values as non-zero value, but that is not happening; 

////////////////////////

class seq_1 extends seq_2;

......

virtual task body

....

foreach (i) begin

`uvm_do_with(seq_n, {seq_n.addr =='h10;})  //expecting 'h10, but it is coming as zero, hence failed

`uvm_do_with.....

end

///////////////////////////

-> I have tried with seed =1 and with random seed, still the result is same

-> How to use "SimVision constraint debugger", steps/link to refer

Kindly advice

Thank You,


Viewing all articles
Browse latest Browse all 1074

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>