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++
12652 Discussions

Multiple SOPC files in a NIOS project

Altera_Forum
Honored Contributor II
1,064 Views

Hi, 

 

I have two different boards with different FPGAs (but pin-pin compatible). I know that I need two different quartus projects, but do I also need two different nios ii projects? The only thing different about the two boards is the size of the FPGA. 

 

Thanks,
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
348 Views

 

--- Quote Start ---  

 

I have two different boards with different FPGAs (but pin-pin compatible). I know that I need two different quartus projects, but do I also need two different nios ii projects? The only thing different about the two boards is the size of the FPGA. 

 

--- Quote End ---  

 

 

You don't need two different Quartus projects if you don't want to - you can create a Tcl script that sets up the project, and just select the FPGA/target. 

 

You don't need different SOPC projects either. When you save an SOPC Project it does save the part number as part of the project, however, Quartus doesn't really do anything with it. In this project I wrote on the AlteraWiki: 

 

http://www.alterawiki.com/wiki/using_the_usb-blaster_as_an_sopc/qsys_avalon-mm_master_tutorial 

 

I used a common SOPC builder file for the different hardware targets. 

 

Cheers, 

Dave
0 Kudos
Altera_Forum
Honored Contributor II
348 Views

Thanks. I'll be reading your tutorial in the next few minutes. Quite frankly I had not considered using TCL scripts for this. 

 

Thanks again! 

 

jly
0 Kudos
Altera_Forum
Honored Contributor II
348 Views

Also take a look at the scripts I created with the files linked to in this thread: 

 

http://www.alteraforum.com/forum/showthread.php?t=35678 

 

The appendix of the document tells you how to start Quartus so that the Tcl console has the path to executables correct, allowing you to have the Tcl script re-generate the Qsys/SOPC system. 

 

Cheers, 

Dave
0 Kudos
Reply