The A/D Converter (or AD Converter) component is a simple analog to digital converter with a resolution of bits.
The input voltage is converted to an -vector of type Logic.
The input resistance between positive and negative pin is given by .
The input signal range is divided into equally spaced stages of length .
The output signal is the binary code of as long as the input voltage takes values in the -th stage, namely in the range from to .
The output only changes its value when the trigger signal of type Logic changes to 1 (forced or weak).
The output vector is little-endian, that is, the first bit, , is the least significant.
Dynamic behavior is not modeled; the output changes instantaneously when the trigger signal rises.