Generate unique elements in an array

In reply to kvssrohit:

My guess is your compiler sees “7” as 32-bit integer and hence saying “non-equivalent” - try 4’d7

Srini
www.verifworks.com