• 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. Measuring transient currents using Ocean

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 125
  • Views 14337
  • 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

Measuring transient currents using Ocean

coco009
coco009 over 16 years ago

Hi,

 

I have a small issue that I hope somebody would be able to help me with.

 

I am running transient sims on a current bias and sinking current through a 0V vdc cell. Using the ADE calculator, I can do the command: value( IT("/myVDC/PLUS") myTime). This gives me the value of the current at a specified time at the PLUS terminal of the VDC. Great, exactly what I want.

 

However, if I do this command within an ocean script, it appears to fail, i.e., it returns a nil value and I dont know why? (I am saving the current at this node within the script). Furthermore, my ocean script is able to plot the transient current at this node with no problems.

I dont understand why the same command from the calculator, value( IT("/myVDC/PLUS") myTime) does not work within ocean. Does anybody have any idea why this command would not work in Ocean or have any idea where the problem may arise?

 

 

Thanks very much in advance!

 

coco009

  • Cancel
  • skillUser
    skillUser over 16 years ago

     Hi,

     I would recommend using the "i" data access function, for example:


     selectResult('tran)
     value(i("/myVDC/PLUS") myTime)

    You may need to try with and without the leading "/".

    Regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skillUser
    skillUser over 16 years ago

     Also, consider using an "iprobe" device instead of a zero-voltage DC source, the latter will add to the complexity of the circuit and require additional equations to be solved, whereas the iprobe will not, so it is more efficient.

    Regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • coco009
    coco009 over 16 years ago

    Hi Lawrence,

     

    Thanks very much for your prompt reply. I tried out what you suggested and it worked fine, so thanks for that. If I have time, I will try and understand what was going on there.

     

    I will also take on board your suggestion regarding the iprobe cell. I think that is a good idea.

     

    Thanks again!

     

    coco009

    • 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