7.2 Analog design of a comparator in Xschem & Ngspice