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

UVM RAL

$
0
0

I am using Cadence register model. I am trying to randomize a register within model with constraint.

assert( reg_model_hanldle.reg_name.randomize() with { fieldname.value ==  'habcd});

I get an error indicating fieldname is not a class item. Model is generated using Cadence tool .

How do I constraint randomize a register within a model?


Viewing all articles
Browse latest Browse all 1069

Trending Articles