Block Diagram of RAM and ROM
Block Diagram of RAM
In Random Access Memory (RAM), the memory cells can be accessed for information transfer from any desired random location. That is the process of locating a word in memory is the same and requires an equal amount of time no matter where the cells are located physically in memory: thus the name “Random Access“. Communication between memory and its environment achieved through data input and output lines, address selection lines, and control lines that specify the direction of transfer. A block diagram of a RAM unit is shown below figure:
1. Apply the binary address of the desired word to the address lines.
2. Apply the data bits that must be stored in memory into the data input lines.
3. Activate the write input.
The memory unit will then take the bits presently available in the input data lines and store them in the word specified by the address lines. The steps that must be taken to transfer a stored word out of memory are as follows:
1. Apply the binary address of the desired word to the address lines.
2. Activate the read input.
The memory unit will then take the bits from the word that has been selected by the address and apply them to the output data lines. The content of the selected word does not change after reading.
Block Diagram of ROM
Read Only Memory (ROM) is a memory unit that performs the read operation only, it does not have a write capability. This implies that the binary information stored in a ROM is made permanent during the hardware production of the unit and cannot be altered by writing different words into it. Whereas RAM is a general-purpose device whose contents can be altered during the computational process.
A ROM is restricted to reading words that are permanently stored within the unit. The binary information to be stored, specified by the designer, and then embedded in the unit to form the required interconnection pattern. ROMs come with special internal electronic fuses that can be “programmed” for a specific configuration. Once the pattern is established, it stays within the unit even when power is turned off and on again. An m x n ROM is an array of binary cells organized into m words of n bits each. The block diagram of ROM is shown below figure: