Hades logoHades applet banner
CMOS 4x1 bit SRAM

applet icon

The image above shows a thumbnail of the interactive Java applet embedded into this page. Unfortunately, your browser is not Java-aware or Java is disabled in the browser preferences. To start the applet, please enable Java and reload this page. (You might have to restart the browser.)

Circuit Description

This applet demonstrates the switch-level simulation of a 4x1 bit CMOS SRAM.

Click the input switches or type the following bindkey to control the simulation: 'a' and 'b' to control the address lines A0 and A1, 'd' to control the data input value, and 'e' to enable the input tristate-drivers.

The applet includes four 6-transistor memory cells, organized as a static random-access memory with four words and 1-bit per word. Depending on the selected (A1,A0) address, one of the four horizontal wordlines is enabled. The corresponding memory cell is then connected via the n-channel pass-transistors to the vertical bitlines. For electrical reasons, all cells are connected by two bitlines, with the bitline on the left of the cell carrying the original memory data, while the bitline to the right of the call carries the inverted data.

When the (active low) write_enable input is activated, the strong input tristate buffers are enabled, and any previous memory data of the currently addressed memory cell is overwritten with the current data input value.

Once data has been written to a memory cell, the write_enable line can be deactivated (high), which in turn disables the input tristate buffers. The bitlines are now driven by the cross-coupled inverters inside the addressed memory cell. In the applet, the value of the positive bitline (left of the cell) is then used as the output of the SRAM. In an actual SRAM circuit, extra (differential) amplifiers are used to generate a strong output signal from the weak signals on both bitlines.

Further reading: Please also check the several gate-level SRAM applets in the memories chapter.

Print version | Run this demo in the Hades editor (via Java WebStart)
Usage | FAQ | About | License | Feedback | Tutorial (PDF) | Referenzkarte (PDF, in German)
Impressum http://tams-www.informatik.uni-hamburg.de/applets/hades/webdemos/05-switched/40-cmos/sram4.html