In reply to rgarcia07:
Hi. Thanks for the help . Actually, I was using the eda-playground platform and I was using Synopsys VCS. It was giving the above-mentioned error messages. When I changed the tool and used Mentor Questa, I got the expected answer . Didn’t understand why. I mean, is there anything called tool depending-attributes in SV? Something didn’t work on one tool but gave required ramifications on another tool.
Do u know anything about it ?