#### atulkulkarni

##### Newbie level 5

**N bit Adc vams model**

I am modelling a 12 bit ADC in vams.

The input range is 0.3 to 1.5V. i.e 0.3 = 000'H and 1.2V = FFF'H.

Need your help in selecting midpoint values

max= 1.5;

min=0.3

fullscale = max-min;

midpoint = fullscale/2.0;

This logic doesnt work.