Hi All,
I have not set the OVM_HOME. i.e. echo $OVM_HOME gives OVM_HOME: Undefined variable.
When I am running a test, I am getting the below errors:
- An abstract (virtual) class cannot be instantiated.
This error is coming because I am creating an object of ovm_report_object class in my coverage file. - Package common_ovm_pkg could not be bound.
Why this error is coming when i am trying to do : import common_ovm_pkg::*;
When I externally setting OVM_HOME i.e. setenv OVM_HOME=/path Then the test runs fine.
I checked inside the OVM_HOME path. There they have declared the ovm_report_object class as non-virtual.
That is the declaration of ovm_report_object class is : class ovm_report_object extends ovm_object;
May be because of this declaration the above erors are not coming when OVM_HOME is set.
But when OVM_HOME is not set then the error comes.
How can I resolve these errors when my OVM_HOME is not set.
If more clarification of the question is needed then please let me know.
Any suggestions???
Thanks,
Biren