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 agoWhy would you want to change the library name? libraries should be collections of related items. Eg. my_math_library would probably contain items that do maths functions. My_axi_lib would contain axi related items. It wouldnt really make sense to have different library names in different projects.
Configurations wouldnt really work, as they still expect a known library name. In modelsim you can use the vmap function to map a library to another library, but that wouldnt help if you were refering to mylib_1 inside mylib_2. So try and explain why you're trying to do what you're doing?