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 in batch mode

Status
Not open for further replies.

sabyasachi.iitkgp

Newbie level 3
Joined
May 9, 2009
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,334
ocean batch

I am using ocean scripts in interactive mode.Can it be used in batch mode. I want to mean that can i run a shell script so that i can run say 10 ocean script sequencially without any user intervention.

I have writtten one shell script but it is not working

#!/bin/sh

ocean
load"/home/sabyasachi/Desktop/DC_CORNER_MODEL/ocn/pmos/tt.ocn"

exit

it is opening ocean in interactive mode and i have to give commands manually.
 

JoannesPaulus

Advanced Member level 3
Joined
Mar 19, 2008
Messages
773
Helped
235
Reputation
470
Reaction score
134
Trophy points
1,323
Location
USA
Activity points
5,006
invoke ocesn script through shell

it is just:
ocean < your_script.ocn
 

a_cube_e

Newbie level 4
Joined
Oct 12, 2006
Messages
5
Helped
9
Reputation
18
Reaction score
7
Trophy points
1,283
Location
Philippines/Malaysia
Activity points
1,309
run ocean in batch mode

Create another script that includes all your script. Ex.
all.ocn this has the following lines:
load "tt.ocn"
load "ff.ocn"
load "ss.ocn"
 

dick_freebird

Advanced Member level 5
Joined
Mar 4, 2008
Messages
7,242
Helped
2,118
Reputation
4,240
Reaction score
1,971
Trophy points
1,393
Location
USA
Activity points
58,069
load design ocean scripts

You may need to run from within cdsWrapper to get
all the externalities, automagically set up.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top