Figure 6: Gate/graphical expression of hamming decoder formula.