The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 19th, 2024, 6:29pm
Pages: 1
Send Topic Print
DNL of '-1' and an INL of  '0' (Read 2177 times)
eternity
Junior Member
**
Offline



Posts: 28

DNL of '-1' and an INL of  '0'
May 12th, 2014, 9:37am
 
Hi all,
       I just have a small query regarding DNL and INL. I have a SAR ADC completely designed in verilogA. The DAC array in SAR ADC is implemented with ideal capacitors. When I tried calculating my DNL and INL through matlab scripts, it gives a DNL of '-1' and an INL of '0'.

       But when I try calculating DNL in spectre, it gives a non-zero DNL plot. I am not sure where I am going wrong. Can anyone here help me in this.


Eternity
Back to top
 
« Last Edit: May 12th, 2014, 11:05am by eternity »  
View Profile   IP Logged
carlgrace
Senior Member
****
Offline



Posts: 231
Berkeley, CA
Re: DNL of '-1' and an INL of  '0'
Reply #1 - May 13th, 2014, 3:44pm
 
It's very hard to respond without more information.

Are you saying the DNL for every code is -1 and the INL for every code is 0?

Your script is either not correctly calculating DNL and INL or you are not correctly getting the data into the script.

If you're using a ramp, the DNL of each is just the difference of each code from the average value across all codes and the INL is a running sum of the DNL.
Back to top
 
 
View Profile   IP Logged
eternity
Junior Member
**
Offline



Posts: 28

Re: DNL of '-1' and an INL of  '0'
Reply #2 - May 15th, 2014, 7:45am
 
Thanks for the reply and apologies in having been too abstract in my query.
yes, the dnl of all codes is -1 and inl of all codes is 0.
I attach a zoomed in screenshot of my transfer curve plot here that I use to compute DNL.
I sample 50 times for each code from zero to full scale level for this computation.

Thanks

Eternity
Back to top
« Last Edit: May 15th, 2014, 9:17am by eternity »  

dnl_plot.JPG
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.