SRAM, DRAM, ROM Flashcards Preview

Digital System Design 2 > SRAM, DRAM, ROM > Flashcards

Flashcards in SRAM, DRAM, ROM Deck (21):
1

What does SRAM stand for?

Static Random Access Memory

2

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

SRAM is volatile so it is lost

3

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

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.

4

Draw an SRAM cell

5

What are WL and BL in an SRAM cell

Word Line

Bit Line

6

What is a bus?

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

7

Describe the Write operation for an SRAM cell

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.

8

Describe how to read from an SRAM cell

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. 

9

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

Address bus in k bits

R/W in

Data bus in/out n bits

10

What is the purpose of the row decoder?

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

11

Why might we need a column decoder?

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

12

What does DRAM stand for?

Dynamic Random Access Memory

13

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

They are lost

14

Describe and draw a DRAM cell

1 capacitor and an NMOS transistor

15

Describe the write operation of a DRAM cell

 

  • 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

16

Describe the read operation for a DRAM cell

  • 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

Compare DRAM and SRAM in terms of:

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

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

What does ROM stand for?

Read Only Memory

19

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

They are preserved - ROM is non-volatile

20

Describe ROM and its inputs/outputs

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

Describe the architecture of a CMOS ROM

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.