Forum Discussion
Altera_Forum
Honored Contributor
13 years agoHi Alfonso,
You need to focus on one problem at a time. Ignore Modelsim for now, and get Quartus working first. 1) Start with the example design I gave you. 2) Run the script. This will get you a Quartus project where the libraries are setup correctly. 3) Add your files to the project. Edit them to have: library ieee_proposed; use ieee_proposed.fixed_pkg.all; since the project now has the libraries configured correctly. 4) In the "Project Navigator" "Files" window, right-click on your top-level file and click on "Set as top-level entity". The project name will still be fixed_pkg_example, however, it will now compile your code for the top-level project. At time point you should be able to compile your code without any errors related to libraries. If you see errors, then read the messages, and look in the files that are generating the errors. Make sure you have the library statements in step (3). Cheers, Dave