Monte Carlo Analysis using Ocean

Status
Not open for further replies.

Deka87

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.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…