--- Quote Start ---
VHDL doesnt care where the source files are on disk. Thats up to the tool to decide. the library is just a concept/virtual container for code, so a single library can be mapped from difference sources.
Btw. Quartus will just ignore your nicely built library structure. It just searches all source for matches (it only cares where theres a conflict).
--- Quote End ---
Thanks very much, Tricky. So can I understand like this: Library just tell the tools where to found the source files (HDL files). When we simulate in Modelsim, we need precompiled libraries, they are actually precompiled source files, rght?
Sorry, I am still confusing by these.
Thanks.