A 3T1R Nonvolatile TCAM Using MLC ReRAM with Sub-1ns Search Time