Let a ROM is to be used in a binary to gray code converter circuit. To get the gray code of the input 11011. What will be the row and column number of the ROM?

Let a ROM is to be used in a binary to gray code converter circuit. To get the gray code of the input 11011. What will be the row and column number of the ROM? Correct Answer 32 rows, 5 columns

As the input is of 5 bit, we need a 5 bit input port. Thus 5 input lines will specify 25 = 32 words i.e. 32 rows. As the output length will also be 5 bit, the number of columns will also be 5.

Related Questions

Consider 4-bit gray code representation of numbers. Let  h3 h2 h1 h0 be the gray code representation of a number n and g1g2g3g0 be the gray code representation of the number (n + 1) modulo 16. Which one of the following functions is correct?