Forum Discussion
Altera_Forum
Honored Contributor
11 years agoMaking new library
Hi, I have vhdl file containing package declaration. Right now, I am calling that file (package) from work lib. But I want to create a new lib in which that package is included? How can I make new li...
Altera_Forum
Honored Contributor
11 years agoYou can use either GUI or commands specific to Quartus (or ModelSim) and you either create library or map to existing one.
The simplest Quartus example is this: qsf: set_global_assignment -name VHDL_FILE C:/project1/my_package.vhd -library my_lib (alternatively use add files to project => properties => library then see the commands added in qsf) Then in vhdl: library my_lib; use my_lib.my_package.all;