Digital Electronics and Computer Organization Digital ... · Digital Electronics and Computer...

17
CKV Digital Electronics and Computer Organization Lecture 25: Memory Digital Design 11/3/2020 1

Transcript of Digital Electronics and Computer Organization Digital ... · Digital Electronics and Computer...

Page 1: Digital Electronics and Computer Organization Digital ... · Digital Electronics and Computer Organization Lecture 25: Memory Digital Design 11/3/2020 1. 11/3/2020 2 Types of memory

CKV

Digital Electronics and Computer Organization

Lecture 25: Memory

Digital Design

11/3/2020 1

Page 2: Digital Electronics and Computer Organization Digital ... · Digital Electronics and Computer Organization Lecture 25: Memory Digital Design 11/3/2020 1. 11/3/2020 2 Types of memory

11/3/2020 2

Types of memory used in digital systems

RAM (Random Access Memory)

-Can perform both Read and Write Operations

-Stored information is lost when power is turned off

ROM (Read Only Memory)

-Can perform only Read operations

-Suitable information already stored and can be retrieved at any time

-Binary information “Programmed” in to ROM by embedded hardware

Hard Disks

Read / Write Non-volatile

Magnetic SSD

Page 3: Digital Electronics and Computer Organization Digital ... · Digital Electronics and Computer Organization Lecture 25: Memory Digital Design 11/3/2020 1. 11/3/2020 2 Types of memory

11/3/2020 3

Read-Only Memory

8 bit data is called Byte, 16 bit is called Word

A block diagram of a ROM is shown below. It consists of k address

inputs and n data outputs.

The number of words in a ROM is determined from the fact that k

address input lines are needed to specify 2k words.

n represents the output data length

Page 4: Digital Electronics and Computer Organization Digital ... · Digital Electronics and Computer Organization Lecture 25: Memory Digital Design 11/3/2020 1. 11/3/2020 2 Types of memory

11/3/2020 4

ROMs

- May have 100s of million gates interconnected through 100sof thousands of internal path

-To show internal logic of such a device – employ a specialgate symbology applicable to array logic

ABCD

A B C D

Page 5: Digital Electronics and Computer Organization Digital ... · Digital Electronics and Computer Organization Lecture 25: Memory Digital Design 11/3/2020 1. 11/3/2020 2 Types of memory

11/3/2020 5

CKV

Read Only Memory

Internal Logic 32 X 8 ROM

In General for 2k X n ROM

K x 2k Decoder and n OR gates

Each OR gate has 2k inputs

Page 6: Digital Electronics and Computer Organization Digital ... · Digital Electronics and Computer Organization Lecture 25: Memory Digital Design 11/3/2020 1. 11/3/2020 2 Types of memory

11/3/2020 6

Programming the ROM

Address 3 = 10110010 is permanent storage using fuse link

X : means connection

Page 7: Digital Electronics and Computer Organization Digital ... · Digital Electronics and Computer Organization Lecture 25: Memory Digital Design 11/3/2020 1. 11/3/2020 2 Types of memory

11/3/2020 7

Programming the ROM

1. Masking During Metallization

Page 8: Digital Electronics and Computer Organization Digital ... · Digital Electronics and Computer Organization Lecture 25: Memory Digital Design 11/3/2020 1. 11/3/2020 2 Types of memory

11/3/2020 8

Programming the ROM

1. Masking During Metallization (PROM)

Page 9: Digital Electronics and Computer Organization Digital ... · Digital Electronics and Computer Organization Lecture 25: Memory Digital Design 11/3/2020 1. 11/3/2020 2 Types of memory

11/3/2020 9

Programming the ROM

2. Fuse (PROM)

Page 10: Digital Electronics and Computer Organization Digital ... · Digital Electronics and Computer Organization Lecture 25: Memory Digital Design 11/3/2020 1. 11/3/2020 2 Types of memory

11/3/2020 10

Programming the ROM

2. Fuse (PROM)

Page 11: Digital Electronics and Computer Organization Digital ... · Digital Electronics and Computer Organization Lecture 25: Memory Digital Design 11/3/2020 1. 11/3/2020 2 Types of memory

11/3/2020 11

3. EPROM

Programming the ROM

Page 12: Digital Electronics and Computer Organization Digital ... · Digital Electronics and Computer Organization Lecture 25: Memory Digital Design 11/3/2020 1. 11/3/2020 2 Types of memory

11/3/2020 12

3. EPROM

Programming the ROM

Page 13: Digital Electronics and Computer Organization Digital ... · Digital Electronics and Computer Organization Lecture 25: Memory Digital Design 11/3/2020 1. 11/3/2020 2 Types of memory

11/3/2020 13

4. EEPROM

Programming the ROM

Page 14: Digital Electronics and Computer Organization Digital ... · Digital Electronics and Computer Organization Lecture 25: Memory Digital Design 11/3/2020 1. 11/3/2020 2 Types of memory

11/3/2020 14

Programming the ROM

Page 15: Digital Electronics and Computer Organization Digital ... · Digital Electronics and Computer Organization Lecture 25: Memory Digital Design 11/3/2020 1. 11/3/2020 2 Types of memory

11/3/2020 15

Example: Design a combinational circuit using a ROM. Thecircuit accepts a 3-bit number and generates an outputbinary number equal to the square of the input number.

Programming the ROM

Page 16: Digital Electronics and Computer Organization Digital ... · Digital Electronics and Computer Organization Lecture 25: Memory Digital Design 11/3/2020 1. 11/3/2020 2 Types of memory

11/3/2020 16

Example: Design a combinational circuit using a ROM. Thecircuit accepts a 3-bit number and generates an outputbinary number equal to the square of the input number.

Programming the ROM

Page 17: Digital Electronics and Computer Organization Digital ... · Digital Electronics and Computer Organization Lecture 25: Memory Digital Design 11/3/2020 1. 11/3/2020 2 Types of memory

11/3/2020 17

Thank You