s002wjh
New Contributor
4 years agopassing value to tcl
is there anyway to pass value to a variable in side the tcl. either from tcl console under quartus or using quartus_sh under linux?
for example
i have text.tcl, inside is
set test 0
in my cmd line i want to
quartus_sh -t test.tcl test =5
or in tcl console/
source test.tcl test=5
thx. seem "exec" would work but everytime i try
exec quartus_sh -t top.tcl 5 it just freeze quartus