ocean scripts

Guest
Hi all,

I am new to ocean scrpts. Please tell me how I can run the script in
commandline.
I want to pass the input file as an argument to ocean (inside a C
code). Please tell me the proper syntax.

Atul Agrawal
 
You are referred to the ocean script reference doc in your tools
installation docs.

One way you may run is the following,
ocean -nograph < cornersTranDC.ocn > cornersTranDC.log

atul.ee@gmail.com wrote:
Hi all,

I am new to ocean scrpts. Please tell me how I can run the script in
commandline.
I want to pass the input file as an argument to ocean (inside a C
code). Please tell me the proper syntax.

Atul Agrawal
 
On 28 Nov 2006 06:12:23 -0800, "tattvamasi@gmail.com" <tattvamasi@gmail.com>
wrote:

You are referred to the ocean script reference doc in your tools
installation docs.

One way you may run is the following,
ocean -nograph < cornersTranDC.ocn > cornersTranDC.log
Personally I tend to use:

ocean -nograph -restore cornersTranDC.ocn

(assuming you want -nograph). "ocean" then goes interactive
at the end, so you'd need to ensure there is a call to "exit()" at
the end of the OCEAN script if you want it to exit.

Regards,

Andrew.
--
Andrew Beckett
Principal European Technology Leader
Cadence Design Systems, UK.
 
Andrew Beckett wrote:
On 28 Nov 2006 06:12:23 -0800, "tattvamasi@gmail.com" <tattvamasi@gmail.com
wrote:

You are referred to the ocean script reference doc in your tools
installation docs.

One way you may run is the following,
ocean -nograph < cornersTranDC.ocn > cornersTranDC.log


Personally I tend to use:

ocean -nograph -restore cornersTranDC.ocn

(assuming you want -nograph). "ocean" then goes interactive
at the end, so you'd need to ensure there is a call to "exit()" at
the end of the OCEAN script if you want it to exit.

Regards,

Andrew.
--
Andrew Beckett
Principal European Technology Leader
Cadence Design Systems, UK.

Thanks Andrew and Vamsi ,
Your comments were very helpful
Atul
 

Welcome to EDABoard.com

Sponsor

Back
Top