You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
VLM ERROR VLM_0030: "Package "grlib.stdlib" must be recompiled because package "ieee.NUMERIC_STD" has changed. "~~\hdl\~.vhd" 21 11 #1207
I am currently trying to integrate GRLIB (Gaisler Research Library for LEON3) into a VUnit-based simulation environment, but I am stuck with a persistent compilation failure.
The project was originally generated based on GRLIB within a Cygwin environment. When I attempt to run the simulation using VUnit (run.py), I encounter the following compilation error:
VLM ERROR VLM_0030: "Package "grlib.stdlib" must be recompiled because package "ieee.NUMERIC_STD" has changed." in "~~\hdl~.vhd"
@gwangownlee You should do exactly as reported in the error. Are you compiling that package with VUnit as well? If yes, did you try to use the flag --clean to make sure everything is recompiled from scratch?
@tasgomes
I tried using --clean, but I still get the same error. I also deleted the vunit_out directory and rebuilt everything from scratch, but the result was the same.
When compiling the external open-source library grlib, what is the recommended approach with VUnit?
Should I add every source file individually using add_source_files()?
Or should I use add_external_library() with the precompiled library generated by Riviera?
Or is there a way to compile the entire package/library at once instead of adding each source file manually?
What is the correct way to integrate grlib with VUnit?
Activity
tasgomes commentedon Jun 30, 2026
@gwangownlee You should do exactly as reported in the error. Are you compiling that package with VUnit as well? If yes, did you try to use the flag
--cleanto make sure everything is recompiled from scratch?gwangownlee commentedon Jul 3, 2026
@tasgomes
I tried using --clean, but I still get the same error. I also deleted the vunit_out directory and rebuilt everything from scratch, but the result was the same.
When compiling the external open-source library grlib, what is the recommended approach with VUnit?
Should I add every source file individually using add_source_files()?
Or should I use add_external_library() with the precompiled library generated by Riviera?
Or is there a way to compile the entire package/library at once instead of adding each source file manually?
What is the correct way to integrate grlib with VUnit?