LEDs are showing how bipolar stepper motor would work. Left side of circuit is a square signal generator with NOT logic element just for some signal to drive with. I've tried to use real logic elements here, but the software kept saying "cannot find solution" stuff. Your example of merging TTL with analog elements would be highly appreciated. Thank you.