Forum Discussion
Altera_Forum
Honored Contributor
8 years ago[VHDL] how to manage lib name depending on the design entry?
Hi All, I want to use the different library names for the same Le's say I have a VHDL file with the following lines: library mylib_1;use mylib_1.abc.all; But, when I'm go...
Altera_Forum
Honored Contributor
8 years ago"try and explain why you're trying to do what you're doing?" - for different projects, the unit should be compiled into different libraries (library nabes).
"In modelsim you can use the vmap function to map a library to another library" - probably this would be a solution, but as you stated below "but that wouldnt help if you were refering to mylib_1 inside mylib_2" - is it possible to refer to a package in the library without stating the library name (just a path to the package, like a relative to the directory) For example, use ../../mypkg.all