//Below line is giving error during randomization
constraint c1{ i inside {1,2,[1000:$]};}
Error is unsupported data type in constraint
Regards
Kranthi
//Below line is giving error during randomization
constraint c1{ i inside {1,2,[1000:$]};}
Error is unsupported data type in constraint
Regards
Kranthi
In reply to dave_59:
rand int i;
constraint c1{ i inside {1,2,[1000:$]};}
Error is unsupported data type in constraint
Regards
Kranthi
In reply to kranthi445:
This works for me in Questa and on 2 other simulators I was able to try on EDAplayground.com. Contact your vendor for support.
BTW, for an unsigned bit vector, you can use '1 instead of $.