Inventors:
Samuel D Naffziger - Ft Collins CO
Kevin Lee Jones - Fort Collins CO
Assignee:
Hewlett-Packard Development Company, L.P. - Houston TX
International Classification:
G06F 1100
Abstract:
Disclosed is an apparatus and method for detecting errors in one-hot words, which have only a single bit set in the absence of errors. The apparatus comprises a plurality of input signal lines, a plurality of switching devices, a plurality of intermediate signal lines, and logic circuitry. The switching devices are connected to the input signal lines. The intermediate signal lines are also connected to the switching devices. The connection is in such a way that when a particular input signal line is set, all intermediate signal lines connected by a switching device to that particular input signal line are forced to a predetermined logic state. The intermediate signal lines are input to the logic circuitry, which outputs a signal indicative of whether at least two of the plurality of input signal lines are set. The method detects non-one-hot conditions in a group of M bits. The method encodes the group of M bits into at least 2·log M encoded bits, such that each one-hot condition in the group of M bits generates a unique condition in the encoded bits.