Forum Discussion
7 Replies
- Altera_Forum
Honored Contributor
i believe there are some Nios II example designs, maybe targeting the NEEK kit, that generate the SOPC Builder system before running a QII compile. try taking a look on the NiosWiki, if you can't find them i can take a look
- Altera_Forum
Honored Contributor
Same question. I need to migrate FPGA image builds from an engineer's laptop to the build server. I'd like to build it automatically.
nioswiki is down :( any other pointers? - Altera_Forum
Honored Contributor
- Altera_Forum
Honored Contributor
Thanks for the info. What I was wondering if how do you add a new component to the SOPC system via command line? Is this possible? Maybe by hacking the system.sopc file? but that file contains some stuff which is kind of puzzling. For example :
What does the value 9 indicate in this case? Is there any better ways of doing this than editing the .sopc file?element sra_0 { datum _sortIndex { value = "9"; type = "int"; } } - Altera_Forum
Honored Contributor
To build SOPC Builder projects from the command line you simply need to run the command "sopc_builder --generate" in the folder containing the .sopc and .sopcinfo files. These are the only files you need, except from any custom IP of cause, you need to generate the Nios SoC.
One thing you need to be aware of is that sopc_builder expect X to be present, so if you run it in a terminal on a Linux server you have to run something like Xvnc in order to make it work. If you use Jenkins to run you regression tests there is an option to enable X during builds, but otherwise you must ask the Internet Oracle aka Google for help. - Altera_Forum
Honored Contributor
the .sopcinfo file is an output from the generation, all you need is the .sopc
--- Quote Start --- Internet Oracle aka Google --- Quote End --- sounds like a trademark lawsuit waiting to happen :) - Altera_Forum
Honored Contributor
I'm using Quartus v11.1sp2. "sopc_builder --generate" launches the SOPC Builder GUI and opens the project but does not run the generate step. I'm using a makefile in Cygwin.
Shouldn't it be able to run in a regression scenario without requiring me to click the generate button?