Quantcast
Channel: Altera Forums
Viewing all articles
Browse latest Browse all 19390

qsys-sript tcl script parameters

$
0
0
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:

Code:

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:

Code:

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

Viewing all articles
Browse latest Browse all 19390

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>