Hi There,
In systemverilog is array of constraints possible?
i.e.
constraint cc[0] … ;
constraint cc[1] … ;
What I want to do is, I have a member called pkt_length 32 bits.
In a single simulation I run multiple packets.
For a given simulation I want pkt_length to be always 1, in another simulation the pkt_length to be always 2, in another simulation the pkt_length to be always [125:10000] and like that.
So I wanted to define array of constraints and enable constraint mode for only 1 of the constraint.
Thanks,
Sunil.