Quaternary true random number generator comprising gated p+–i–n+ diodes | Synapse