Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- But if i modify the.do quartus will erase it (as he did), how do i compile in quartus (Not in modelsim)? --- Quote End --- I'm not suggesting editing the .do file. We've established that that is a little too much for your skill level. By editing the files so that they all use code found in the work library, compiling the code should now be simple. --- Quote Start --- Sorry, i'm totally newbie to VHDL. I don't know to compile outside of modelsim and actual errors are in quartus as you say. --- Quote End --- In the Quartus GUI, on the left hand side, there is the "Project Navigator" window. It has 3 tabs at the bottom; Hierarchy, Files, and Design Units. Click on the Files tab. The list of files you see here is what quartus compiles. Select a file, right-click and select Properties. Note here that there is a field called "Library". This is where you would have written rtl_work to get Quartus to use the rtl_work library, or ieee_proposed to use the ieee_proposed library. Do you have any files with the Library field set? They should all be cleared if you have edit the files to use 'work' for all the libraries. You can use the Quartus menu option Project->Generate Tcl File For Project to (you guess it!) general a Tcl file for your Quartus project. In that file, you'll see lots of set_global_assignment -name VHDL_FILE <filename> If you have the "Library" field set, then it will change to set_global_assignment -name VHDL_FILE <filename> -library <library name> So check that none have -library next to them. If they do, go select that file in the "Files" window and change its library property. --- Quote Start --- Sorry, sorry. --- Quote End --- Don't sweat it, I know its tough, that is why I am still helping you :) Cheers, Dave