Mayank wrote on Nov 30th, 2009, 12:02am:3. Export Iouts at every code into some file, say csv, and read it in MATLAB.
I don't think MATLAB is needed.
Static INL and static DNL are very easy measurements.
Simply do DC simulation with ramp input code.
Input signal can be described like following, if you use Cadence Spectre Netlist.
Din<n> (in<n> 0) vsource type=dc dc=int(input_code) & (1<<n) ? Vhigh : VlowThen do post processing based on definition of INL and DNL by using your post processing environment.
Any EDA Tool have some languages for post processing.
If you use Cadence ADE, OCEAN script is available.
Do you have any code for actual measurement using actual instruments, e.g. Visual-Basic Program for GPIB(SCPI) ?
I can easily do coding for EDA Tool environment from codes of actual measurement.
Sometimes, first I create automation program in EDA Tool, then transplant it to actual measurement environment.
If you have actual experience of measurements, you can easily set up simulation for measurement.
EDA Tool Play is no more than Tool Play.
There is nothing superior to the actual measurement using actual instruments.
If you have Instrument Control Toolbox of MATLAB, you can share codes for measurement both in actual measurement and simulation domains.
http://www.mathworks.com/products/instrument/