Forum Discussion
Altera_Forum
Honored Contributor
15 years agoModelsim Library Mapping - TCL
Right. I need help with this. I have a group of libraries I need to map into modelsim. The guy that made most of the libraries uses HDL Designer and that automatically handles all the mapping,...
Altera_Forum
Honored Contributor
15 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