I would like to know how to set the library of the top-level module in a Quartus project?
In my design, I have several modules (VHDL entities) called "top", in files named "top.vhd" at different locations and they are in different libraries. One of them is the project top-level. Because of this, Quartus is confused and does not choose the correct top-level entity.
To solve that problem you can:
- Change the top-level entity assignment in Assignments -> Device -> General -> Select your module (top.vhd)
- Set your module as top-entity via Project Navigator (Change form hierarchy to Files -> right click on top.vhd -> Set as top-level entity).
Hi Syafieq, thank you for your answer.
Your proposals don't work because I included into the project several files "top.vhd".
When I click on "Set as top-level entity" on another "top.vhd", Quartus still uses the initial one as top-level... Actually Quartus always uses the upper "top.vhd" in the file list as top-level.
That's why I wanted to specify the library to remove this conflict...