Hello,
I am trying to create procedure trigerred by starting of a simulation in ocean script with many corners using runParam() command.
I found way to do that with the Flowchart fucntions and it works ( I am using IC6.15 and ADE-L is opened), see the code bellow:
procedure(Sim_trigger_PCT()
let((sess_local)
if(asiGetCurrentSession() != nil then
sess_local = asiGetCurrentSession()
asiChangeFlowchartStep(asiGetFlowchart(sess_local)
?name 'asiNetlist
?preFunc 'CCSLoadScript_try
)
);;if
);;let
);;proc
procedure( CCSLoadScript_try(sess)
printf("Test\n")
);;proc
But I want procedure CCSLoadScript_try to have more arguments, see the same code little bit modified:
procedure(Sim_trigger_PCT()
let((sess_local num_local)
num_local = 1
if(asiGetCurrentSession() != nil then
sess_local = asiGetCurrentSession()
asiChangeFlowchartStep(asiGetFlowchart(sess_local)
?name 'asiNetlist
?preFunc (CCSLoadScript_try sess_local num_local)
)
);;if
);;let
);;proc
procedure( CCSLoadScript_try(sess num)
printf("Test %d\n" num)
);;proc
In that case the script is trigerred only once (there is only one text note "Test 1" in the log file), and then NO simulation has been done.
Thanks in advance for the help!