• 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. MDL: create a new waveform and save it into a wavefile

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 125
  • Views 13870
  • 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

MDL: create a new waveform and save it into a wavefile

PatrikOsgnach
PatrikOsgnach over 8 years ago

Hello,

I have this MDL file:

alias measurement mdltest { 

run tran
print fmt("%g %g\n", xval(voutp), yval(voutp)) addto="sample.txt"
export real divided = V(voutp) / V(voutn)

}

run mdltest

and I run it with this command:

spectre =mdl main.mdl input.scs

During the simulation, a sample.txt file is created and the X and Y values of the signal are periodically written to it, as expected (it is important that I do not have to wait for the simulation to end).
I would expect the wave file, called mdltest.meas_tran (in this context), to contain a signal called "divided" and this signal should be the ratio of voutp and voutn at every time step of this transient simulation.

Instead, I have a signal which has only a single point of data. Why is this happening? The reference manual is not very clear on how to generate and plot a new signal from an expression.

Thank you and best regards,

Patrik

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    Patrik,

    I'm not sure this is possible (from a quick check). I may be wrong though and I didn't do much experimentation, so I suggest you contact customer support as then it can be looked into in more detail and an enhancement CCR filed if it's not currently possible.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    Patrik,

    I'm not sure this is possible (from a quick check). I may be wrong though and I didn't do much experimentation, so I suggest you contact customer support as then it can be looked into in more detail and an enhancement CCR filed if it's not currently possible.

    Regards,

    Andrew.

    • 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