real_to_xbit_var :
A real-to-xbit connector with variable logic-1 and logic-0 levels.
The real_to_xbit_var
primitive converts a real-type signal to an xbit-type signal with variable logic-1 and logic-0 levels. The threshold level required to convert the analog level of the input in
to a digital level of the output out
is computed as a mid-level between the two real-type inputs: level1
and level0
.
Input/Output Terminals
Name | I/O | Type | Description |
out | output | xbit | xbit-type output |
in | input | real | real-type input |
level0 | input | real | conversion level for logic 0 |
level1 | input | real | conversion level for logic 1 |