Memory cell (computing) explained

The memory cell is the fundamental building block of computer memory. The memory cell is an electronic circuit that stores one bit of binary information and it must be set to store a logic 1 (high voltage level) and reset to store a logic 0 (low voltage level). Its value is maintained/stored until it is changed by the set/reset process. The value in the memory cell can be accessed by reading it.

Over the history of computing, different memory cell architectures have been used, including core memory and bubble memory. Today, the most common memory cell architecture is MOS memory, which consists of metal–oxide–semiconductor (MOS) memory cells. Modern random-access memory (RAM) uses MOS field-effect transistors (MOSFETs) as flip-flops, along with MOS capacitors for certain types of RAM.

The SRAM (static RAM) memory cell is a type of flip-flop circuit, typically implemented using MOSFETs. These require very low power to keep the stored value when not being accessed. A second type, DRAM (dynamic RAM), is based around MOS capacitors. Charging and discharging a capacitor can store a '1' or a '0' in the cell. However, the charge in this capacitor will slowly leak away, and must be refreshed periodically. Because of this refresh process, DRAM uses more power. However, DRAM can achieve greater storage densities.

On the other hand, most non-volatile memory (NVM) is based on floating-gate memory cell architectures. Non-volatile memory technologies including EPROM, EEPROM and flash memory use floating-gate memory cells, which are based around floating-gate MOSFET transistors.

Description

The memory cell is the fundamental building block of memory. It can be implemented using different technologies, such as bipolar, MOS, and other semiconductor devices. It can also be built from magnetic material such as ferrite cores or magnetic bubbles.[1] Regardless of the implementation technology used, the purpose of the binary memory cell is always the same. It stores one bit of binary information that can be accessed by reading the cell and it must be set to store a 1 and reset to store a 0.[2]

Significance

Logic circuits without memory cells are called combinational, meaning the output depends only on the present input.But memory is a key element of digital systems. In computers, it allows to store both programs and data and memory cells are also used for temporary storage of the output of combinational circuits to be used later by digital systems.Logic circuits that use memory cells are called sequential circuits, meaning the output depends not only on the present input, but also on the history of past inputs.This dependence on the history of past inputs makes these circuits stateful and it is the memory cells that store this state. These circuits require a timing generator or clock for their operation.[3]

Computer memory used in most contemporary computer systems is built mainly out of DRAM cells; since the layout is much smaller than SRAM, it can be more densely packed yielding cheaper memory with greater capacity. Since the DRAM memory cell stores its value as the charge of a capacitor, and there are current leakage issues, its value must be constantly rewritten. This is one of the reasons that make DRAM cells slower than the larger SRAM (static RAM) cells, which has its value always available. That is the reason why SRAM memory is used for on-chip cache included in modern microprocessor chips.[4]

History

On December 11, 1946 Freddie Williams applied for a patent on his cathode-ray tube (CRT) storing device (Williams tube) with 128 40-bit words. It was operational in 1947 and is considered the first practical implementation of random-access memory (RAM).[5] In that year, the first patent applications for magnetic-core memory were filed by Frederick Viehe.[6] [7] Practical magnetic-core memory was developed by An Wang in 1948, and improved by Jay Forrester and Jan A. Rajchman in the early 1950s, before being commercialised with the Whirlwind computer in 1953.[8] Ken Olsen also contributed to its development.[9]

Semiconductor memory began in the early 1960s with bipolar memory cells, made of bipolar transistors. While it improved performance, it could not compete with the lower price of magnetic-core memory.[10]

MOS memory cells

See also: Semiconductor memory.

The invention of the MOSFET (metal–oxide–semiconductor field-effect transistor), also known as the MOS transistor, by Mohamed M. Atalla and Dawon Kahng at Bell Labs in 1959,[11] enabled the practical use of metal–oxide–semiconductor (MOS) transistors as memory cell storage elements, a function previously served by magnetic cores.[12] The first modern memory cells were introduced in 1964, when John Schmidt designed the first 64-bit p-channel MOS (PMOS) static random-access memory (SRAM).[13]

SRAM typically has six-transistor cells, whereas DRAM (dynamic random-access memory) typically has single-transistor cells.[14] [15] In 1965, Toshiba's Toscal BC-1411 electronic calculator used a form of capacitive bipolar DRAM, storing 180-bit data on discrete memory cells, consisting of germanium bipolar transistors and capacitors.[16] [17] MOS technology is the basis for modern DRAM. In 1966, Robert H. Dennard at the IBM Thomas J. Watson Research Center was working on MOS memory. While examining the characteristics of MOS technology, he found it was capable of building capacitors, and that storing a charge or no charge on the MOS capacitor could represent the 1 and 0 of a bit, while the MOS transistor could control writing the charge to the capacitor. This led to his development of a single-transistor DRAM memory cell.[18] In 1967, Dennard filed a patent for a single-transistor DRAM memory cell, based on MOS technology.[19]

The first commercial bipolar 64-bit SRAM was released by Intel in 1969 with the 3101 Schottky TTL. One year later, it released the first DRAM integrated circuit chip, the Intel 1103, based on MOS technology. By 1972, it beat previous records in semiconductor memory sales.[20] DRAM chips during the early 1970s had three-transistor cells, before single-transistor cells became standard since the mid-1970s.[14] [15]

CMOS memory was commercialized by RCA, which launched a 288-bit CMOS SRAM memory chip in 1968.[21] CMOS memory was initially slower than NMOS memory, which was more widely used by computers in the 1970s. In 1978, Hitachi introduced the twin-well CMOS process, with its HM6147 (4kb SRAM) memory chip, manufactured with a 3 μm process. The HM6147 chip was able to match the performance of the fastest NMOS memory chip at the time, while the HM6147 also consumed significantly less power. With comparable performance and much less power consumption, the twin-well CMOS process eventually overtook NMOS as the most common semiconductor manufacturing process for computer memory in the 1980s.[22]

The two most common types of DRAM memory cells since the 1980s have been trench-capacitor cells and stacked-capacitor cells. Trench-capacitor cells are where holes (trenches) are made in a silicon substrate, whose side walls are used as a memory cell, whereas stacked-capacitor cells are the earliest form of three-dimensional memory (3D memory), where memory cells are stacked vertically in a three-dimensional cell structure.[23] Both debuted in 1984, when Hitachi introduced trench-capacitor memory and Fujitsu introduced stacked-capacitor memory.

Floating-gate MOS memory cells

See also: Floating-gate MOSFET and Nonvolatile memory.

The floating-gate MOSFET (FGMOS) was invented by Dawon Kahng and Simon Sze at Bell Labs in 1967.[24] They proposed the concept of floating-gate memory cells, using FGMOS transistors, which could be used to produce reprogrammable ROM (read-only memory).[25] Floating-gate memory cells later became the basis for non-volatile memory (NVM) technologies including EPROM (erasable programmable ROM), EEPROM (electrically erasable programmable ROM) and flash memory.[26]

Flash memory was invented by Fujio Masuoka at Toshiba in 1980.[27] Masuoka and his colleagues presented the invention of NOR flash in 1984,[28] and then NAND flash in 1987.[29] Multi-level cell (MLC) flash memory was introduced by NEC, which demonstrated quad-level cells in a 64Mb flash chip storing 2-bit per cell in 1996.[30] 3D V-NAND, where flash memory cells are stacked vertically using 3D charge trap flash (CTP) technology, was first announced by Toshiba in 2007,[31] and first commercially manufactured by Samsung Electronics in 2013.[32] [33]

Implementation

The following schematics detail the three most used implementations for memory cells:

Operation

DRAM memory cell

Storage

The storage element of the DRAM memory cell is the capacitor labeled (4) in the diagram above. The charge stored in the capacitor degrades over time, so its value must be refreshed (read and rewritten) periodically. The nMOS transistor (3) acts as a gate to allow reading or writing when open or storing when closed.[34]

Reading

For reading the Word line (2) drives a logic 1 (voltage high) into the gate of the nMOS transistor (3) which makes it conductive and the charge stored at the capacitor (4) is then transferred to the bit line (1). The bit line will have a parasitic capacitance (5) that will drain part of the charge and slow the reading process. The capacitance of the bit line will determine the needed size of the storage capacitor (4). It is a trade-off. If the storage capacitor is too small, the voltage of the bit line would take too much time to raise or not even rise above the threshold needed by the amplifiers at the end of the bit line. Since the reading process degrades the charge in the storage capacitor (4) its value is rewritten after each read.[35]

Writing

The writing process is the easiest, the desired value logic 1 (high voltage) or logic 0 (low voltage) is driven into the bit line. The word line activates the nMOS transistor (3) connecting it to the storage capacitor (4). The only issue is to keep it open enough time to ensure that the capacitor is fully charged or discharged before turning off the nMOS transistor (3).

SRAM memory cell

Storage

The working principle of SRAM memory cell can be easier to understand if the transistors M1 through M4 are drawn as logic gates. That way it is clear that at its heart, the cell storage is built by using two cross-coupled inverters. This simple loop creates a bi-stable circuit. A logic 1 at the input of the first inverter turns into a 0 at its output, and it is fed into the second inverter which transforms that logic 0 back to a logic 1 feeding back the same value to the input of the first inverter. That creates a stable state that does not change over time. Similarly the other stable state of the circuit is to have a logic 0 at the input of the first inverter. After been inverted twice it will also feedback the same value.[36]

Therefore there are only two stable states that the circuit can be in:

\scriptstyleQ

= 0 and  

\scriptstyle\overline{Q}

= 1

\scriptstyleQ

= 1 and  

\scriptstyle\overline{Q}

= 0

Reading

To read the contents of the memory cell stored in the loop, the transistors M5 and M6 must be turned on. when they receive voltage to their gates from the word line (

\scriptstyleWL

), they become conductive and so the

\scriptstyleQ

and  

\scriptstyle\overline{Q}

 values get transmitted to the bit line (

\scriptstyleBL

) and to its complement (

\scriptstyle\overline{BL}

).[36] Finally this values get amplified at the end of the bit lines.[36]

Writing

The writing process is similar, the difference is that now the new value that will be stored in the memory cell is driven into the bit line (

\scriptstyleBL

) and the inverted one into its complement (

\scriptstyle\overline{BL}

). Next transistors M5 and M6 are open by driving a logic 1 (voltage high) into the word line (

\scriptstyleWL

). This effectively connects the bit lines to the by-stable inverter loop. There are two possible cases:
  1. If the value of the loop is the same as the new value driven, there is no change;
  1. if the value of the loop is different from the new value driven there are two conflicting values, in order for the voltage in the bit lines to overwrite the output of the inverters, the size of the M5 and M6 transistors must be larger than that of the M1-M4 transistors. This allows more current to flow through first ones and therefore tips the voltage in the direction of the new value, at some point the loop will then amplify this intermediate value to full rail.[36]

Flip-flop

See main article: Flip-flop (electronics).

The flip-flop has many different implementations, its storage element is usually a latch consisting of a NAND gate loop or a NOR gate loop with additional gates used to implement clocking. Its value is always available for reading as an output. The value remains stored until it is changed through the set or reset process. Flip-flops are typically implemented using MOSFETs.

Floating gate

See also: Floating-gate MOSFET and Charge trap flash.

Floating-gate memory cells, based on floating-gate MOSFETs, are used for most non-volatile memory (NVM) technologies, including EPROM, EEPROM and flash memory.[26] According to R. Bez and A. Pirovano:

See also

Notes and References

  1. Book: D. Tang. Denny. Lee. Yuan-Jen. Magnetic memory: Fundamentals and technology. 2010. Cambridge University Press. 978-1139484497. 91. 13 December 2015.
  2. Book: Fletcher. William. An engineering approach to digital design. 1980. Prentice-Hall. 0-13-277699-5. 283. registration.
  3. Book: Microelectronic circuits. registration. 1987. Holt, Rinehart and Winston, Inc.. 0-03-007328-6. 883. Second.
  4. Web site: The technical question: the cache, how does it work?. https://web.archive.org/web/20140330034345/http://www.pcworld.fr/materiel/actualites,lqt-cache-cpu-memoire-cache-sram,547751,1.htm. dead. 30 March 2014. PC World Fr. fr.
  5. Book: O’Regan. Gerard. Giants of computing: A compendium of select, pivotal pioneers. 2013. Springer. 978-1447153405. 267. 13 December 2015.
  6. Book: Reilly, Edwin D.. Milestones in computer science and information technology. registration. 2003. Greenwood publishing group. 9781573565219. 164.
  7. Book: IBM's 360 and early 370 systems. registration. W. Pugh. Emerson. R. Johnson. Lyle. H. Palmer. John. 1991. MIT Press. 0262161230. 706. 9 December 2015.
  8. Web site: 1953: Whirlwind computer debuts core memory. Computer History Museum. 2 August 2019.
  9. Book: Taylor, Alan. Computerworld: Mass. Town has become computer capital. 18 June 1979. IDG Enterprise. 25.
  10. Web site: 1966: Semiconductor RAMs serve high-speed storage needs. . 19 June 2019.
  11. 1960 - Metal oxide semiconductor (MOS) transistor demonstrated. The Silicon Engine. Computer history museum.
  12. Web site: Transistors - an overview. ScienceDirect. 8 August 2019.
  13. Book: Solid state design - vol. 6. 1965. Horizon house.
  14. Web site: Late 1960s: Beginnings of MOS memory. Semiconductor history museum of Japan. 23 January 2019. 27 June 2019.
  15. Web site: 1970: Semiconductors compete with magnetic cores. Computer history museum. 19 June 2019.
  16. Web site: Spec sheet for Toshiba "TOSCAL" BC-1411. Old calculator web museum. 8 May 2018. live. https://web.archive.org/web/20170703071307/http://www.oldcalculatormuseum.com/s-toshbc1411.html. 3 July 2017.
  17. Web site: Toshiba "Toscal" BC-1411 desktop calculator. https://web.archive.org/web/20070520202433/http://www.oldcalculatormuseum.com/toshbc1411.html. 20 May 2007.
  18. Web site: DRAM. IBM100. IBM. 20 September 2019. 9 August 2017.
  19. Web site: Robert Dennard. Encyclopædia Britannica. 8 July 2019.
  20. Book: Encyclopedia of microcomputers: volume 9 - Icon programming language to knowledge-based systems: APL techniques. Kent. Allen. Williams. James G.. 6 January 1992. CRC press. 9780824727086. 131.
  21. Web site: 1963: Complementary MOS circuit configuration is invented. Computer history museum. 6 July 2019.
  22. Web site: 1978: Double-well fast CMOS SRAM (Hitachi). Semiconductor history museum of Japan. 5 July 2019. https://web.archive.org/web/20190705234921/http://www.shmj.or.jp/english/pdf/ic/exhibi727E.pdf. 5 July 2019. live.
  23. Web site: 1980s: DRAM capacity increases, the shift to CMOS advances, and Japan dominates the market. Semiconductor history museum of Japan. 19 July 2019.
  24. D. . Kahng . S.M. . Sze . A floating-gate and its application to memory devices . The Bell System Technical Journal . 46 . 6 . 1967 . 1288–95 . 10.1002/j.1538-7305.1967.tb01738.x.
  25. Web site: 1971: Reusable semiconductor ROM introduced . . 19 June 2019.
  26. Book: Bez. R.. Pirovano. A.. Advances in non-volatile memory and storage technology. 2019. Woodhead Publishing. 9780081025857.
  27. Web site: Fulford. Benjamin. Unsung hero. Forbes. 24 June 2002. 18 March 2008. live. https://web.archive.org/web/20080303205125/http://www.forbes.com/global/2002/0624/030.html. 3 March 2008. dmy-all.
  28. Web site: Toshiba: Inventor of flash memory. Toshiba. 20 June 2019. dead. https://web.archive.org/web/20190620160642/http://www.flash25.toshiba.com/. 20 June 2019.
  29. New ultra high density EPROM and flash EEPROM with NAND structure cell. Masuoka. F.. Momodomi. M.. Iwata. Y.. Shirota. R.. 1987. IEDM 1987. Electron Devices Meeting, 1987 International. IEEE. dmy. 10.1109/IEDM.1987.191485.
  30. Web site: Memory. Semiconductor technology online (STOL). 25 June 2019.
  31. News: Toshiba announces new "3D" NAND flash technology. 10 July 2019. Engadget. 12 June 2007.
  32. Web site: Samsung introduces world's first 3D V-NAND based SSD for enterprise applications. Samsung semiconductor global website. dead. https://web.archive.org/web/20210415035436/https://www.samsung.com/semiconductor/newsroom/news-events/samsung-introduces-worlds-first-3d-v-nand-based-ssd-for-enterprise-applications/. 15 April 2021.
  33. Web site: Samsung confirms 24 layers in 3D NAND. Peter. Clarke. . 2013.
  34. Book: Memory systems: Cache, DRAM, disk. Jacob. Bruce. Ng. Spencer. Wang. David. 28 July 2010. Morgan Kaufmann. 9780080553849. 355.
  35. Book: Siddiqi, Muzaffer A.. Dynamic RAM: Technology advancements. 19 December 2012. CRC Press. 9781439893739. 10.
  36. Book: Nonvolatile memory design: Magnetic, resistive, and phase change. Li. Hai. Hai Li. Chen. Yiran. 19 April 2016. CRC press. 9781439807460. 6, 7.