+ Post New Thread
Results 1 to 5 of 5
  1. #1
    Member level 1
    Points: 1,065, Level: 7

    Join Date
    Apr 2011
    Location
    Iran
    Posts
    34
    Helped
    0 / 0
    Points
    1,065
    Level
    7

    calculation of INL and DNL

    Hi.
    I designed a cyclic ADC and at this time I want to calculate INL and DNL parameters with Hspice software so does anybody can help me?
    I download a file about this subject from this site but I can't understand that what should I do in Hspice software?( I talk about what should I do in Hspice software and then uses these datas in matlab software )
    Best wishes
    A.Jafari

    •   Alt12th August 2012, 14:07

      advertising

        
       

  2. #2
    Member level 2
    Points: 1,659, Level: 9
    Achievements:
    7 years registered

    Join Date
    Jan 2009
    Location
    Norway
    Posts
    49
    Helped
    6 / 6
    Points
    1,659
    Level
    9

    Re: calculation of INL and DNL

    I am no expert on this topic, but I can give it a try.

    You can connect the output of your ADC to a ideal DAC (Verilog-A model or similar). You can then extract the simulation waveform of the DAC output and calculate INL and DNL.

    I personally prefer to write Verilog-A models for both DAC and an INL/DNL evaluator which prints the INL/DNL data to a file.

    -Yarr



    •   Alt21st August 2012, 12:53

      advertising

        
       

  3. #3
    Newbie level 6
    Points: 384, Level: 4

    Join Date
    Aug 2012
    Posts
    11
    Helped
    1 / 1
    Points
    384
    Level
    4

    Re: calculation of INL and DNL

    Hi, Hspice software has a2d function, you may find out the syntax by google.a program example as:

    vref VREFA2D 0 DC 0.0V
    um1 m1 VREFA2D a2d signame=1
    ul1 l1 VREFA2D a2d signame=2


    "um1" and "m1" mean signals from your ADC module.

    an a2d file would be generated if simulation is performed. the format of the file like:

    101 1:3 1:17
    201 1:4 1:7 1:8 1:9 1:11 1:12 1:14


    the data can be handled and used in matlab program.

    hope this reply helps.



    •   Alt21st August 2012, 16:20

      advertising

        
       

  4. #4
    Member level 1
    Points: 1,065, Level: 7

    Join Date
    Apr 2011
    Location
    Iran
    Posts
    34
    Helped
    0 / 0
    Points
    1,065
    Level
    7

    Re: calculation of INL and DNL

    Thanks for your answer.
    But I can't understand that what did you say?could you give more examples?
    I designed a Cyclic ADC I the Hspice software and now I want to calculate those parameters with matlab.what should I do ?
    Thanks
    Best wishes
    A.Jafari



  5. #5
    Member level 1
    Points: 1,065, Level: 7

    Join Date
    Apr 2011
    Location
    Iran
    Posts
    34
    Helped
    0 / 0
    Points
    1,065
    Level
    7

    Re: calculation of INL and DNL

    I ask again
    please suppose that I implement a cyclic ADC with Hspice software and i want to calculate INL and DNL parameters so
    I apply a kind of voltage source and read output digital data that they come out of our converter.
    so my questions are?
    1. what is the input voltage source and what kind of power I have to use?
    2. how can I use output data in matlab software to calculate those parameters?(I mean how can I use output data of Hspice software?)
    thank you.



--[[ ]]--