I have 16 channels to which I need to send data randomly. The channels shall be selected randomly. Eg: In the first iteration channel 0, Channel 3 are selected i.e two channels are selected In the second iteration channel 9, 10 , 12, 15 are selected i.e four channels
The channels can be repeated in each iteration. The number of channels selected should be different for each iteration and accordingly channels should be selected between 0 to 15.
How do I create a logic for the same using SV Constraints?
You can use a dynamic array