In IC design, the typical approach for generating a pulse width-modulated (PWM) signal from an analog value (such as in the control loop for a switch mode power supply) uses a ramp or triangle wave ...
Years ago, before such a wide range of functionality was available, engineers mocked up small circuits with counters and decoders to generate the specific pulse patterns they needed. Of course, that ...