• 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 SKILL
  3. spectrum function in OCEAN

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 14247
  • 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

spectrum function in OCEAN

ksnf3000
ksnf3000 over 12 years ago

Hi All,

I am trying to calculate the Effective no.of bits,SINAD,SNR etc. for a delta-sigma ADC. As per the OCEAN reference document on page 427  for the function "spectrum" , it shows that these parameters are calculated using the DFT of any given input signal. 

However,when I am using the below expression its showing that evaluation of the expression has failed. 

spectrum (dft(VT("/net028") 0 1e-06 4096 "Rectangular" 1 "default") 4096 500K 1 2G "Rectangular" nil "sinad")

Please provide your insights on this and what could be the possible solution for this.

FYI: I calculated the DFT separately and used the spectrum function which gave me an erroneous result( I assume!!) 

Regards,

Kashif 

  • Cancel
  • ksnf3000
    ksnf3000 over 12 years ago

     Hi All,

    While calculating the SNR,ENOB using the "spectrum" function in calculator,I seem to be getting rather erroneous results. As seen in the attachment, I am getting "-1.9 bits" as my resolution and the SNR/SFDR is 0!!  I really don't understand this why.

    I have followed the below steps for the above results

    Sent the transient output data to calculator. This is my input signal to the spectrum function.

    32768 is the number of bins I desire to use

    800K is the bin size. My transient simulation time was 1.25u

    1 is the starting FFT frquency

    13.1072G is the end FFT frequency.  // I had also performed a dft of the same signal from which I obtained the input & output signal       frequencies.

    Please let me know what is the problem. Is this an issue with Cadence or in the manner in which the computation is being done?

    Thanks!

    Kashif

     

    • Screenshot-19.png
    • View
    • Hide
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    Kashif,

    It's hard to debug without seeing the input data. Please contact customer support.

    Kind 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