Forum Discussion
Altera_Forum
Honored Contributor
8 years ago[Quartus] how to define the compilation libraries for VHDL files?
Hi All, In Quartus Prime, how can I define the compilation library each VHDL file? For example, I'd like the file top.vhd file will be compiled into 'work' library and all the *_pkg.vh...
Altera_Forum
Honored Contributor
8 years agoA context can contain multiple libraries and multiple use clauses. No need to have all of the packages in a single library. A context also exists within a library.
eg:
context my_ctx is
library lib1;
use lib1.pkg1.all;
library lib2;
use lib2.lib2pkg.all;
end context my_ctx;
....
library some_othter_lib;
context some_other_lib.my_ctx;