cancel
Showing results for 
Search instead for 
Did you mean: 
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.

Qsys Scripts

Qsys Scripts



Overview

This is a page to provide useful examples of Qsys system scripts. Qsys system scripts can be run with the qsys-script command line tool. The Tcl API for system scripting is documented in the Creating a System with Qsys chapter of the Quartus II Handbook.

Creating a Tcl script from a .qsys file

You will use the system script File:Save script.tcl to save a Qsys system to a Tcl script. Save this script to your working directory with your .qsys file. Make sure the script is named "save_script.tcl" when you save it.

To create a Tcl script based on a system:

qsys-script \

--cmd="set system_name <systemname>" \

--script=save_script.tcl \

--system-file=<system>.qsys

To create the .qsys file from the saved script:

qsys-script --script=my_system.tcl

Version history
Last update:
‎06-27-2019 12:42 AM
Updated by:
Contributors