• 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 Design
  3. Transient-Noise Analysis, problem with multiple run mod...

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 125
  • Views 14316
  • 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

Transient-Noise Analysis, problem with multiple run mode

Amir0098
Amir0098 over 9 years ago

Hello every body

I am pretty new in using OCEAN script and it would be great if someone help me with my problem:

I am running transient-noise analysis and I want to do multiple run to check my circuit in different noise conditions and understand the probability of the error in my circuit. The problem is that when I am running simulation in multiple run mode, previously perfect functions like 'Value' return 'waveform object' like srrWave XXXX (when I print the result in a file using fprintf) instead of for example a voltage in a specific time. What do I need is to have an specific number as an output for my 'Value function'. Then I am able to compare the influence of noise in different iterations. Can anyone help me in this regard?

***** 

in1=value(v("/in1" ?result "sweep_tran-sweep"),"Iteration" 6.0) t )

*****

(The Cadence Version I am using is IC6.1.4)

Thank you so much in advance,

Regards,

Amir

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    If you want a single number, you'd need to specify the time you wish to get the value for. You're expression doesn't make sense as it has an extra t ) on the end for some reason. You'd need to do this kind of thing:

    ocnPrint(value(v("/in1" ?result "tran") 150u)) ; 150u is the time I want to look at. 

    This will print the value of the voltage at that time for all iterations. Note I'm using the "aliased" name for the results (the results browser in newer versions of the IC tools shows the aliased name, which is more portable - you're using a long unsupported version of the tools) - so ?result "tran". You can do that too...

    Now, if you want to get the value for a particular iteration too, you could either do:

    in1=value(value(v("/in1" ?result "tran") "Iteration" 6) 150u)

    or you could swap the two value calls around:

    in1=value(value(v("/in1" ?result "tran") 150u) 6) ; could put "Iteration" before the 6 too.

    The waveform is structured with the time being the inner axis, so by default value operates on the inner axis each time - so in the second statement above, the 150u slices the values at that time leaving a waveform of the values at that time versus iteration, and then the second value call picks out the value at that iteration number (since that's now the inner axis).

    Hope that helps,

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Amir0098
    Amir0098 over 9 years ago

    Thank you so much Andrew for your response. Your suggestions worked out for me and I got my desire result. I really appreciate your active participation in the forum. 

    Kind regards,

    Amir

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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