Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12691 Discussions

SOPC/Quartus 4 to 5 migration problem

Altera_Forum
Honored Contributor II
2,059 Views

We tried migrating a NIOS II Quartus 4 project to Quartus 5. We can open up the project in Q5, no problem. However, when we run 'Generate' in SOPC Builder we get an error of the following type: 

 

<span style="color:red">ERROR: Revision does not exist: Presto. Specify a legal revision name using the 

"-revision" option. 

 

while executing 

"project_open C:/presto/Presto/Presto.qpf" 

(file "niosii_setup_quartus.tcl" line 2) 

------------------------------------------------ 

Error: Evaluation of Tcl script niosii_setup_quartus.tcl unsuccessful</span> 

 

On another system we see a problem where the project_open function gets called with an incomplete path, e.g. the actual filename is truncated. 

 

Has anyone seen this type of problem? We tried both copying and archiving/unarchiving the Q4 project before opening it in Q5. 

 

Thanks, 

Andrew
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
270 Views

Hi, I too had this problem. I ended up re-creating a new target board, Quartus project, Processor and Nios project from scratch and pasting all the data in from the old jobs. It all worked fine then, but it took me quite a while to do, and I still don&#39;t know what caused it and would like to hear if anybody does know.

0 Kudos
Altera_Forum
Honored Contributor II
270 Views

I found that this error can be fixed, at least partially, by creating a new revision in Quartus. That seems to trigger refreshing some of the broken scripts. I&#39;m not sure anymore whether the error message isn&#39;t benign, though. I think all that happens, at least in our project, during the execution of the setup TCL script is opening the project in Quartus. Since we usually come from Quartus to SOPC we don&#39;t really care whether Quartus reopens the project or not. 

 

Andrew
0 Kudos
Altera_Forum
Honored Contributor II
270 Views

The SOPC Builder system generates properly when this error message occurs.  

 

This error message may occur during system generation in SOPC Builder if the Quartus® II project name differs from the Quartus II project revision name. SOPC Builder system generation outputs something like the following:  

 

Error: Evaluation of Tcl script <Quartus II project name>_setup_quartus.tcl unsuccessful 

------------------------------------------------ 

ERROR: Revision does not exist: <Quartus II project name>. Specify a legal revision name using the "-revision" option. 

while executing 

 

"project_open <project path>/<Quartus II project name>.qpf" 

 

(file "<Quartus II project name>_setup_quartus.tcl" line 2) 

------------------------------------------------ 

 

To avoid receiving the error messages, make sure that the Quartus II project name matches the revision name. Go to the Project->Revisions... window to modify the project revision name.
0 Kudos
Reply