- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm trying to create a makefile for my project. This makefile should also regenerate the SOPC system. However when I try the following command (windows xp, cygwin): "sopc_builder --generate --classic avalon_if.ptf" the "avalon_if.vhd" and the "sdram_0.vhd" files are generated but not the other components (PCI bridge, irq controller...). There is a big difference is the output of the SOPC builder gui and the command line output: The command line output starts with: "mk_custom_sdk starting" The GUI starts with: "info: pci_compiler_0: Instantiating pci_mt32 MegaCore function." The gui must be doing something before the actual system generation but what and how can I do this via the command line? thanks, JoLink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quartus behaviour is different on a linux system then on a windows (cygwin) system. The same command produces different results:
From the Makefile: sopc_args = --no_splash --generate=1 -s $(sopc_system).sopc$(sopc_system).vhd: $(sopc_system).ptf
sopc_builder $(sopc_args); if [ $? = 4 ]; then exit 0; else exit 1; fi
In linux all files are generated ok, in windows only the $(sopc_system).vhd is generated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The ultimate goal is to have a script(makefile) that download my project from a versioning sytem (svn) and then builds the complete project including all code generation.
My findings for Q10.1: There is some progress: when issuing the command : sopc_builder --generate --nosplash It will build your system both in windows(cygwin) and linux (ubuntu). However... apparently there are still components that need a display to connect to. This means you can still not generate everything on a headless system. The pcie generator throws a 'headless exeption' because it relies on some java awt libraries. I hope this will get cleaned up in one of the next versions. In the mean time you could start a (virtual) x server: export display=:1xvfb :1& Does anyone have a better solution?

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page