A constraint to generate odd_even_odd....... etc sequence

In reply to sbellock:

Maybe it’s a tool thing, but in Edit code - EDA Playground
I get an error with Incisive and CVS.
In this forum we want to avoid talking about tools.
My first solution avoids this const’ thing,
I agree, the const’ thng is “elegant”, but use what makes it work.
Ben Cohen
http://www.systemverilog.us/ ben@systemverilog.us
For training, consulting, services: contact Home - My cvcblr