What is the simplest way (least amount of jellybean components) to implement a square wave generator that goes high when it's input sine wave is positive and goes low when its input sine wave is negative? I want to implement the following function: y = x / ( x + 0^sin(x))
Lets assume I have a 50 ~ 100 MHz sine wave output coming in from an signal generator. It seems like you could get this done with one transistor, but I'm not sure what transistor selection I should use for this.