Spike-timing-dependent learning in memristive nanodevices | Synapse