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 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.
 

invoke ocesn script through shell

it is just:
ocean < your_script.ocn
 

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"
 

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

Back
Top