Signup/Sign In

Random Access Memory(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.

Communication between a memory and its environment is 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:

Random Access Memory

The n data input lines provide the information to be stored in memory, and the n data output lines supply the information coming out of particular word chosen among the 2k available inside the memory. The two control inputs specify the direction of transfer desired.


RAM: Write and Read Operations

The two operations that a random access memory can perform are the write and read operations. The write signal specifies a transfer-in operation and the read signal specifies a transfer-out operation. On accepting one of these control signals. The internal circuits inside the memory provide the desired function. The steps that must be taken for the purpose of transferring a new word to be stored into memory are as follows:

  1. Apply the binary address of the desired word into 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 specified by the address lines. The steps that must be taken for the purpose of transferring a stored word out of memory are as follows:

  1. Apply the binary address of the desired word into 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 into the output data lines. The content of the selected word does not change after reading.