Forum Discussion
Altera_Forum
Honored Contributor
14 years agoThe Tcl procedure vmap can be used to map Modelsim libraries, eg.,
vmap lib1 [path to lib1] vmap lib2 [path to lib2] vmap lib3 [path to lib3] and then in the VHDL source there would be something like library lib1; use lib1.components.all; where 'components' is a package compiled into lib1, eg. vcom -work lib1 components.vhd You can also map the libraries to work, eg. vmap lib1 [path to work] If the library does not exist, then first use vlib to create it, eg. vlib [path to lib1] etc. Cheers, Dave