1. A method of decoding a message having one or more erasures, the method comprising: mapping a survival pattern for the message to a survival pattern group of a plurality of survival pattern groups, wherein one or more of the survival pattern groups of the plurality of survival pattern groups includes two or more survival patterns with common survived symbols; generating a control signal indicative of the survival pattern group at a survival pattern mapping circuit; selecting, by a multiplexer in response to the control signal and an input signal indicative of the message, survived symbols of the message based on the survival pattern group; generating a first plurality of signals from the multiplexer indicative of the survived symbols; selecting, by an inversion matrix lookup circuit configured to receive the control signal, an inversion matrix based on the survival pattern group; generating a second plurality of signals from the inversion matrix lookup circuit indicative of the inversion matrix; performing, using a multiplier circuit configured to receive the first and second pluralities of signals, a matrix multiplication based on the survived symbols and the inversion matrix to obtain a decoded message.