User Tools

Site Tools


soft:cadence:simulations:usefull_calc_formulas

This is an old revision of the document!


Usefull Cadence Virtuoso ADE Calculator formulas

DAC simulations

  • INL calculation from transient ramp:
(((abs(value(SIGNAL T_SAMPLE ?period T_PERIOD ?xName "cycle")) - (((ymax(abs(value(SIGNAL T_SAMPLE ?period T_PERIOD ?xName "cycle"))) - ymin(abs(value(SIGNAL T_SAMPLE ?period T_PERIOD ?xName "cycle")))) * (xval(abs(value(SIGNAL T_SAMPLE ?period T_PERIOD ?xName "cycle"))) - 1)) / No_of_STATES)) + ymin(abs(value(SIGNAL T_SAMPLE ?period T_PERIOD ?xName "cycle")))) / ((ymax(abs(value(SIGNAL T_SAMPLE ?period T_PERIOD ?xName "cycle"))) - ymin(abs(value(SIGNAL T_SAMPLE ?period T_PERIOD ?xName "cycle")))) / No_of_STATES))

Where:
SIGNAL - signal name, i.e. IT(“/R0/PLUS”) or VT(“/out_dac”)
T_SAMPLE - time of first sample
T_PERIOD - sampling period
No_of_STATES = 2^N-1 - number of DAC states (for 8 bit DAC it is 255)

  • DNL calculation from transient ramp
((deriv(value(abs(IT("/R1/PLUS")) 7e-07 ?period 1e-06 ?xName "cycle")) / ((ymax(value(abs(IT("/R1/PLUS")) 7e-07 ?period 1e-06 ?xName "cycle")) - ymin(value(abs(IT("/R1/PLUS")) 7e-07 ?period 1e-06 ?xName "cycle"))) / 127)) - 1)
/services/www/http/wiki/data/attic/soft/cadence/simulations/usefull_calc_formulas.1387453134.txt.gz · Last modified: 2019/03/08 14:06 (external edit)