• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. i use paramAnalysis and how to get the output?

Stats

  • Locked Locked
  • Replies 9
  • Subscribers 144
  • Views 14968
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

i use paramAnalysis and how to get the output?

imagesensor123
imagesensor123 over 14 years ago

 Hi ,

    I use paramAnalysis in my ocean to do a parametric analysis, and now i want to get the output of every sweep value at the certain time . for example, i used the paramAnalysis( "lin" ?start 10u ?stop 50u ?step 10u) to do a transient simulation for 100us , now how can i get the vout value for lin=10 time=50us and lin=20u time=50u ,and so on.In addition , i found that the command "value" can get the signal value at the specified time,like value(v("vout") 50u), but how can i get the value "vout lin=20 time=50us" ? thanks

Regrads,

zfeng

  • Cancel
Parents
  • KMan2011
    KMan2011 over 13 years ago

    Thanks Andrew

     Indeed, the sweepNames() function returns "case" "tsh" "time".

    I can even autoplot the individual cases/corners.  I just can't seem to wrok on the data.  Here's a snapshot ..{fout is a declared and opened file handle with the 'w' option}

    paramAnalysis("case" ?values '(0 1)

    paramAnalysis("tsh" ?values '(-5e-10 -4e-10)

    ))

    resultsDir("./psf1")

    paramRun()

    openResults("./psf1")

    selectResults('tran)

    tf=cross(v("Vout") 1 3 'falling)

    ocnPrint(?output fout tf)

    close(fp)

     ...........................END

    Fingers crossed I've copied all the brackets across carefully.  If I ocnPrint v("Vout"), then I it prints the Vout vs time for both case 0 and 1.  If I change the desVar( "case" 0) to desVar( "Case" 0), then the above code prints both cases, but such a variable doesn't exist so the corner never moves from nominal.

     

    I think I may go back to basics and try a nested 'foreach' loop.  I read that paramAnalysis() is quicker to implement and easier, but I can't figure out why it has a problem with 'case'.

    Cheers Man!

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • KMan2011
    KMan2011 over 13 years ago

    Thanks Andrew

     Indeed, the sweepNames() function returns "case" "tsh" "time".

    I can even autoplot the individual cases/corners.  I just can't seem to wrok on the data.  Here's a snapshot ..{fout is a declared and opened file handle with the 'w' option}

    paramAnalysis("case" ?values '(0 1)

    paramAnalysis("tsh" ?values '(-5e-10 -4e-10)

    ))

    resultsDir("./psf1")

    paramRun()

    openResults("./psf1")

    selectResults('tran)

    tf=cross(v("Vout") 1 3 'falling)

    ocnPrint(?output fout tf)

    close(fp)

     ...........................END

    Fingers crossed I've copied all the brackets across carefully.  If I ocnPrint v("Vout"), then I it prints the Vout vs time for both case 0 and 1.  If I change the desVar( "case" 0) to desVar( "Case" 0), then the above code prints both cases, but such a variable doesn't exist so the corner never moves from nominal.

     

    I think I may go back to basics and try a nested 'foreach' loop.  I read that paramAnalysis() is quicker to implement and easier, but I can't figure out why it has a problem with 'case'.

    Cheers Man!

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information