
-
Events and functions of Virtual interface
Hi all,
I want to access the events and functions of interface , in my ovm_scoreboard class for scoreboarding.
But when I tried it it is giving error as below....
ncelab: *E,CUDVIO
Is there any solution for it ?
Thanks & Regards:
GG
-
Hi GG,
Although SystemVerilog interfaces can contain functions and events, IUS does not currently allow you to access these via a virtual interface.
I would suggest restricting the interface to simple variables and putting the functions, events, etc that react to those variables inside the monitor class instead. If you have used any SV sequences and properties to detect transactions inside your interface, you will have to recode them as procedural state machines in your monitor (since you cannot put concurrent properties inside a class).
You can also declare a clocking block and corresponding modport inside your interface and access it in the monitor via a virtual interface.
Hope that helps.
Regards,
Dave
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Bookmarks