The crossbar latch: Logic value storage, restoration, and inversion in crossbar circuits | Synapse