• 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. spectre MDL - changing values of x-axis

Stats

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

spectre MDL - changing values of x-axis

slim15
slim15 over 6 years ago

I am running a transient simulation and would like to use Spectre MDL to calculate the fft of a signal. For correct processing, I need to change the value of the x-axis of the signal and in normal ADE or ADEXL simulation, I used to fix it using drPutWaveformXVec. Is there similar comment for SpectreMDL?

Regards,

Su Lim

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    I don't really understand what this would mean in MDL. What does your MDL script look like?

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • slim15
    slim15 over 6 years ago in reply to Andrew Beckett

    Hi andrew,

    Within my MDL script, I have spectre perform a transient simulation. After which I have this statement

      real out_wave[] = sample(sig=V(reference), from = 1.33e-7, to=7.36e-7, by=6.7e-8, type='linear)

    if I were to do xval(out_wave[]) I would have 1.33e7, 2.00e7, 2.67e-7 and etc. Is it possible to change the modify the x-y pair of out_wave such that xval(out_wave[0:3] is now 0, 1e-6, and 2e-6?

    I would like to do this change before I execute the dft function like dft(sig=out_wave, from=0, to=9, numPoints=32, window="Rectngular") that is further down in my MDL script. 

    Regards,

    Su Lim

    am executing a transient simulation. After 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to slim15

    I'm pretty certain this can't be done. Not quite sure what the benefit would be - you could achieve the same by altering the arguments to the fft function...

    Regards,

    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