SRAM, DRAM, ROM Flashcards

1
Q

What does SRAM stand for?

A

Static Random Access Memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What happens to the stored value in an SRAM when we turn off the power?

A

SRAM is volatile so it is lost

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Why do we use SRAM cells instead of D-latches for memory?

A

They use only 6 transistors (D-latch uses 8) so are smaller and we can create arrays of greater density and therfore greater storage capacity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Draw an SRAM cell

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are WL and BL in an SRAM cell

A

Word Line

Bit Line

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a bus?

A

A collection of wires carrying signals of same type between subsystems. May be parallel or serial

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Describe the Write operation for an SRAM cell

A

To store a hi in the cell, the bit line (BL) is taken hi, while BL is taken lo (by driver circuitry (not shown)) and then WL is taken hi to allow the bit to be written to the cell, before going lo again to isolate the cell and the bit stored.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Describe how to read from an SRAM cell

A

When a bit is read from the SRAM cell WL is taken hi to access the SRAM cell and the inverters in the cell drive BL and BL with the bit stored. The transistors in the SRAM cell will be as small as practically possible (to keep the area of the SRAM cell small) and have a weak drive strength to be able to drive the high capacitive load presented by BL and BL . A differential amplifier is used to sense a small differential voltage change between BL and BL resulting from the weak inverters driving their stored values onto a large load capacitance. The sense amplifier (incorporating the differential amplifier, not shown) amplifies this difference and produces a logic level representing the bit stored.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the input buses/ signals to a generic SRAM array?

A

Address bus in k bits

R/W in

Data bus in/out n bits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the purpose of the row decoder?

A

It is the circuit that selects the correct WL given the k-bit address.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Why might we need a column decoder?

A

When the aspect ratio of the memory gets too large it is not implementable.

We store multiple columns of cells and select them with an address which (using a row and a column decoder) maps to the correct WL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does DRAM stand for?

A

Dynamic Random Access Memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What happens to the contents of DRAM when power is switched off?

A

They are lost

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Describe and draw a DRAM cell

A

1 capacitor and an NMOS transistor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Describe the write operation of a DRAM cell

A
  • Set BL hi/lo depending on bit to be stored
  • Set WL hi to turn transistor on
  • Value is stored and capacitor charges/discharges
  • Set WL lo to turn transistor off
  • The value is stored as the voltage across capacitor
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Describe the read operation for a DRAM cell

A
  • Set WL lo to turn the transistor off
  • The voltage on the capacitor is isolated
  • Pre-charge BL to VPRE
  • Set WL to hi to turn transistor on
  • Charge redistribution takes place
  • Voltage on BL is ‘**sensed’
17
Q

Compare DRAM and SRAM in terms of:

  • Needs to be refreshed?
  • Memory access time
  • Volatility
  • Physical size
  • Power consumption
  • Read operation
  • IC process
A

DRAM - SRAM

Needs refreshed - Doesn’t need refreshed

Slower - Faster

Volatile - Volatile

Smaller (Dense, cheaper) - Larger (more expensive)

Less - More

Complex read - Simple read

Special process, hard to integrate - Standard process, integrates well

18
Q

What does ROM stand for?

A

Read Only Memory

19
Q

What happens to the contents of ROM when power is switched off

A

They are preserved - ROM is non-volatile

20
Q

Describe ROM and its inputs/outputs

A

ROM is an array of memory elements either storing a high or a low.

The elements are addressed by an n bit input address bus

Each location has M bits of data

These appear on the M bit output data bus

21
Q

Describe the architecture of a CMOS ROM

A

All BL connected to a load PMOS to VDD.

Data stored as an NMOS connecting to ground if 0 and nothing if 1.

One WL selected at a time which activates any of the NMOS if present, pulling BL to 0, otherwise BL is 1.