R
Reotaro Hashemoto
Guest
Hi,
I've created a simple file that contains set of commands calling
functions, this file looks like:
myCreateNetlist(libName cell1 list(par11 val11 par21 val21 par31
val31))
myCreateNetlist(libName cell2 list(par12 val12 par22 val22 par32
val32))
myCreateNetlist(libName cell3 list(par13 val13 par23 val23 par33
val33))
.....
The function myCreateNetlist() is based on calling Calibre netlisting
function:
_mgc_rve_create_cdl_netlist()
This function uses si somehow to create the netlist through
ipcBeginProcess (i cant see in the file any usage of ipcWait...)
This is part of the skill_query file in Calibre: ($CALIBRE_HOME/shared/
pkgs/icv/tools/queryskl/mgc_export.skl)
......
procedure( _mgc_rve_create_cdl_netlist(libName cellName viewName
fileName "tttt")
prog( (si_cmd)
mgc_rve_set_cdlout_keys(libName cellName viewName
fileName)
when( mgc_rve_globals->show_cdl_dlg && !
mgc_rve_export_cdl_dlg(t)
return()
) ; when
printf("\n*** Calibre Interactive: Exporting netlist
for cell %s ***\n" cellName)
g_mgcExportCdlConnectFile = fileName
when( mgc_rve_create_sienv_file()
si_cmd = mgc_rve_export_netlist_cmd(libName
cellName viewName fileName)
ipcBeginProcess(si_cmd "" 'mgc_rve_cdl_handler
'mgc_rve_cdl_handler 'mgc_rve_cdl_postFunc)
) ; when
return(t)
) ; prog
) ; _mgc_rve_create_cdl_netlist
......
What happens is:
when I load the file of commands, it stops after processing first
line, although if i executed line by line in CIW it works!!!
Should I somehow wait for each command to be executed?
I've tried to use ipcSkillProcess() together with ipcWaitForProcess()
but reached nothing...
Any suggestions?
Thanks,
Ahmad
I've created a simple file that contains set of commands calling
functions, this file looks like:
myCreateNetlist(libName cell1 list(par11 val11 par21 val21 par31
val31))
myCreateNetlist(libName cell2 list(par12 val12 par22 val22 par32
val32))
myCreateNetlist(libName cell3 list(par13 val13 par23 val23 par33
val33))
.....
The function myCreateNetlist() is based on calling Calibre netlisting
function:
_mgc_rve_create_cdl_netlist()
This function uses si somehow to create the netlist through
ipcBeginProcess (i cant see in the file any usage of ipcWait...)
This is part of the skill_query file in Calibre: ($CALIBRE_HOME/shared/
pkgs/icv/tools/queryskl/mgc_export.skl)
......
procedure( _mgc_rve_create_cdl_netlist(libName cellName viewName
fileName "tttt")
prog( (si_cmd)
mgc_rve_set_cdlout_keys(libName cellName viewName
fileName)
when( mgc_rve_globals->show_cdl_dlg && !
mgc_rve_export_cdl_dlg(t)
return()
) ; when
printf("\n*** Calibre Interactive: Exporting netlist
for cell %s ***\n" cellName)
g_mgcExportCdlConnectFile = fileName
when( mgc_rve_create_sienv_file()
si_cmd = mgc_rve_export_netlist_cmd(libName
cellName viewName fileName)
ipcBeginProcess(si_cmd "" 'mgc_rve_cdl_handler
'mgc_rve_cdl_handler 'mgc_rve_cdl_postFunc)
) ; when
return(t)
) ; prog
) ; _mgc_rve_create_cdl_netlist
......
What happens is:
when I load the file of commands, it stops after processing first
line, although if i executed line by line in CIW it works!!!
Should I somehow wait for each command to be executed?
I've tried to use ipcSkillProcess() together with ipcWaitForProcess()
but reached nothing...
Any suggestions?
Thanks,
Ahmad