Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
719 Views

Multiple SOPC files in a NIOS project

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
Highlighted
Valued Contributor III
3 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
Highlighted
Valued Contributor III
3 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
Highlighted
Valued Contributor III
3 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