Realize the code converter which converts the binary (BCD) code into the Hamming code as…

Realize the code converter which converts the binary (BCD) code into the Hamming code as specified in Table 6.4.