Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17050 Discussions

qsys-sript tcl script parameters

Altera_Forum
Honored Contributor II
1,444 Views

Hello all, 

i'm trying to write a tcl script which sets some parameters on an ipcore in my qsys design. Therfore I call the program qsys-script as following: 

 

qsys-script --system-file=mysystem.qsys --package-version=13.0 --script=myscript.tcl 

 

The content of the script myscript.tcl now sets some parameters with set_instance_parameter_value and saves the script with "save_system"! 

This works as expected but the next step is to actually pass some parameters to my script like this: 

 

qsys-script --system-file=mysystem.qsys --package-version=13.0 --script=myscript.tcl arg0 arg1  

 

Sadly somehow the variables argc and argv are not accessible in the tcl environment. So is there a way to hadle this? 

 

best regards 

Thomas
0 Kudos
0 Replies
Reply