Analog-to-Logic Converter (a2d)
The analog-to-logic converter transfers analog waveforms to a logic simulator.
This device is not supported within altergroup.
Sample Instance Statement
da99 (cmp_out 0) a2d dest=”99991” vl=0 vh=5 timex=200u
// 99991 is a digital net in the Verilog netlist.
Instance Syntax
Name p n a2d parameter=value ...
Instance Parameters
|
dest
|
The foreign simulator name for the destination of the signal.
|
|
nestlev=0
|
Number of nesting levels to be ignored in the hierarchical name. This should be used to skip over extra levels that do not exist in the co-simulator.
|
|
vl=0 V
|
Voltages below this will be logical 0.
|
|
vh=5 V
|
Voltages above this will be logical 1.
|
|
timex=1 s
|
Time signal can linger between vl and vh before the state becomes X.
|
Related Topics
device checker (assert)
Logic-to-Analog Converter (d2a)
Circuit Components
Return to top