• 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. How to find all the crossing of the signal

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 124
  • Views 21790
  • 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

How to find all the crossing of the signal

wgtkan
wgtkan over 10 years ago

I used the cross function to get all the crossings and plot the waveform. But it didn’t display all the crossings.

 

I am trying to plot pulse vs temperature. This is what I have done. I performed a transient simulation in ADEL by specifying the stop time to 400ns.

 

Then did a parametric simulation of temperature for from -50C to 125C linear step size of 10C. It gave me the transient response at the specified temperatures.

I used the cross function to return the plot of the pulse vs temperature. The plot doesn’t look correct because it only gave me part of the time. It didn’t give me the whole pulse rang from (0-400ns)

How do plot the whole time vs temperature. (0-400ns) vs -50 to 125C

I am attaching the plot with this question.

 

 

Here is the argument that I gave to the cross function.

My output signal VT(“/Pout”)

Threshold value: 0.75

Edge number: 2

Edge Type: either

Number of Occurrences: Single I tried multiple also but it plot time vs time.

Plot/print vs: time

 

My understanding is that the cross function returns the x value where a signal crosses the threshold y value.

Thank you.

  • Cancel
Parents
  • ShawnLogan
    ShawnLogan over 10 years ago

    Dear wgtkan,


    The expression for the cross() function shown above your plot of its result is for a single waveform crossing. Hence, the y-axis is limited to the maximum initial crossing of your signal. You noted that you also tried multiple crossings. What expression did you try? I use the cross() function extensively. A typical multiple crossing use of the cross() function to obtain the x-crossing values about a 0.0 thrreshold  as a function of the waveform cycle is:

    cross(hsclki_clipped 0 0 "rising" t "cycle")


    where "hsclki_clipped" is a clipped waveform.

    Shawn

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • ShawnLogan
    ShawnLogan over 10 years ago

    Dear wgtkan,


    The expression for the cross() function shown above your plot of its result is for a single waveform crossing. Hence, the y-axis is limited to the maximum initial crossing of your signal. You noted that you also tried multiple crossings. What expression did you try? I use the cross() function extensively. A typical multiple crossing use of the cross() function to obtain the x-crossing values about a 0.0 thrreshold  as a function of the waveform cycle is:

    cross(hsclki_clipped 0 0 "rising" t "cycle")


    where "hsclki_clipped" is a clipped waveform.

    Shawn

    • 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