Hi,I'm having trouble figuring out a method for calling sopc_builder from within the Quartus Tcl console. There's several issues, so I'll try to summarize. objective: Build a project consisting of HDL source, timing constraints (.SDC), and an SOPC system (sopc_system.sopc) from a Tcl script that can be called from the Quartus Tcl console. The source files and script will be checked into a version control system. build environment:
i think you would be better off writing a bash or batch file and calling quartus_sh and sopc_builder independently. alternatively, you could write a make file.--dalon
Hi Dalon,--- Quote Start --- i think you would be better off writing a bash or batch file and calling quartus_sh and sopc_builder independently. alternatively, you could write a make file. --- Quote End --- I can live with makefiles. You wouldn't happen to know the appropriate command for adding to the IP search path would you? You can add to the search path manually per the instructions on p194 of the PDF of the Quartus Handbook for v11, but I don't see any mention of an IP search path variable in either of the scripting manuals (Tcl or QSF). I realize the manual change is permanent, but it would be nice for a makefile to be able to check that all IP is visible, and add to the search path if it is not. Cheers, Dave
I recommend skipping straight to qsys which should handle this better - there are executables like sb-generate.exe which you can call to generate a component.sb-generate (and friends) should set up a lot of the environment for you so you just need to have the exe on the path. I don't have an install to hand, but I think sopc_builder/model/bin is the directory you need.
Thanks for the pointers on Qsys. I'll read through the Qsys docs tomorrow.I'll post example designs once I get what I want working, and then we can all discuss Makefile design :) Cheers, Dave