Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

Qsys update

Ben_C
Novice
11 054 Visites

Hi

I have a big qsys file (platform designer) Quartus Pro 19.4. I migrated successfully to 20.3. 

I tried migrating from 20.3 to 20.4 I get this error:
Info: E:/Buildscript/LPUX274_20_4/src/qsys/ip/**/* matched 39 files in 0.08 seconds
Error: Factory com.altera.sopcfactories.QsysFactory reading E:\Buildscript\LPUX274_20_4\src\qsys\qsys.qsys exception com.altera.utilities.altNode.AltNodeException: (in-memory string): Invalid byte 3 of 3-byte UTF-8 sequence. (XML)

0 Compliments
1 Solution
RichardTanSY_Altera
Modérateur
10 603 Visites

Hi Ben,


I have sent an email to you. Please help to check.


Best Regards,

Shyan Yew


Voir la solution dans l'envoi d'origine

24 Réponses
RichardTanSY_Altera
Modérateur
9 309 Visites

I haven't see this error before. 
Which OS that you are using? Have you try to clean and rebuild your project?

Could you help to share your design so we could check on this? 

 

0 Compliments
Ben_C
Novice
9 283 Visites

I run Win 10.

Installed Quartus (Pro 19.4, 20.3, 20.4)

Attached: my PC
Full Error when I open my newly updated qsys.qsys file (error.jpg)


Differences between 20.3 and updated 20.4. mostly cases like thoses in the pictures

0 Compliments
SLabe
Partner
9 276 Visites
0 Compliments
RichardTanSY_Altera
Modérateur
9 239 Visites

I tried to open the qsys.qsys file that you provided.

Unfortunately I don't see the error message pop up, other than the warning messages pop up saying a lot of IP files missing. 

Have you try to uninstall/reinstall the Quartus and try to migrate the project again?  

0 Compliments
SLabe
Partner
9 227 Visites

Very sorry, the Qsys we'd shared was 20.3... I've emailed you the 20.4. Let us know of you findings, thank you.

0 Compliments
SLabe
Partner
9 222 Visites

This is the screen you should get when opening the latest Qsys. Thank you.

SLabe_0-1612898964321.png

 

0 Compliments
Ben_C
Novice
9 208 Visites

Hi Shyan Yew

 

I have sent you the file by e-mail

regards

Ben

0 Compliments
RichardTanSY_Altera
Modérateur
9 184 Visites

Sorry for the delay in response. I just back from CNY break. 

I open the new qsys file again and I got the same scenario as the previous file - not able to duplicate the error and system completed with warnings saying: Failed to instantiate file.

Here's the flow that I go through. Let me know if there is a different flow with yours.

1. Open a new project in Quartus Pro 20.4
2. Add the qsys.qsys file in the project
3. Launch the IP upgrade editor.
4. Open the qsys file in Platform Designer. 
5. System completed with warnings. (see below)

ShyanYewT_Intel_0-1613524131982.png

 

0 Compliments
Ben_C
Novice
9 158 Visites

Hi Shyan Yew

 

You must have 2 qsys.qsys file (sorry with the same name). One in 20.3 (sent by SLabe) and the other one in 20.4 that I sent by e-mail. 

The one in 20.4 doesnt ask for upgrade when I follow your steps and gives the error. 

Make sure you choose this part for the project
10AX057H3F34I2LG

 

0 Compliments
SLabe
Partner
9 148 Visites

Hi Shyan Yew,

Here are the steps I just performed on the latest qsys Ben_C sent you. Note we are all running in Windows.

1. Created new project with 10AX057H3F34I2LG

2. Added qsys.qsys to project

3. Both of these give the same result

a) Open IP upgrade editor and then click "Upgrade in Editor"

b) Double click qsys.qsys in the project files to launch Editor

 

At the outcome the following XML warnings will be generated:

 

0 Compliments
RichardTanSY_Altera
Modérateur
9 131 Visites

Finally, I am able to duplicate the error in Window 10 platform. Previously I did it in Linux platform thus showing different result.

I will check with our engineering team for further investigation.


0 Compliments
RichardTanSY_Altera
Modérateur
9 121 Visites

May I know how do you migrate the previous qsys.qsys file version 20.3 to 20.4? 
When I open the previous qsys file 20.3 in the Quartus 20.4 in Window 10, there is no error produced. 

0 Compliments
Ben_C
Novice
9 111 Visites

1)open quartus project

2)open qsys.qsys (no errors)

3) Sync System infos

4) save (same xml error occurred while saving)

 

With GIT, I can see all my IPs are now 20.4 instead of 20.3 and qsys has many changes

5)Close qsys

6) Reverted qsys.qsys

7) Open qsys.qsys

Click validate system integrity

9) Save (same xml error occurred while saving)

 

0 Compliments
SLabe
Partner
9 078 Visites

@RichardTanSY_Altera , any updates on your end? Should we hold off until 21.1?

0 Compliments
RichardTanSY_Altera
Modérateur
9 064 Visites

@SLabe I am yet to get any update from the engineering, let me follow up with them on this.

0 Compliments
SLabe
Partner
9 020 Visites

Hi, it's been a couple weeks since the last update... Is there anything new from Intel?

0 Compliments
RichardTanSY_Altera
Modérateur
8 999 Visites

I am very sorry that I yet to get any update from the engineering. Please allow me to follow up with them on this. I may escalate this issue if still no further response from them. 

Regarding the qsys migrate from version 20.3 to 20.4,  I did the steps you provided but no success in duplicate the xml error.

1)open quartus project
2)open qsys.qsys (no errors)
3) Sync System infos
4) save (same xml error occurred while saving)

Have the customer try to reinstall the Quartus version 20.4 and try to migrate the qsys 20.3 to 20.4? 

0 Compliments
SLabe
Partner
8 988 Visites

Make sure you are using Windows 10. Scrolling back up you had duplicated the error. So did I. Thank you!

0 Compliments
RichardTanSY_Altera
Modérateur
8 981 Visites

Yes, I am using Window10.

The previous error was duplicated when I used the qsys file 20.4 version which was sent the second time by Ben_C through email.

This time I tried to reproduce the same problematic qsys file 20.4 version using the qsys file 20.3 version (sent first time -which does not cause any error initially in Quartus v20.4) by Sync System Info in Platform Designer - the flow that you provided on how to migrate the qsys from 20.3 to 20.4.

The error does not show up at the end, in order word, I can't reproduce the same problematic qsys file 20.4 version by migrating the qsys file 20.3 version from Quartus 20.3 to 20.4. I am trying to debug could this be Quartus setup issue or machine issue. Do you are able to reproduce the problematic qsys file from the good qsys file with a different machine? 

Hope to get your understanding. 

0 Compliments
Ben_C
Novice
8 824 Visites

To reproduce the bug with Sync System infos, you need all the IP files. I tried to reproduce it with just a few IP files to see which ones corrupts the qsys. It wont failt until almost all .ip files are there. 

0 Compliments
Répondre