I was developing a ADC block written in C++ and throughout such development I’ve stumbled (more than once) in the following question: Is is possible to used the C++ block in other analysis other than “.tran”? I’ve tried to use .ac analysis as a starter but did not get any output from the C++ block.
This is from Qspice HELP, AC Analysis (.ac)
.ac calculation requires linearization of a non-linear circuit at its DC operating point. Digital logic is switching between 0/1, .ac method is not designed to deal with that. Frequency response analysis for switching circuit is the topic of Frequency Response Analysis (.bode)
Thanks KSKelvin! I’ll try out here and post any further updates!