• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. Can't start command si -batch under skill

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 2930
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Can't start command si -batch under skill

MedAn
MedAn over 8 years ago

Hi all!

I write a small script to generate si.env file and start procedure for cdlOut.

But process finished without any error and without any  results. If I try to start the same command with the same si.env file under 'bash' - all works fine.

I try to start command: "si -batch -command netlist" under ipcBeginProcess and under system but result the same.

Could you pls. tell me, what I did wrong?

There is my small code:

procedure(runCDLout(lib cell)
prog(
(id)

;;remove lock file
when(isFile(strcat(getWorkingDir() "/.running"))
system(sprintf(nil "rm %s/.running" getWorkingDir()) );
);
;;create si.env file
siEnvPrep(lib cell);

id = ipcBeginProcess("si -batch -command netlist");
ipcWait(id);
;system("si -batch -command netlist > si.log");
);end prog
);irunCDLout

procedure(siEnvPrep(lib cell)
prog(
(outFile runDir)
runDir = strcat(getWorkingDir() "/act_generator/cdl");
outFile = outfile("./si.env" "w");
fprintf(outFile sprintf(nil "simLibName = \"%s\" \nsimCellName = \"%s\" \nsimViewName = \"schematic\" \n
simSimulator = \"auCdl\" \n
simNotIncremental = nil\n
simReNetlistAll = 't\n
simViewList = '(\"auCdl\" \"schematic\" \"symbol\")\n
simStopList = '(\"auCdl\")\n
hnlNetlistFileName = \"%s\" \n
resistorModel = \"\"\n
shortRES = 2000.0 \n
preserveRES = 't \n
checkRESVAL = 't \n
checkRESSIZE = 'nil \n
preserveCAP = 't \n
checkCAPVAL = 't \n
checkCAPAREA = 'nil \n
preserveDIO = 't \n
checkDIOAREA = 't \n
checkDIOPERI = 't \n
checkCAPPERI = 'nil \n
simPrintInhConnAttributes = 'nil \n
checkScale = \"meter\" \n
checkLDD = 'nil \n
pinMAP = 'nil \n
shrinkFACTOR = 0.0 \n
globalPowerSig = \"\" \n
globalGndSig = \"\" \n
displayPININFO = 't \n
preserveALL = 't \n
setEQUIV = \"\" \n
incFILE = \"\" \n
auCdlDefNetlistProc = \"ansCdlSubcktCall\"" lib cell strcat(cell ".cdl")
);end sprintf
);end fprintf

close(outFile);

))

in log file I have only this: 

Virtuoso Framework License (111) was checked out successfully. Total checkout time was 0.05s.

  • Cancel
Parents
  • MedAn
    MedAn over 8 years ago
    Hi Andrew!

    Ok, thx.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • MedAn
    MedAn over 8 years ago
    Hi Andrew!

    Ok, thx.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information