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.

Monte Carlo Analysis using Ocean

Status
Not open for further replies.

Deka87

Newbie level 6
Newbie level 6
Joined
Jan 12, 2013
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,390
Good Moorning at all

I'm a newbie in Cadence IC 6 and now I want to use Ocean to get a Monte Carlo analysis from my schematic.

I've written a simple script in ocean:

monteCarlo(?numIters "3" ?startIter "1" ?analyisisVariation 'mismatch ?sweptParam "None" ?sweptParamVals "27"
?saveData t ?nomRun "yes" ?append "nill")

monteExpr("vocm" '((VDC("/VA")+VDC("/VB"))/2))

monterun()

fprintf(fileport,"%f\n" vocm)

close(file_port)

ocean runs correctly the MC, but I'm not able to save the data to my file
.


Thanks in advanced
 

- fileport already defined?

- fprintf(fileport,"%s\n" vocm) # string expected, not a floating number

- you didn't tell which results should be written to the vocm file

- close(fileport) , without underscore
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top