Design and Evaluation of a Bit-Parallel Magnitude-Comparison CAM Based on TMR Logic