Electrical – Construct an 32 X 8 RAM using 4 of 16 X4 RAM chips

designdigital-logicmemory

Note1: I know that the 16 X 4 memory contains 4 output lines. there is also a 4-bit input to construct the 16 WORDS.

Note2: The problem arises as the RAM 32 X 8 contains 8 output lines and 5-bit input. But i want to use 4 of RAM 16 X 4.

Question: What can i do about my design to get the RAM 32 X 8 with correct input and output lines.

Best Answer

You double the number of addresses by using the high order address bit to generate a chip select (If you also have a chip select line then use logic gates to combine it with the address line). You double the number of bits by putting two chips in parallel. Same address and control lines to both of them but different data lines.

schematic

simulate this circuit – Schematic created using CircuitLab