Patent ID: 7061407

Claim:
An encoder, comprising: a first storage array configured with a first set of values and having an address port coupled to receive a first portion of an input value, the first array adapted to output a first value of the first set in response to a value of the first portion of the input value; a second storage array configured with a second set of values and having an address port coupled to receive a second portion of the input value, the second array adapted to output a second value of the second set in response to a value of the second portion of the input value; and a selection circuit having input ports coupled to the first storage array and the second storage array, the selection circuit adapted to output the second value from the second storage array as an encoded value of the input value in response to the first portion having a third value, and output the first value from the first storage array as the encoded value in response to the second portion having a fourth value.