Why didn't you use the conventional topology with a switched capacitor DAC?
Luis Henrique Rodovalho
08/28/2023, 6:35 AM
image.png
t
Tài Trần Tấn
08/28/2023, 2:03 PM
Currently I am a student so I choose simple circuit knowledge to understand the circuit well. This is a simple SAR ADC circuit architecture with more components.
l
Luis Henrique Rodovalho
08/28/2023, 9:33 PM
I'm used to simulate only small analog circuit, as references and amplifiers. In your case, ngspice doesn't have a simple function to calculate the ADC linearity. You have to output the transient simulation results to a text file, and then make your measurements using another software. It could be octave, or even python.
Just be sure you have your testbenches working fine. If you're sure your circuit already works for a ramp or sinewave circuit, then, show us your testbench and simulation control structures.
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.