ADC

The ADC module allows you to read analog values from the DUT via an analog to digital converter. The adc net type is different from the analog net type in that with adc you get a single value with a read. The analog net type gives you full oscilloscope functionality.

Read

adc_net_read.py
 from lager import Net, NetType

 v33_rail = Net.get('V33',
         type=NetType.ADC)

 print(v33_rail.input())
READ ADC Net's Value
 ~  lager adc V33 --dut 1
 ~  3.330