• 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. dft error with a valid transient waveform

Stats

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

dft error with a valid transient waveform

Aldo2
Aldo2 over 8 years ago

Hello,

I want to calculate the dft of a transient waveform.

Thought vtime('tran "/out") is a valid waveform (it can be plotted with no error), I get the following error message:

*WARNING* yvector wrong type.

expression evaluation failed: val is not legal.
expression evaluation failed: dft(vtime('tran "/out") 100n 200n 1024 "Rectangular" 1 "default" 1.0 )
"(\"putprop\" 0 t nil (\"*Error* putprop: first arg must be either symbol, list, defstruct or user type\" nil))"

I tried also with VT("/out"), but the same error appeared.

I am using ic 615isr20121027 and mmsim 15.10.602

Thank you

Best regards,

Aldo

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    Hi Aldo,

    Have you by any chance set the output format to "psf with floats" on the Options->Save Options (in the Output Format choice at the bottom)? If so, this is a limitation - the DFT implementation doesn't support single-precision floating point numbers for the y-values. 

    You need to pick psf, psfxl or sst2. The only reason to use "psf with floats" (or psfbinf) would be to save disk space - but it does have this limitation (CCR 1607385) currently.

    Assuming that's what you're seeing that is!

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Aldo2
    Aldo2 over 8 years ago
    Hi Andrew,
    I selected "psf with floats" trying to have a faster post-processing.
    Is psfxl the fastest format? What about fsdb?

    Thank you
    Best regards
    Aldo
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    Hi Aldo,

    psfxl is intended to be the format for faster reading of the data into ViVA. fsdb is mainly there to support use with third-party tools (it's not our format), and so I wouldn't necessarily want to suggest that (I don't know how universal the support is, especially as you're using an older version). Once the data is read in, it should really matter which format was picked (other than if you only have single precision numbers). One issue with psfbinf is that you only get about 7 decimal significant digits.

    Generally speak if you only have small numbers of points, it doesn't matter that much. If you have millions of points, and/or tens or hundreds of thousands of signals, pick psfxl. I'd also suggest using IC617 rather than IC615 if you're concerned about performance.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Aldo2
    Aldo2 over 8 years ago
    Thank you very much
    • 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