• 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. ADE XL: Problems using ocean script results after parametric...

Stats

  • Locked Locked
  • Replies 0
  • Subscribers 125
  • Views 13329
  • 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

ADE XL: Problems using ocean script results after parametric analysis...

lperktold
lperktold over 15 years ago
Hello all,

I've setup a transient analysis and use some ocean scripts to perform some calculations. If I sweep a global variable the corresponding ocean scripts get evaluated correctly and their values are plotted correctly versus the swept parameter.

Now if I want to use the results of the parametric analysis to perform some more calculations after the simulation has finished (e.g. derivative some results to find their gains etc.) the ocean scripts don't evaluate correctly if I want to use them in a calculator expression.

Actually, I try to get the time where the first intersection of two waveform occurs. To do that I use the drGetWaveform and drGetElem functions. This works fine if the expression gets evaluated on a single waveform but fails as soon as it gets evaluated after the parametric run has finished (e.g. by using the calcVal() function).
As far as I understood this is due to the fact that after a parametric analysis a VT("/Q") expression returns a waveform family instead of a single one. Consequently, it would need to be handled differently in my ocean scripts similar as presented in http://www.designers-guide.org/Forum/YaBB.pl?num=1262205969 but at the end I would need to build up a waveform (or something equivalent) to be able to calculate the derivative, right?

It would be much easier if I could use the values already calculated and shown in the Results browser of the ADE Software suite.

Does anybody have a hint, how to use the results obtained from the Summary tab and use them in a calculator expression. It seems to me that the ADE XL Suite does not allow for post-processing of the data obtained "during" simulations but I might overlook something.

I am using virtuoso version 6.1.4.500.3.

Thanks a lot in advance,

Lukas

ps: Here is the ocean script I use to calculate the delay of a fully differential signal for different biasing currents:


sig1 = clip(VT("/Q") 7.5e-9 12.5e-9 )
sig2 = clip(VT("/_Q") 7.5e-9 12.5e-9 )

sig3 = clip(VT("/Q+1") 7.5e-9 12.5e-9 )
sig4 = clip(VT("/_Q+1") 7.5e-9 12.5e-9 )


vcQ = intersect( sig1 sig2 )

;just process the first intersection point if more occurances
if("other" == symbolToString(type(vcQ)) then
 YVec = drGetWaveformYVec(vcQ)
 XVec = drGetWaveformXVec(vcQ)

 tcQ = drGetElem(XVec 0)
 vcQ = drGetElem(YVec 0))


vcQ1 = intersect( sig3 sig4 )

;just process the first intersection point if more occurances
if("other" == symbolToString(type(vcQ1)) then
 YVec = drGetWaveformYVec(vcQ1)
 XVec = drGetWaveformXVec(vcQ1)

 tcQ1 = drGetElem(XVec 0)
 vcQ1 = drGetElem(YVec 0))


axlResult = tcQ1 - tcQ
  • 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