An ultra-high-density and energy-efficient content addressable memory design based on 3D-NAND flash