1. A synapse for a spike timing dependent plasticity (STDP) function cell, the synapse comprising: a memory device having a variable resistance; and a transistor connected to the memory device; wherein a channel of the memory device is connected in series with a channel of the transistor.