Original generator for Brian's spike