Hades logo    Hades applet banner

TAMS / Java / Hades / applets (print version): contents | previous | next

RAM (random access memory) structure

RAM (random access memory) structure screenshot

Description

This applet demonstrates the internal organization of a typical random access memory (RAM). The RAM consists of four main parts, namely

Just play with the RAM inputs (address, data, nChipSelect, and nWriteEnable) and try to write data to the memory cells. You can also check the next three applets for predefined animation sequences:

Also, additional applets are provided to demonstrate the individual sub-components of the RAM:

In order to minimize the chip size of the RAM, a very small size of each storage cell and an efficient layout and signal routing in the memory matrix is essential. One obvious choice is the use of orthogonal wires to access the memory. The wordlines run horizontally and are enabled to select one word of memory data. The bitlines run vertically and are connected to storage cells of different memory address. In the applet, two separate bitlines are used for each data bit. The left bitline of each pair is used to write data into the storage cell selected by an active wordline, while the right bitline is used to read the data. The RAM shown in the applet stores 4 words of 4-bit each (a 4x4 bit RAM). For each cell, an extra LED is used to visualize the data currently stored in the cell (undefined, 0, or 1).

The two most important types of RAM differ in the choice of the storage cell. In principle, any type of latch or flipflop can be used to build a static random access memory, this is, a memory whose contents remains stored while the circuit is powered. Perhaps the most frequently used cell, the so-called six-transistor cell is a variant of the standard transmission-gate latch. An interactive applet demonstration of the 6T-cell can be found here. Besides the use of only six transistors to store one-bit of information, the 6T-cell also allows for a very compact routing of signal wires. In dynamic random access memory (DRAM) chips, the storage cell consists of a single NMOS-transistor and a tiny capacitor. A high or low voltage (charge) on the capacitor is interpreted as a logical 1 or 0 value. Due to leakage, the charge on the capacitor has to be refreshed periodically.

Run the applet | Run the editor (via Webstart)


Impressum | 24.11.06
http://tams-www.informatik.uni-hamburg.de/applets/hades/webdemos/40-memories/40-ram/ram_print.html