This document discusses error detection techniques for memory applications using difference set codes. It begins by introducing difference set codes and the (21,11) difference set code. It then describes the conventional decoder for this code and issues with silent data corruption when decoding words with 3 or more errors. The document proposes an error detection majority logic decoding technique that can detect errors in 3 cycles to reduce latency and detect uncorrectable errors. This approach avoids the issues with the conventional decoder while enhancing error detection capabilities for memory applications.