Pulser for arbitrary width and position square pulse trains generation