Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Ocean Script - Is it possible to pass command line argument to the script directly?

Status
Not open for further replies.

dineshbabumm

Advanced Member level 4
Joined
Dec 7, 2005
Messages
101
Helped
9
Reputation
18
Reaction score
2
Trophy points
1,298
Activity points
2,052
Hello All,

I am running few ocean scripts to automate the simulations. I am wondering if it is possible to pass command line argument to the ocean script directly like in PERL or TCL scripting. I think the answer is no from my search online. Any input on how to pass input to the script directly from command line is highly appreciated.

Thanks,
Dinesh
 

Maybe "SKILL IPC" is helpful for your purpose.
IPC mean "Inter Process Communication".

Search related fuctions by using "SKILL Finder" with keyword of "ipc".

Or simply "system()" is enough for your purpose.
 
Last edited:

Another possibility you should consider is using PERL or
another scripting lanuguage to "assemble" an Ocean run
file from "components". For example you might have a
"header" that has consistent include-chain / search path
and system variables settings, a "custom" portion that
has the electrical variables and analysis, an "output"
that saves the data you want or calculates / plots,
etc.

I've used awk this way to build veriloga stimulus and
output-checking files from raw .vcd files, and back
when there was a decent command language (cdsSpice)
I used to write all the sims that way, lots of reuse. And
we've used Cadence menu hacks to invoke PERL for
netlist pre-processing.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top