GATE PULSE GENERATOR