Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

Quartus issues picking up VHDL package files in libraries

Calling all passengers...

Just wondering if anyone knows what the skinny is with quartus not picking up VHDL package files in library folders in quartus? It seems to pick up all other VHDL files from other folders.

If I specify them in the file list then it works fine but not when specified as part of a library folder. It's wierd and I've tried a couple of things to get it to work without avail.

Ahh you say but why the big deal, Just specify it in the files list. That is okay for a small design case but when building a large design that shares common source/libraries the file list would suddenly become longer than well.... "Up the railtrack from Miami to Canada".

Anyway let me know if anyone has seen similar issues with this or am I just drinking the overfermented beer from the buffet cart?

Cheers,

The Flying Scotsman 4472

11 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The auto-discover for fles is very basic; I think they basically want you to add all files to the QSF with the Add Files option or Tcl... Looks like the docs could be more clear on this point.

    When you have a direct entity instantiation, you must add the instantiated entity to the project source file list. It supports auto-discovery only when you instantiate indirectly using a component.

    But the libraries can still help you manage multiple versions of files or files with same name etc... The software will look in an explicit library namespace first before searching the default library "work". For example, if you refer to mylib.mypkg, Quartus II will look in mylib for a primary design unit called mypkg. If mylib doesn't exist or doesn't contain mypkg, Quartus II will look for mypkg in the library "work". There is some discussion about how libraries can help in the QII handbook: http://www.altera.com/literature/hb/qts/qts_qii51008.pdf, page 12.