I want to generate random dynamic array with unique value without using unique/foreach/queue.
dave_59
2
In reply to Sagar Shah:
Why?
I assume you already know Chris Spear’s technique of using post-randomize with a randc variable to fill array with unique numbers…
Alternative way of doing is to actually implement an LFSR with a known polynomial
in fact, simulators maybe internally using a variant of LFSR to generate rand…
In reply to Sagar Shah:
Can you please specify why that requirement came up ??