Thanks guys for yours replays, probably my question was generic too. My problem is to realize a custom circuit that can generate a square wave form with variable duty cycle and fixed period.
The simplest method is to use a ramp generator followed by a comparator with a variable reference. The ramp generator can be implemented as a current charging a capacitor. The reference can be a resistive divider where one of the resistors is a pot.