Regarding assertion

In reply to Maitri@07:

Thanks for providing your code. It looks like you are facing a tool issue. I could compile your code with some minor modifications using Questa 10.6b.