Nonvolatile reconfigurable sequential logic in a HfO2 resistive random access memory array | Synapse