g3=b3, g2=b3⊕b2, g1=b2⊕b1, g0=b1⊕b0
MSBはそのまま出力
MSB以外は
上位ビットとXOR
MSB: Most Significant Bit 最上位ビット
LSB: Least Significant Bit 最下位ビット