0 like 0 dislike
251 views
in Computer Science by (1.0m points)
How DRAM works?

1 Answer

0 like 0 dislike
by (1.0m points)

DRAM is based on storing a charge in a capacitor.  It matters because capacitors can be made quite compact, and they hold a charge long enough to be useful.  The basic idea is to split the memory address into two parts, which correspond to row/column coordinates in a grid of capacitors, each storing one bit.

There are row and column lines (wires) across the grid, and at each intersection is a capacitor which connects to the column bus through a transistor, which is gated by the row bus.  The row portion of the memory address is decoded, and selects one row wire.  This activates the transistor in all the row's storage cells (bits), so each capacitor's charge is "read out" through the column wire to a "sense amplifier" and then into a buffer.  The second part of the address is decoded, and selects bits from the this read-out buffer.  To write, the same sort of row/column selection happens, but to set a bit, charge into the capacitor.

Remember that capacitors are volatile, though: this means that each one has to be "refreshed" periodically (on the order of milliseconds).  Essentially, this is done by reading each row, amplifying and writing it back, and cycling through all the rows.

The structure of a real DRAM chip is somewhat more complicated than this, since many of these simple 2D array structures exist on the chip, some operating in parallel and some selected by other portions of the memory address.  The DRAM protocol is very low-level, though, so a CPU has to provide a very complicated controller to run through the various states - putting portions of the address on the memory bus, waiting specific numbers of clocks, then other signals, etc.  Probably the most important single timing parameter is the amount of time between providing the address and receiving data in a read operation - this latency has improved over years and DRAM generations, but has actually fallen dramatically behind the speed of CPUs.  (It's on the order of 50 ns, which is hundreds of CPU clock cycles...

Related questions

0 like 0 dislike
1 answer 74 views
asked Dec 22, 2018 in Computer Science by danish (1.0m points)
0 like 0 dislike
1 answer 38 views
asked Nov 16, 2018 in Computer Science by danish (1.0m points)
0 like 0 dislike
1 answer 30 views
asked Jan 7, 2019 in Computer Science by danish (1.0m points)
0 like 0 dislike
1 answer 63 views
0 like 0 dislike
1 answer 53 views
asked Feb 8, 2019 in General Knlowedge by danish (1.0m points)
0 like 0 dislike
1 answer 65 views
0 like 0 dislike
0 answers 35 views
asked Nov 28, 2018 in Science by danish (1.0m points)
0 like 0 dislike
1 answer 35 views
asked Nov 28, 2018 in Science by danish (1.0m points)
0 like 0 dislike
1 answer 32 views
asked Nov 25, 2018 in Science by danish (1.0m points)
0 like 0 dislike
1 answer 96 views
Welcome to Free Homework Help, where you can ask questions and receive answers from other members of the community. Anybody can ask a question. Anybody can answer. The best answers are voted up and rise to the top. Join them; it only takes a minute: School, College, University, Academy Free Homework Help

19.4k questions

18.3k answers

8.7k comments

4.1k users

Free Hit Counters
...