PEDS: Parallel Error Detection Secheme for TCAM Devices