Forum Discussion
Altera_Forum
Honored Contributor
14 years agoCould not find rtl_work.TB.vhd
Hello,
The same process is giving issues once again: # ** Error: (vsim-3170) Could not find 'C:\Users\Alfonso\Desktop\PFC\simulation\modelsim\ rtl_work.TB_PFC_main'.# Error loading design# Error: Error loading design # Pausing macro execution # MACRO ./PFC_run_msim_rtl_vhdl.do PAUSED at line 34 I remember to delete the work folder to be able to compile a library that need that according to a modelsim tutorial: http://doc.union.edu/118/se_tutor.pdf (http://doc.union.edu/118/se_tutor.pdf) I have to do vcom <vhdl files .vhd> # do this for all the files cause it had to be done in the work folder, this may have caused the issue. i'm lost, can anyone help me?.80 Replies
- Altera_Forum
Honored Contributor
--- Quote Start --- Sorry, i moved the Pack.vhd before ProducteN.vhd (in the .tcl and saved) and still error. error (10481): vhdl use clause error at producten.vhd(3): design library "work" does not contain primary unit "fixed_package" --- Quote End --- Saving the Tcl is not adequate. You must also run the Tcl from the Quartus console. You do that by sourcing the file. tcl> source PFC.tcl If you do not see a Tcl console in the GUI, make it appear using View->Utility Windows->Tcl Console. Cheers, Dave - Altera_Forum
Honored Contributor
Tahank you Dave,
brilliant explanation, but the tcl console hates me also: Quartus II Tcl Console source PFC.tcl Error:couldn't read file "PFC.tcl": no such file or directory Error: while executing Error:"_source PFC.tcl" Error: ("uplevel" body line 1) Error: invoked from within Error:"uplevel 1 $cmd " Error: (procedure "source" line 5) Error: invoked from within Error:"source PFC.tcl" Curiously, project->generate file for project says: File C:/users/alfonso/Desktop/PFC/PFC.tcl already exists. do you want to overwrite it? - Altera_Forum
Honored Contributor
--- Quote Start --- but the tcl console hates me also: --- Quote End --- No, it doesn't, you're just failing to read the messages: --- Quote Start --- Quartus II Tcl Console source PFC.tcl Error:couldn't read file "PFC.tcl": no such file or directory --- Quote End --- Ok, so its telling you it cannot find it. Provide the full path to the file then! tcl> source C:/users/alfonso/Desktop/PFC/PFC.tcl or tcl> cd C:/users/alfonso/Desktop/PFC tcl> source PFC.tcl Cheers, Dave - Altera_Forum
Honored Contributor
Nothing has happened (source C:/users/alfonso/Desktop/PFC/PFC.tcl worked (no error))
PS: i've edited .tcl and after saving, i've runned the console
- Altera_Forum
Honored Contributor
One thing, don't you work in groups op people, nobody in this forum can help you???
- Altera_Forum
Honored Contributor
--- Quote Start --- Nothing has happened (source C:/users/alfonso/Desktop/PFC/PFC.tcl worked (no error))PS: i've edited .tcl and after saving, i've runned the console --- Quote End --- Its your Tcl script. Has it been written so that it runs synthesis? If not press the play button in the GUI. I know you're new at this, but that's not an excuse not to think for yourself. read the tcl script and see what it does. Cheers, Dave
- Altera_Forum
Honored Contributor
--- Quote Start --- One thing, don't you work in groups op people, nobody in this forum can help you??? --- Quote End --- I don't understand what you are trying to say here. - Altera_Forum
Honored Contributor
Why only you answer my questions? Maybe someone here nows the direct key (Fastest path) eveny if my code is really a mess. A forum used to be many to one. or many to many.
- Altera_Forum
Honored Contributor
--- Quote Start --- Why only you answer my questions? Maybe someone here nows the direct key (Fastest path) eveny if my code is really a mess. A forum used to be many to one. or many to many. --- Quote End --- Perhaps I just have the most patience today :) - Altera_Forum
Honored Contributor
--- Quote Start --- I know you're new at this, but that's not an excuse not to think for yourself. read the tcl script and see what it does. Cheers, Dave --- Quote End --- Again, i don't know what a Tcl script is "You must also run the Tcl from the Quartus console. You do that by sourcing the file" This (if it is the Tcl script) returns nothing after a enter, i cannot demonstrate there is a enter here: http://i49.tinypic.com/2eba1jp.jpg Yes i'm a useless engineer, but i'm trying to end my degree.