I am receiving the following errors while calling a class defined in a package in the testbench. I am using questasim. What could be the cause ?
Here is the error snipet
I am receiving the following errors while calling a class defined in a package in the testbench. I am using questasim. What could be the cause ?
Here is the error snipet
Please do not post screenshots, as they can’t easily be used to analyze your issue. The recommendation is to provide code on EDA Playground which demonstrates your issue.
It appears that you are compiling your class as part of a package. Are you importing this package into your testbench so that your class is visible?
Yes i am
I suggest changing line 304 to
Tb_pkg::TestPoint tpl;
If that works, then your import
statement that you did not show is incorrect.
If that doesn’t work, then the package file you are compiling is not the same as what you are showing.