Reply To: Using GLBL with OSVVM

Why OSVVM™? Forums OSVVM Using GLBL with OSVVM Reply To: Using GLBL with OSVVM

#2846
jon
Member

To summarize I dont think its necessary to have GLBL in a seperate library. It seems as though I need to have GLBL in the vopt step but not in the vsim step. The following works, the only difference is that GLBL isnt included for the vsim step. If I use the script then it is included and the simulation wont start because of the error below.

vopt -reportprogress 300 -work common_tb -L common_tb fifo_test common_tb.glbl -o fifo_test_opt -designfile C:/hds/hdl/common/sim/common_RunDemoTests/reports/COMMON/fifo_test_design.bin
vsim -c -t ps -lib common_tb fifo_test_opt -suppress 8683 -suppress 8684
# ** Warning: (vsim-3824) Optimized (fifo_test_opt) and unoptimized (glbl) top-level design units are
# simulated together. Unoptimized design units will not be optimized. 
# ** Error (suppressible): (vsim-12110) All optimizations are disabled because the -novopt option is in effect. This will cause your simulation to run very slowly. If you are using this switch to preserve visibility for Debug or PLI features, please see the User's Manual section on Preserving Object Visibility with vopt. -novopt option is now deprecated and will be removed in future releases.