Emulate an ADC in QSPICE

Just an idea to implement textbook type waveform. Input allows 0V to FullScale, convert to output 0-255 (unsigned integer), and trigger by rising edge of clk.

2 Likes