1. An encoder comprising: an input to receive a plurality of data bits; a plurality of parity generators coupled to the input to generate a plurality of parity bits using the data bits; a controller coupled to the plurality of parity generators to control the plurality of parity generators without accessing a look-up table; and an output coupled to the input and the plurality of parity generators to output the data bits and the parity bits; wherein the data bits are pipelined from the input to the output.