rom memory and decoders - engineeringece.uprm.edu/~ducoudray/files/dec-rom.pdf · random access...

19
ROM MEMORY AND DECODERS INEL4207

Upload: others

Post on 24-May-2020

17 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ROM MEMORY AND DECODERS - Engineeringece.uprm.edu/~ducoudray/files/dec-rom.pdf · RANDOM ACCESS MEMORY • Random Access Memory (RAM)! • read and write memory! • volatile! •

ROM MEMORY AND DECODERS

INEL4207

Page 2: ROM MEMORY AND DECODERS - Engineeringece.uprm.edu/~ducoudray/files/dec-rom.pdf · RANDOM ACCESS MEMORY • Random Access Memory (RAM)! • read and write memory! • volatile! •

RANDOM ACCESS MEMORY• Random Access Memory (RAM)

• read and write memory

• volatile

• Static RAM (SRAM) • store information as long as power is applied

• will not lose data during a read cycle

• Dynamic RAM (DRAM) • uses a capacitor to store data

• must be refreshed periodically to prevent data loss

• read cycles destroy DRAM data (must be re-written)

• SRAM takes ~ 4 x DRAM Silicon area

Page 3: ROM MEMORY AND DECODERS - Engineeringece.uprm.edu/~ducoudray/files/dec-rom.pdf · RANDOM ACCESS MEMORY • Random Access Memory (RAM)! • read and write memory! • volatile! •

READ-ONLY MEMORY (ROM)

• Non-volatile • ROM is often needed in digital systems such as: –Holding the instruction set for a microprocessor –Firmware –Calculator plug-in modules –Cartridge style video games

Page 4: ROM MEMORY AND DECODERS - Engineeringece.uprm.edu/~ducoudray/files/dec-rom.pdf · RANDOM ACCESS MEMORY • Random Access Memory (RAM)! • read and write memory! • volatile! •

A 256-MBYTE MEMORY CHIP

• Memory block contains 2M+N storage locations

• When a bit is selected,

• sense amplifiers: used to read/write to the RAM location

• Horizontal rows: wordlines • Vertical lines: bitlines

Page 5: ROM MEMORY AND DECODERS - Engineeringece.uprm.edu/~ducoudray/files/dec-rom.pdf · RANDOM ACCESS MEMORY • Random Access Memory (RAM)! • read and write memory! • volatile! •

READ-ONLY MEMORY (ROM)

• The basic structure of the NMOS static ROM is shown in the figure

• The existence of a NMOS means a “0” is stored at that address otherwise a “1” is stored

• The major downfall to this particular circuit is that it dissipates a lot of power

Page 6: ROM MEMORY AND DECODERS - Engineeringece.uprm.edu/~ducoudray/files/dec-rom.pdf · RANDOM ACCESS MEMORY • Random Access Memory (RAM)! • read and write memory! • volatile! •

Figure 16.30 A simple MOS ROM organized as 8 words ×4 bits.

Page 7: ROM MEMORY AND DECODERS - Engineeringece.uprm.edu/~ducoudray/files/dec-rom.pdf · RANDOM ACCESS MEMORY • Random Access Memory (RAM)! • read and write memory! • volatile! •

READ-ONLY MEMORY (ROM)

• The domino CMOS ROM is one technique used to lower the amount of power dissipation

Page 8: ROM MEMORY AND DECODERS - Engineeringece.uprm.edu/~ducoudray/files/dec-rom.pdf · RANDOM ACCESS MEMORY • Random Access Memory (RAM)! • read and write memory! • volatile! •

NAND-ARRAY STRUCTURE ROM

l Can be directly used with NAND decoder

• Active-low word bits: –All W's are HIGH

except selected row – absence of FET makes

bit low; – presence makes bit

high

Page 9: ROM MEMORY AND DECODERS - Engineeringece.uprm.edu/~ducoudray/files/dec-rom.pdf · RANDOM ACCESS MEMORY • Random Access Memory (RAM)! • read and write memory! • volatile! •

NMOS NOR ADDRESS DECODERS

• Output 0 is high if both A0 and A1 are low !Row 0 = (A1+A0)’ Row 1 = (A1+A0’)’ Row 2 = (A1’+A0)’ Row 3 = (A1’+A0’)’

Page 10: ROM MEMORY AND DECODERS - Engineeringece.uprm.edu/~ducoudray/files/dec-rom.pdf · RANDOM ACCESS MEMORY • Random Access Memory (RAM)! • read and write memory! • volatile! •

Figure 16.25 A NOR address decoder in array form. One out of eight lines (row lines) is selected using a 3-bit address.

Page 11: ROM MEMORY AND DECODERS - Engineeringece.uprm.edu/~ducoudray/files/dec-rom.pdf · RANDOM ACCESS MEMORY • Random Access Memory (RAM)! • read and write memory! • volatile! •

NMOS NAND ADDRESS DECODERS

• Output 3 is low if both A0 and A1 are high

!

Row 0 = (A1’A0’)’ Row 1 = (A1’A0)’ Row 2 = (A1·A0’)’ Row 3 = (A1·A0)’

Page 12: ROM MEMORY AND DECODERS - Engineeringece.uprm.edu/~ducoudray/files/dec-rom.pdf · RANDOM ACCESS MEMORY • Random Access Memory (RAM)! • read and write memory! • volatile! •

DOMINO CMOS ADDRESS DECODERS

Page 13: ROM MEMORY AND DECODERS - Engineeringece.uprm.edu/~ducoudray/files/dec-rom.pdf · RANDOM ACCESS MEMORY • Random Access Memory (RAM)! • read and write memory! • volatile! •

PASS-TRANSISTOR COLUMN DECODER

• 3-bit column data selector using pass-transistor logic

Page 14: ROM MEMORY AND DECODERS - Engineeringece.uprm.edu/~ducoudray/files/dec-rom.pdf · RANDOM ACCESS MEMORY • Random Access Memory (RAM)! • read and write memory! • volatile! •

Figure 16.27 A tree column decoder. Note that the colored path shows the transistors that are conducting when A0 = 1, A1 = 0, and A2 = 1, the address that results in connecting B5 to the data line.

Page 15: ROM MEMORY AND DECODERS - Engineeringece.uprm.edu/~ducoudray/files/dec-rom.pdf · RANDOM ACCESS MEMORY • Random Access Memory (RAM)! • read and write memory! • volatile! •

Figure 16.26 A column decoder realized by a combination of a NOR decoder and a pass-transistor multiplexer.

Page 16: ROM MEMORY AND DECODERS - Engineeringece.uprm.edu/~ducoudray/files/dec-rom.pdf · RANDOM ACCESS MEMORY • Random Access Memory (RAM)! • read and write memory! • volatile! •

01101100011111011011

A1 A0

VDD

VDD

VDD

VDD

VDD VDD VDD VDD

addressA3A2A1A0

data

A2

A3

data buffer

0101

1000

0010

1010

0001

Row decoder

ROM

Column decoder

M1

M2

M3

M4

M5

M8

M10

M11

M12

M14

M13

M15

M16

M17

M19

M18

M20

M21

M22

M6

M7

DO

DO

transistors "ON"(subscripts only)

M9

Page 17: ROM MEMORY AND DECODERS - Engineeringece.uprm.edu/~ducoudray/files/dec-rom.pdf · RANDOM ACCESS MEMORY • Random Access Memory (RAM)! • read and write memory! • volatile! •

1100011111011011

10

00

01

11

000

0

00

00

1

111

11

11

1

0110

A1 A0

VDD

VDD

VDD

VDD

VDD VDD VDD VDD

addressA3A2A1A0

data

A2

A3

data buffer

0101

1000

0010

1010

0001

Row decoder

ROM

Column decoder

M1

M2

M3

M4

M5

M8

M10

M11

M12

M14

M13

M15

M16

M17

M19

M18

M20

M21

M22

M6

M7

DO

DO

transistors "ON"(subscripts only)

M9

0110

Page 18: ROM MEMORY AND DECODERS - Engineeringece.uprm.edu/~ducoudray/files/dec-rom.pdf · RANDOM ACCESS MEMORY • Random Access Memory (RAM)! • read and write memory! • volatile! •

A1 A0

VDD

VDD

VDD

VDD

VDD VDD VDD VDD

addressA3A2A1A0

data

A2

A3

data buffer

0101

1000

0010

1010

0001

Row decoder

ROM

Column decoder

M1

M2

M3

M4

M5

M8

M10

M11

M12

M14

M13

M15

M16

M17

M19

M18

M20

M21

M22

M6

M7

DO

DO

transistors "ON"(subscripts only)

M9

Page 19: ROM MEMORY AND DECODERS - Engineeringece.uprm.edu/~ducoudray/files/dec-rom.pdf · RANDOM ACCESS MEMORY • Random Access Memory (RAM)! • read and write memory! • volatile! •

A1 A0

VDD

VDD

VDD

VDD

VDD VDD VDD VDD

addressA3A2A1A0

data

A2

A3

data buffer

0101

1000

0010

1010

0001

Row decoder

ROM

Column decoder

M1

M2

M3

M4

M5

M8

M10

M11

M12

M14

M13

M15

M16

M17

M19

M18

M20

M21

M22

M6

M7

DO

DO

transistors "ON"(subscripts only)

10

00

01

11

M9

3,4,5,6,10,13,17,18,220

3,4,7,8,12,19,20,211

1,2,7,8,9,11,15,19,20,220

1,2,7,8,9,11,15,19,20,211

3,4,5,6,10,13,19,20,221