Forum Discussion
Altera_Forum
Honored Contributor
14 years agoType 'vmap' in Modelsim to see where the libraries are being mapped to.
The Qsys synthesis script 'takes over' some Modelsim mappings, and hard-codes paths relative to ./libraries/, which is pretty annoying (as I comment in the appendix). The trick is to either live with where Qsys wants to define the work folder, or define a new library for your application. For example, you could# change directory to where you want your sketchpad library
vlib sketchpad_lib
vmap sketchpad_lib /sketchpad_lib
vlog -sv -work sketchpad_lib ../tb/tb_sketchpad.sv
Now your code will be in its own library, not the work library. Cheers, Dave