Spike random number generator