Your tool is grate and thanks a lot. But I'm using vmm instead of ovm in the Getting started document.
It seems the ovm macros can be find in your example but I cannot find vmm macros.
I just added vmm.sv to library Paths and it can find the vmm defined classes members. It's cool but just not find vmm macros.
And also, it we define a class and then define a macro to this class. It will miss the class definition when using the class macro:
//In file vmm.sv:
`define vmm_error \
/* synopsys translate_off */ \
if (log.start_msg(vmm_log::FAILURE_TYP, vmm_log::ERROR_SEV, `__FILE__, `__LINE__)) begin \
/* synopsys translate_on */ \
`define VMM_NOTIFY vmm_notify
//In my file xxx.sv
class xxx extends vmm_xactor;
`vmm_error(this.log,"xxxx");//Report error that cannot find macro vmm_error.
this.notify.//This '.'will not work and reported cannot find type VMM_NOTFY.
Get latest updates about Open Source Projects, Conferences and News.