• 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. ahdlLib quantizer Block

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 126
  • Views 9260
  • 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

ahdlLib quantizer Block

Firdos
Firdos over 3 years ago

Hello,

I am using quantizer block from ahdlLib block. I am applying a sawtooth wave and then quantized it into 4 levels. Quantized output should be equally quantized in time and value. But somehow I am getting non-uniform quantized output having two end of low duration. Can anyone help me why is it happening and how to solve it?

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago

    If you look at what the model is doing, this is entirely expected. The threshold level will be half way between the four quantised levels (the step is (high-low)/(nlevel-1)) and it will round to the nearest. If you don't want that rounding then set the round parameter to 0, but that would mean that the highest quantisation level is reached only when you are at or above 1V - which may not be what you want.

    You'll need to think about which quantisation levels you want and where you want the thresholds to be. 

    Note also that there's nothing to precisely control the quantisation switching points in these models (they don't @cross to control the time step around the threshold crossings) but that probably doesn't matter in most applications.

    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