FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6388 Discussions

revisions and different sopc

Altera_Forum
Honored Contributor II
1,445 Views

Hi, 

 

On one Quartus Project, I make 2 revisions :  

for exemple 

1 : using sopc_number_1.sopc (.ptf) 

2 : using sopc_number_2.sopc (.ptf) 

 

When I generate sopc_number_2.sopc, it says "JTAG instance (...] is used by sopc_number_1.sopc [.....] Reassign to 1." 

 

The problem is :  

when I want to download a software developed for sopc_number_2.sopc on a FPGA which contain this exact sopc_number_2.sopc, Nios II IDE says that there is no sopc (something like that). 

 

My questions :  

Is it a good way to make revisions with different sopc ? If not, do I have to make independant different projects ? 

How could I make sopc_number_2.sopc (.ptf) very independant from sopc_number_1.sopc (.ptf) about JTAG (uart and cpu debug) ? 

 

For the moment, I moved sopc_number_1.sopc and related away. 

 

(sorry for my english)
0 Kudos
7 Replies
Altera_Forum
Honored Contributor II
246 Views

How are you creating the SoPC systems. Are you launching SoPC builder directly from Quartus (In which case SoPC builder is aware of your Quartus project and generates its files directly in your project directory) or are you using the megawizard plug-in manager to launch SoPC builder (in which case SoPC builder is unaware of your Quartus project and can be located anywhere in your file structure). 

 

I would create two SoPC systems in two different folders using the megawizard method. Then I don't think they will be aware of each other. 

 

FYI. I believe the JTAG node instance can be overridden using a parameter assignment to the appropriate design entity. 

 

Jake
0 Kudos
Altera_Forum
Honored Contributor II
246 Views

Hi, thanks. 

 

I launch SOPC directly from quartus (double click on symbol on my top level bdf file). 

How can you change the JTAG node instance ? I see no parameters in Sopc Builder. 

 

For the moment, I try to make exhaustive Sopc. I think I'd rather make like this.
0 Kudos
Altera_Forum
Honored Contributor II
246 Views

For this sort of thing I normally keep multiple 'dummy' projects and use them to generate my system. Then in my 'main' project I pull in the system revision that I want. This should avoid the overlapping JTAG instance ID that you are experiencing.

0 Kudos
Altera_Forum
Honored Contributor II
246 Views

 

--- Quote Start ---  

Hi, thanks. 

 

I launch SOPC directly from quartus (double click on symbol on my top level bdf file). 

How can you change the JTAG node instance ? I see no parameters in Sopc Builder. 

 

For the moment, I try to make exhaustive Sopc. I think I'd rather make like this. 

--- Quote End ---  

 

 

The node instance is assigned either at generation time or compile time depending on which core you are using. SOPC Builder/Quartus II needs to make sure the instance IDs don't overlap otherwise the tools won't be able to identify the JTAG nodes like the JTAG UART, Nios II debugger, Signal Tap II, etc... properly.
0 Kudos
Altera_Forum
Honored Contributor II
246 Views

HI, thanks for the answers. 

 

When I create a revision, it is based on an existent revision. Well. 

In the new revision, I use an other SOPC. 

when I compile this new revision, it wants to take the "legacy" SOPC. I mean the old SOPC comes back in the new revision even if I had deleted it in the include file list. 

 

I will make Multiple "dummy" projects. thanks.
0 Kudos
Altera_Forum
Honored Contributor II
246 Views

That warning message causes NIOS II IDE to not find CPU in FPGA. That is a problem. 

To work around, I :  

  • copy the project (revisions included) to another disk location, by using Project>copy project... in Quartus, 

  • Remove all other revisions by using Project>revisions... 

  • Manually delete  

  • sopc_number_1.* 

  • bdf files that refer to sopc_number_1 

  • Refresh manually the design list file in Assignements menu 

  • Open manually sopc_number_1.sopc from original project to "save as..." in the copied project directory. 

  • Rebuild SOPC 

0 Kudos
Altera_Forum
Honored Contributor II
246 Views

When the IDE has problems finding the CPU in a multi-processor design you can also try the 'load JDI file' button in the run menu. If the debug instance IDs get jumbled around by SOPC Builder or Quartus II you can count on this file to contain the correct mapping.

0 Kudos
Reply