Documente Academic
Documente Profesional
Documente Cultură
Description : Digital code converters are used to convert digital code from one format to another.The code may be in
binary,gray,BCD format.We only represent numbers from (0-9) in binary into BCD code and it will be simply their binary representation.While in case of gray code,MSB of binary code of any decimal number is kept same and on moving to right bit is added with its previous bit (or doing xor operation).In this case carry is neglected and the resulting sequence is known as gray code for an decimal number. Gray code is a binary numeral system where two successive values differ in only one bit.
endmodule
end endmodule
endmodule