Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Memory Interfacing and Address Decoding, Cheat Sheet of Microprocessors

Examples and explanations on how to implement memory interfacing and address decoding using various memory chips and microprocessors. It covers topics such as interfacing 32kx16 eprom using 32kx8 eprom, calculating the number of memory chips required to make up 2kb of memory, implementing 64kx16 eprom using 32kx8 eprom, and address decoding for a 32kb ram interfaced with an 8088-based system. The document also discusses the importance of using address decoding circuits like 74ls139 and 74ls138 when the memory starts at an address other than 0000h. Additionally, it provides examples of interfacing 64kb ram with an 8086 microprocessor using exhaustive decoding. The document aims to provide a comprehensive understanding of memory interfacing and address decoding techniques, which are crucial concepts in digital electronics and computer architecture.

Typology: Cheat Sheet

2023/2024

Uploaded on 06/08/2024

thinh-nguyen-38
thinh-nguyen-38 🇻🇳

1 document

1 / 15

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Memory Interfacing and Address Decoding and more Cheat Sheet Microprocessors in PDF only on Docsity!

GHÉP NỐI BỘ NHỚ

EXAMPLE 2: IF THE MEMORY CHIP SIZE IS 1024 X 4 BITS, HOW MANY CHIPS ARE REQUIRED TO MAKE UP 2K BYTES OF MEMORY?

  • 1024x4bits=1Kx4=2^10x4  (A0-A9)
  • 2Kbytes = 2Kx8bit = 2^11x8  (A0-A10) 4 1024x8bits 1024x8bits 2Kx8bits

EXAMPLE 3:

SHOW HOW TO IMPLEMENT 64K× 16 EPROM

USING 32K×8 EPROM?

WHAT IS THE ENTIRE RANGE OF THE RAM

ADDRESS? HOW IS THE ADDRESS BUS USED

TO ENABLE THE RAMS? WHAT ADDRESS LINES

SHOULD BE USED?

ĐỐI VỚI CÁC DẠNG BÀI TOÁN LƯU DỮ LIỆU BẮT ĐẦU TỪ ĐỊA CHỈ KHÁC 0000H (VD: 4000H,1000H,8000H) THÌ CHÚNG TA NÊN CHÚ Ý SỬ DỤNG MẠCH TÁC TỘNG ĐẾN C HÂN EN(SEL) CỦA CÁC VI MẠCH GIẢI MÃ ĐỂ PHÙ HỢP ĐIỀU KIỆN ĐẦU BÀI.

  • 74LS
  • 74LS

EXAMPLE 6: MEMORY INTERFACE

  • To interface 64 KB RAM to 8086 microprocessor according to the following assumptions:  The starting address of 64 KB RAM in the memory space is 0H.  Exhaustive decoding is used.  The RAM chips are organized as following:

EXAMPLE 6: MEMORY INTERFACE

ÔN TẬP 1

  • Câu 1: Mã hóa lệnh trong bộ nhớ và giải thích các bước thực hiện cho phép tính:[(4 and 2)+1]or
  • Câu 2: ghép nối bộ nhớ 8KB từ các IC 2KB bắt đầu địa chỉ 4000h.
  • Câu 3: Thực hiện đồng thời các công việc sau:
  • Nhấn nút nhấn 1: giá trị LED7 tăng 1 đơn vị (đến 10)
  • Nhả nút nhấn 1: giá trị LED7 giảm 1 đơn vị (đến 0)
  • 1 Led đơn sáng tắt với tần số 2 giây (duty 50%).

ÔN TẬP 2

  • Câu 1: Mã hóa lệnh trong bộ nhớ và giải thích các bước thực hiện cho phép tính:[5 or 2)- 3]and 4
  • Câu 2: ghép nối bộ nhớ 7KB từ các IC 2KB bắt đầu địa chỉ 4000h.
  • Câu 3: Thực hiện đồng thời các công việc sau:
  • Đo giá trị điện áp tương tự có tầm đo 0-5 hiển thị giá trị lên 2 LED với chu kỳ đo 2s
  • Nhả nút nhấn 2: giá trị LED7 giảm 1 đơn vị (đến 0)
  • 1 Led đơn sáng tắt với tần số 2 giây (duty 50%).