• 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. Function to skip start of a signal

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 125
  • Views 10520
  • 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

Function to skip start of a signal

SteveVrk
SteveVrk over 3 years ago

For calculating certain quantities, e.g. rms voltage, I would like to skip the first, say, 10m of a signal.

Surprisingly I did not find any function which does this (like "cut" or so). In frequency domain, dft supports skipping a time!

I am aware of the setting to skip output via strobe etc. I do not want this since it would apply to all sim outputs. I would like to selectively cut a certain region of a signal via calculator function and then apply, say, stddev.

Thanks!

  • Cancel
  • ShawnLogan
    ShawnLogan over 3 years ago

    Dear SteveYrk,

    SteveVrk said:

    For calculating certain quantities, e.g. rms voltage, I would like to skip the first, say, 10m of a signal.

    Surprisingly I did not find any function which does this (like "cut" or so). In frequency domain, dft supports skipping a time!

    Perhaps I am totally misunderstanding your question Steve and I apologize for my lack of understanding if I am!

    However, the dft() function innately allows for examining on a portion of the time domain waveform - and also implicitly provides a low-pass filter.

    1. The dft() function syntax is:

    dft(
    o_waveform
    n_from
    n_to
    x_num
    [ t_windowName ]
    [ n_param1 ]
    [ n_adcSpan ]
    )
    => o_waveform / nil

    where n_from and n_to represent the initial and final time points respectively of your time domain waveform from which the DFT is computed. In the frequency domain, the low-pass filter the DFT implicitly provides is governed by the time span between n_from and n_to. Intuitively, any frequency domain component below this frequency will not be discernable in your time-domain sample as its period is greater than the time-domain sample.

    Once again, it may be my misunderstanding, by it appears you need to set the value of n_from to 10ms in your case to examine only the portion after 10ms.

    Shawn

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ShawnLogan
    ShawnLogan over 3 years ago

    Dear SteveYrk,

    SteveVrk said:

    For calculating certain quantities, e.g. rms voltage, I would like to skip the first, say, 10m of a signal.

    Surprisingly I did not find any function which does this (like "cut" or so). In frequency domain, dft supports skipping a time!

    Perhaps I am totally misunderstanding your question Steve and I apologize for my lack of understanding if I am!

    However, the dft() function innately allows for examining on a portion of the time domain waveform - and also implicitly provides a low-pass filter.

    1. The dft() function syntax is:

    dft(
    o_waveform
    n_from
    n_to
    x_num
    [ t_windowName ]
    [ n_param1 ]
    [ n_adcSpan ]
    )
    => o_waveform / nil

    where n_from and n_to represent the initial and final time points respectively of your time domain waveform from which the DFT is computed. In the frequency domain, the low-pass filter the DFT implicitly provides is governed by the time span between n_from and n_to. Intuitively, any frequency domain component below this frequency will not be discernable in your time-domain sample as its period is greater than the time-domain sample.

    Once again, it may be my misunderstanding, by it appears you need to set the value of n_from to 10ms in your case to examine only the portion after 10ms.

    Shawn

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • SteveVrk
    SteveVrk over 3 years ago in reply to ShawnLogan

    Hi Shawn, thanks for your response but yes, you are misunderstanding. I want a function that does the skipping in the time domain. I was saying I know that this works if I want to process data in frequency domain via dft function.

    stddev(cutSignal(v("/vout") 10m 100m))

    Thats what I want.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to SteveVrk

    Use the clip function. This allows you to specify the range of the waveform you want.

    Andrew

    • 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