Download as pdf or txt
Download as pdf or txt
You are on page 1of 60

Chương 6 – BỘ NHỚ

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-1 Thuật ngữ bộ nhớ
• Bit: The smallest unit of binary data.
• Byte: Most microcomputers handle and store

om
binary data and information in groups of eight bits.

.c
• Nibble: Binary numbers are often broken into

ng
co
groups of four bits.

an
• Word: It is a group of bits that represents a certain
th
unit of information. Word size can be defined as
o ng
the number of bits in the binary word a digital
du

system operates on.


u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-1 Thuật ngữ bộ nhớ
• Memory Cell—a device or an electrical circuit
used to store a single bit (0 or 1).

om
– Examples include a flip-flop, charged capacitor,

.c
or a single spot on magnetic tape or disk.

ng
• Memory Word—a group of bits (cells) in a

co
memory that represents instructions or data.

an
– Word sizes in computers typically range from 8 to 64
th
ng
bits, depending on the size of the computer.
o

• Byte—a special term used for a group of eight bits.


du

– Always consists of eight bits.


u
cu

• Capacity—a way of specifying how many bits can


be stored in a memory device or system.
CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-1 Thuật ngữ bộ nhớ
• Density—another term for capacity.
– A memory device with greater density can store more

om
bits in a given amount of space.

.c
• Address—a number that identifies the location

ng
of a word in memory.

co
– Addresses always exist in a digital system as a binary

an
number, although octal, hex & decimal numbers are
th
often used to represent the address for convenience.
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-1 Thuật ngữ bộ nhớ
• Read Operation—the binary word stored in a
specific memory location (address) is sensed

om
and then transferred to another device.

.c
– Often called a fetch operation because a word is

ng
being fetched from memory.

co
• Write Operation—operation whereby a new word

an
th
is placed into a particular memory location.
ng
– Also referred to as a store operation, it replaces the
o
word that was previously stored there.
du

• Access Time—measure of memory device speed,


u
cu

it is the time between the memory receiving a new


address input & data is available at the output.

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-1 Thuật ngữ bộ nhớ
• Volatile Memory—any memory that requires the
application of electrical power to store information.

om
– If the electrical power is removed, all information

.c
stored in the memory will be lost.

ng
• Random-Access Memory (RAM)—memory in

co
which actual physical location of a memory word

an
th
has no effect on how long it takes to read from, or
ng
write into, that location.
o

– Access time is the same for any address in memory.


du

• Most semiconductor memories are RAMs.


u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-1 Thuật ngữ bộ nhớ
• Sequential-Access Memory (SAM)—type of
memory in which the access time is not constant

om
but varies depending on the address location.

.c
– A stored word is found by sequencing through

ng
all address locations until the desired address

co
is reached.

an
• Access times far longer than random-access memory.

th
• Read/Write Memory (RWM)—any memory that
o ng
can be read from or written into with equal ease.
du

• Read-Only Memory (ROM)—broad class of


u
cu

semiconductor memories designed for applications


with a high ratio of read- to write- operations.

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-1 Thuật ngữ bộ nhớ
• Static Memory Devices—semiconductor memory
devices in which stored data remains permanently

om
stored as long as power is applied.

.c
– Without need for periodically rewriting data to memory.

ng
• Dynamic Memory Devices—semiconductor

co
memory in which stored data will not remain

an
th
permanently stored, even with power applied.
ng
– Unless the data are periodically rewritten into memory.
o

• A refresh operation.
du

• Main Memory—a computer’s working memory.


u
cu

– Stores instructions and data the CPU is currently


working on.

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-1 Thuật ngữ bộ nhớ
• Cache Memory—high-speed block of memory that
operates between slower main memory and the

om
CPU to optimize the speed of the computer.

.c
– Physically located in the CPU, mother board, or both.

ng
• Auxiliary Memory—referred to as mass storage

co
because it stores massive amounts of information

an
th
external to the main memory. ng
– Slower than main memory, always nonvolatile.
o
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-1 Thuật ngữ bộ nhớ

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-1 Thuật ngữ bộ nhớ

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-2 Hoạt động bộ nhớ
• Hoạt động Write/Read

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-2 Hoạt động bộ nhớ
• Hoạt động Write/Read

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-2 Hoạt động bộ nhớ
• Bộ nhớ 32x4

om
c

.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-2 Hoạt động bộ nhớ
• Quá trình Write

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-2 Hoạt động bộ nhớ
• Quá trình Read

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-2 Hoạt động bộ nhớ
• Kết nối Memory với CPU

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-3 RAM (Random-Access Memory)
• Các dạng RAM

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-3 RAM (Random-Access Memory)
• Sơ đồ bên trong RAM

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-3 RAM (Random-Access Memory)
• Dạng SRAM

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-3 RAM (Random-Access Memory)
• Dạng SRAM

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-3 RAM (Random-Access Memory)
• Dạng SRAM

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-3 RAM (Random-Access Memory)
• Dạng SRAM

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-3 RAM (Random-Access Memory)
• Dạng DRAM

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-3 RAM (Random-Access Memory)
• Dạng DRAM

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-3 RAM (Random-Access Memory)
• Dạng DRAM

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-3 RAM (Random-Access Memory)
• Dạng DRAM

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-4 ROM (Read-Only Memory)
• Các dạng ROM.

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-4 ROM (Read-Only Memory)

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-4 ROM (Read-Only Memory)

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-4 ROM (Read-Only Memory)

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-4 ROM (Read-Only Memory)

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-4 ROM (Read-Only Memory)

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-4 ROM (Read-Only Memory)
• Dạng PROM.

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-4 ROM (Read-Only Memory)
• Dạng EPROM.

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-4 ROM (Read-Only Memory)
• Dạng EPROM.

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-4 ROM (Read-Only Memory)
• Dạng EPROM.

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-4 ROM (Read-Only Memory)
• Dạng FLASH .

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-4 ROM (Read-Only Memory)
• Dạng CMOS FLASH .

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-4 ROM (Read-Only Memory)
• Dạng USB FLASH .

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-4 ROM (Read-Only Memory)
• Ứng dụng của ROM .

om
.c
ng
co
an
th
o ng
du

A ROM look-up table and a DAC are used


u

to generate a sine-wave output signal.


cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-4 ROM (Read-Only Memory)
• Ứng dụng của ROM .

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-4 ROM (Read-Only Memory)
• Ứng dụng của ROM .

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-5 Mở rộng bộ nhớ
• Mở rộng từ nhớ.

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-5 Mở rộng bộ nhớ
• Mở rộng từ nhớ.

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-5 Mở rộng bộ nhớ
• Mở rộng từ nhớ.

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-5 Mở rộng bộ nhớ
• Mở rộng từ nhớ.

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-5 Mở rộng bộ nhớ
• Mở rộng từ nhớ.

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-5 Mở rộng bộ nhớ
• Mở rộng từ nhớ.

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-5 Mở rộng bộ nhớ
• Mở rộng từ nhớ.

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-5 Mở rộng bộ nhớ
• Mở rộng địa chỉ.

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-5 Mở rộng bộ nhớ
• Mở rộng địa chỉ.

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-5 Mở rộng bộ nhớ
• Mở rộng địa chỉ.

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-5 Mở rộng bộ nhớ
• Mở rộng địa chỉ.

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-5 Mở rộng bộ nhớ
• Mở rộng địa chỉ.

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-5 Mở rộng bộ nhớ
• Mở rộng địa chỉ.

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-6 Chức năng bộ nhớ
• First In–First Out (FIFO).

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-6 Chức năng bộ nhớ
• First In–First Out (FIFO).

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-6 Chức năng bộ nhớ
• Last In–First Out (LIFO).

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt
6-6 Chức năng bộ nhớ
• Last In–First Out (LIFO).

om
.c
ng
co
an
th
o ng
du
u
cu

CuuDuongThanCong.com https://fb.com/tailieudientucntt

You might also like