Pulse train simulator