Randomizing MDA with constraints on count of entries

In reply to ac1122:

Sorry, this code works on Questa and this forum is not for help tool specific issues. I will say that other tools recognize this syntax.