archiveover 18 years ago Now that the vcvs component from analogLib allows you to specify "vmax" and "vmin" for the outputs, you can build the world's simplest ideal comparator just by giving a vcvs a very high gain (say 1,000) and specifying the desired maximum and minimum output volta...