The simulation works, however while it was compiling the following WARNING occurs: WARNING – D:\wb_vhdl\spk\test\volume_modulator_tb.vhd: failed to find a primary design unit ‘scoreboardpkg_slv’ in library ‘osvvm’.
If I use the ScoreboardGenericPkg, I have the ERROR: ** Error: D:\wb_vhdl\spk\test\volume_modulator_tb.vhd(27): A member of an uninstantiated package is referenced outside the scope of the package.
How can I solve this?? What am I doing wrong? I’m using VUnit with Intel/Altera Modelsim.
Your message is telling you that ScoreboardPkg_slv is not compiled into the OSVVM library. You should be able to bring up ModelSim and look at the library and see if you agree.
Then also look and see if it is in your working library (sometimes named work, but it is the library into which you are compiling). Maybe it puts package instances of ScoreboardGenericPkg in your working library instead. If you find it in your working library, simply change the library reference to work.