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

Using strings in constraints to randomize data

$
0
0

Hi,

 I am using a constraint that uses a string var to randomize a random variable(data). But xcelium give me an error:

Constraint:

constraint data {
    sel_string inside {"A"} -> data[0] == 1;}

Error:

xmvlog: *E,WOUPYR (): As a temporary implementation restriction, string is not permitted in this context.
 |     sel_string inside {"A"} -> data[0] == 1,

Any suggestions, how to get around this?

Thanks,

Preethi


Viewing all articles
Browse latest Browse all 1069

Trending Articles



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