How_to control_stimulus_generation---?

Hi,
i have memory depth is 8,i want to generate the random data to my memory, all locations data must be unique,after reading data from memory only i can able to generate reapetd data ? for this how can i drive the stimulus ?

In reply to Rohi_417:

The random pattern Generation does not guarantee you get unique data, but you can reach this by setting a constraint with the ‘unique’-keyword.
Runnimg your test again and again the same pattern will be generated.
For driving your data to oyur Memory you need a driver which implements the Protocol requested by your memory interface.