Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12455 Discussions

Multiple SOPC files in a NIOS project

Altera_Forum
Honored Contributor II
806 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
90 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
Altera_Forum
Honored Contributor II
90 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
Altera_Forum
Honored Contributor II
90 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
Reply