In this topic:
Axxxx in out model_name
Name | Description | Flow | Type | Allowed types |
in | Input | inout | g | g, gd |
out | Output | out | d | d |
.MODEL model_name adc_schmitt parameters
Name | Description | Type | Default | Limits |
in_low | Maximum 0-valued analog input | real | 0.1 | none |
in_high | Minimum 1-valued analog input | real | 0.9 | none |
rise_delay | Rise delay | real | 1nS | ???MATH???1\text{e}^{-12} - \infty???MATH??? |
fall_delay | Fall delay | real | 1nS | ???MATH???1\text{e}^{-12} - \infty???MATH??? |
time_tol | Threshold time tolerance | real | 100pS | ???MATH???1\text{e}^{-12} - \infty???MATH??? |
out_low | Analog out for 'ZERO' input | real | 0 | none |
out_high | Analog output 'ONE' input | real | 5 | none |
clamp_res | Clamp minimum resistance | real | 1 | 1e-06 ???MATH???- \infty???MATH??? |
clamp_bias | Clamp voltage | real | 0.8 | 0.2 - 2 |
out_family | Output logic family | string | UNIV | none |
init_cond | Initial condition | real | 0 | none |
This device is basically identical to the Analog-Digital Interface Bridge. The only difference is the behaviour of the device when the analog input lies between the threshold voltages. With the interface bridge, the output is UNKNOWN under these circumstances but with this Schmitt Trigger, the output retains its previous value and so is always in a known state. In summary, the output will only switch from low to high when the input exceeds the higher threshold (IN_HIGH) and will only switch from high to low when the input descends below the lower threshold (IN_LOW).
If initial input voltage lies between the hysteresis thresholds, the output state is determined by the init_cond parameter.
◄ Controlled Digital Oscillator | Overview ▶ |