Ocean script from UNIX terminal

S

Samiran

Guest
Hi,

How can I invoke and run ocean scripts from unix terminal (I am using
bash shell)?

Cheers
Sam
 
Samiran wrote, on 05/05/10 18:13:
Hi,

How can I invoke and run ocean scripts from unix terminal (I am using
bash shell)?

Cheers
Sam
Sam,

You could read the documentation? (The OCEAN Reference Manual)

Use either:

ocean -restore oceanScript.ocn

or

icfb [-nographE] -restore oceanScript.ocn

(the second is if you're using IC5141 and want to use the design(lib cell view)
form of the design function; if using IC61X, you can netlist with the "ocean"
executable).

Actually the documentation suggests redirecting the input rather than using the
-restore argument, but personally I think the -restore method is better, and I
promote that in the Cadence OCEAN training class.

The shell you're using doesn't matter.

Regards,

Andrew.


--
Andrew Beckett
Senior Solution Architect - Cadence Design Systems Ltd (UK)
 
On May 6, 12:40 pm, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm>
wrote:
Samiran wrote, on 05/05/10 18:13:

Hi,

How can I invoke and run ocean scripts from unix terminal (I am using
bash shell)?

Cheers
Sam

Sam,

You could read the documentation? (The OCEAN Reference Manual)

Use either:

ocean -restore oceanScript.ocn

or

icfb [-nographE] -restore oceanScript.ocn

(the second is if you're using IC5141 and want to use the design(lib cell view)
form of the design function; if using IC61X, you can netlist with the "ocean"
executable).

Actually the documentation suggests redirecting the input rather than using the
-restore argument, but personally I think the -restore method is better, and I
promote that in the Cadence OCEAN training class.

The shell you're using doesn't matter.

Regards,

Andrew.

--
Andrew Beckett
Senior Solution Architect - Cadence Design Systems Ltd (UK)
I OceanRef the instruction given:

To load an OCEAN script,
1. Type the following command to start OCEAN:
ocean
The OCEAN prompt appears.
2. Use the SKILL load command to load your script:
load( "script_name.ocn" )
Messages about the progress of your script appear.

I followed it: enter $ocean , but got the error: bash: ocean: command
not found

What do I need to change to include the command? Do I need to update
my .bashrc file? What will be the update statement?

Please help!

Regards
Sam.
 
Samiran wrote, on 05/07/10 06:12:
I OceanRef the instruction given:

To load an OCEAN script,
1. Type the following command to start OCEAN:
ocean
The OCEAN prompt appears.
2. Use the SKILL load command to load your script:
load( "script_name.ocn" )
Messages about the progress of your script appear.

I followed it: enter $ocean , but got the error: bash: ocean: command
not found

What do I need to change to include the command? Do I need to update
my .bashrc file? What will be the update statement?

Please help!

Regards
Sam.
Sam,

This is really a basic UNIX question. Your $PATH cannot be set up properly.

The "ocean" executable is in <ICinstDir>/tools/dfII/bin - the same place as icfb
(in IC5141) and virtuoso (in IC614).

You would need to have the path to your IC installation in the $PATH definition.
If you are managing to run icfb/virtuoso somehow, then presumably you must have
some kind of wrapper script in place around it? What does "which icfb" or "which
virtuoso" say - is the resulting path inside the Cadence installation?

Without knowing how your environment is set up (or not), it's very hard to give
you the answer. It ought to just be a matter of putting:

export PATH=<ICinstDir>/tools/dfII/bin:<ICinstDir>/tools/bin:$PATH

in your .bashrc , but if there are wrapper scripts in place (for some reason -
maybe because you are submitting the icfb/virtuoso jobs to a queueing system),
that may not be the "right" thing to do for your environment.

Regards,

Andrew.
 
Samiran wrote:

I OceanRef the instruction given:

To load an OCEAN script,
1. Type the following command to start OCEAN:
ocean
....

I followed it: enter $ocean , but got the error: bash: ocean: command
not found
We have to suppose '$' is your prompt?
You are not running this as root, aren't you?
As already stated, you have first to take some basic lessons
on the topic 'command line'.

PM
 
On May 7, 5:22 pm, PM <p...@gmx.de> wrote:
Samiran wrote:

I OceanRef the instruction given:

To load an OCEAN script,
1. Type the following command to start OCEAN:
ocean

...

I followed it: enter $ocean , but got the error: bash: ocean: command
not found

We have to suppose '$' is your prompt?
You are not running this as root, aren't you?
As already stated, you have first to take some basic lessons
on the topic 'command line'.

PM
Dear Sam,

You really lack basic Unix knowledge and Cadence knowledge. Also
please enhance the good practice of reading different Cadence manuals
available within the doc folder of every type of Cadence Software
distribution.

You will get answer to every basic question you have .


Thanks and Regards !!!!

Debjit.
 
Dear Samiran,
I suppose you are using .bashrc file. Copy my
settings of .bashrc file . It will run.
 

Welcome to EDABoard.com

Sponsor

Back
Top