結果 : encoder and decoder in digital circuits