Microprocessor System Design. Outline Address decoding Chip select Memory configurations.

Slides:



Advertisements
Similar presentations
ECE 353 Introduction to Microprocessor Systems
Advertisements

The Intel 8255 Programmable Peripheral Interface chip is used to give the microprocessor (8088) access to programmable input/ output devices. It has three.
VHDL 8 Practical example
Chapter 5 Internal Memory
Programmable Logic PAL, PLA.
+ CS 325: CS Hardware and Software Organization and Architecture Internal Memory.
Memory Devices and Interfacing – (Chapter 9)
Memory & IO Interfacing to CPU
1 Homework Reading –Tokheim, Chapter 12-1 through 12-4 Machine Projects –MP4 due at start of next class Labs –Continue with your assigned section.
TK2633 Introduction to Parallel Data Interfacing DR MASRI AYOB.
Static Memory Outline –Types of Static Memory –Static RAM –Battery Backup –EPROM –Flash Memory –EEPROM Goal –Understand types of static memory –Understand.
Chapter 5 Internal Memory
Memory Devices Wen-Hung Liao, Ph.D..
I/O Subsystem Organization and Interfacing Cs 147 Peter Nguyen
TK Memory Interface DR MASRI AYOB. 2 Requirement and memory structure There are two types of memory: –RAM: read and write –ROM: read only Figure.
Chapter 4 Computer Memory
Address Decoding Outline Goal Reading Address Decoding Strategy
Engineering 4862 Microprocessors Lecture 26 Cheng Li EN-4012
MEMORY.
1 The 8051 Microcontroller and Embedded Systems CHAPTER INTERFACING TO EXTERNAL MEMORY.
MANINDER KAUR RAM and ROM Chips 24-Nov
University of Tehran 1 Microprocessor System Design Omid Fatemi Memory Interfacing
8051 INTERFACING TO EXTERNAL MEMORY
Khaled A. Al-Utaibi Memory Devices Khaled A. Al-Utaibi
University of Tehran 1 Interface Design Memory Modules Omid Fatemi
Address Decoding Memory/IO.
1 Microprocessor-based systems Course 6 Memory design.
Memory interface Memory is a device to store data
8086/8088 Hardware Specifications Power supply:  +5V with tolerance of ±10%;  360mA. Input characteristics:  Logic 0 – 0.8V maximum, ±10μA maximum;
3-1-1 Chapter 3 Memory and Memory Interfacing Section 3.01 Semiconductor Memory Fundamentals In the design of all computers, semiconductor memories are.
HARDWARE ARCHITECTURE
Minimum System Requirements Clock Generator Memory Interfacing.
Memory Interface A Course in Microprocessor Electrical Engineering Dept. University of Indonesia.
Memory Organization and Interfacing CSE 2312 Maher Al-Khaiyat.
Memory Devices on DE2-115 數位電路實驗 TA: 吳柏辰 Author: Trumen.
Khaled A. Al-Utaibi  Memory Interface and the 3 Buses  Interfacing the 8088 Processor  Interfacing the 8086 Processor  Interfacing.
Memory characteristics Ideal Access time (minimum). Nonvolatile. Stored data can be modified. Minimum space (very dense). Minimum current drain (power.
INTRODUCTION  Major advantage of digital over analog is the ability to easily store large quantities of digital information and data.  Memory – store.
Chapter 11Chapter 12 Memory system designI/O system design Objectives: The importance of bus buffering How the 8088 addresses (accesses) memory - I/O ports.
Memory Read only memory (ROM) – nonvolatile
Memory and Register. Memory terminology read/write operation volotile/non volatile determine the capacity from input and output timing requirements of.
1 Memory Systems Computer Architectures M. 2 EPROM memories Access time: ns VPP A16 A15 A12 A7 A6 A5 A4 A3 A2 A1 A0 D0 D1 D2 GND VCC PGM* NC A14.
Microprocessor Fundamentals Week 3 Mount Druitt College of TAFE Dept. Electrical Engineering 2008.
Wnopp Memory device Introduction n Memory Cell n Memory Word n Byte n Capacity n Address n Read Operation n Write Operation n Access Time n Volatile.
ECE 353 Introduction to Microprocessor Systems Michael J. Schulte Week 8.
Memory 2 ©Paul Godin Created March 2008 Memory 2.1.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
Objectives : At the end of this lesson, students should be able to : i.Identify the types of memory chip and their functions. ii.Define the difference.
AHMEDABAD INSTITUTE OF TECHNOLOGY
MICROPROCESSOR AMARTYA ROY-72 ANGSHUMAN CHATTERJEE-80 ASHISH LOHIA-70 MOLOY CHAKRABORTY-60.
8255 Programmable Peripheral Interface
Homework Reading Tokheim, Chapter 12-1 through 12-4.
Memory Interfacing.
MEMORY DEVICES, CIRCUITS, AND SUBSYSTEM DESIGN
Recap DRAM Read Cycle DRAM Write Cycle FAST Page Access Mode
Internal Memory.
Computer Architectures M
Interfacing 64Kb EPROM with 8085
Memory Units Memories store data in units from one to eight bits. The most common unit is the byte, which by definition is 8 bits. Computer memories are.
Computer Architectures M
ROM ROM Capacity : PROM EEPROM : Output Enable connect to RD of uP
Chapter 11 Sequential Circuits.
Interfacing Memory Interfacing.
Memory Systems Digital Systsems M.
Subject Name: Embedded system Design Subject Code: 10EC74
שמות מאפיינים ומטרות של זיכרונות ROM - ו RAM
Parallel communication interface 8255
MICROPROCESSOR MEMORY ORGANIZATION
Introduction to Computing Chapter 0
MICROPROCESSOR MEMORY ORGANIZATION
Presentation transcript:

Microprocessor System Design

Outline Address decoding Chip select Memory configurations

Minimum Mode When Memory is selected?

Minimum Mode 2 20 bytes or 1MB

What are the memory locations of a 1MB (2 20 bytes) Memory? A19 to A0 (HEX) AAAA AAAA AAAA AAAA 7654 AAAA FFFFF1111 Example: 34FD

Interfacing a 1MB Memory to the 8088 Microprocessor

Instead of Interfacing 1MB, what will happen if you interface a 512KB Memory?

What are the memory locations of a 512KB (2 19 bytes) Memory? A18 to A0 (HEX) AAAA AAAA AAAA AAAA 7654 AAAA FFFF

Interfacing a 512KB Memory to the 8088 Microprocessor What do we do with A19?

What if you want to read physical address A0023?

A19 to A0 (HEX) AAAA AAAA AAAA AAAA 7654 AAAA 3210 A A19 is not connected to the memory so even if the 8088 microprocessor outputs a logic “1”, the memory cannot “see” this.

What if you want to read physical address 20023? A18 to A0 (HEX) AAAA AAAA AAAA AAAA 7654 AAAA For memory it is the same as previous one.

Interfacing two 512KB Memory to the 8088 Microprocessor

Problem: Bus Conflict. The two memory chips will provide data at the same time when microprocessor performs a memory read. Solution: Use address line A19 as an “arbiter”. If A19 outputs a logic “1” the upper memory is enabled (and the lower memory is disabled) and vice-versa.

Interfacing two 512KB Memory to the 8088 Microprocessor : RD WR CS

What are the memory locations of two consecutive 512KB (2 19 bytes) Memory? A19 to A0 (HEX) AAAA AAAA AAAA AAAA 7654 AAAA FFFF FFFFF1111

Interfacing two 512KB Memory to the 8088 Microprocessor When the  P outputs an address between to FFFFF, this memory is selected When the  P outputs an address between to 7FFFF, this memory is selected

Interfacing two 512KB Memory to the 8088 Microprocessor

What if we remove the lower memory?

When the  P outputs an address between to FFFFF, this memory is selected When the  P outputs an address between to 7FFFF, no memory chip is selected !

Full and Partial Decoding Full Decoding –When all of the “useful” address lines are connected the memory/device to perform selection Partial Decoding –When some of the “useful” address lines are connected the memory/device to perform selection –Using this type of decoding results into roll-over addresses

Full Decoding

A19 to A0 (HEX) AAAA AAAA AAAA AAAA 7654 AAAA FFFFF1111 A19 should be a logic “1” for the memory chip to be enabled

Full Decoding A19 to A0 (HEX) AAAA AAAA AAAA AAAA 7654 AAAA FFFF Therefore if the microprocessor outputs an address between to 7FFFF, whose A19 is a logic “0”, the memory chip will not be selected

Partial Decoding

A19 to A0 (HEX) AAAA AAAA AAAA AAAA 7654 AAAA FFFF FFFFF1111 The value of A19 is INSIGNIFICANT to the memory chip, therefore A19 has no bearing whether the memory chip will be enabled or not

Partial Decoding A19 to A0 (HEX) AAAA AAAA AAAA AAAA 7654 AAAA FFFF FFFFF1111 ACTUAL ADDRESS

Partial Decoding A19 to A0 (HEX) AAAA AAAA AAAA AAAA 7654 AAAA FFFF FFFFF1111 ACTUAL ADDRESS

Interfacing two 512K Memory Chips to the 8088 Microprocessor

Interfacing one 512K Memory Chips to the 8088 Microprocessor

Interfacing one 512K Memory Chips to the 8088 Microprocessor (version 2)

Interfacing one 512K Memory Chips to the 8088 Microprocessor (version 3)

Interfacing four 256K Memory Chips to the 8088 Microprocessor

Memory chip#__ is mapped to: A19 to A0 (HEX) AAAA AAAA AAAA AAAA 7654 AAAA

Interfacing four 256K Memory Chips to the 8088 Microprocessor

Interfacing several 8K Memory Chips to the 8088  P

Interfacing 128 8K Memory Chips to the 8088  P

Memory chip#__ is mapped to: A19 to A0 (HEX) AAAA AAAA AAAA AAAA 7654 AAAA

Memory Terms Capacity –Kbit, Mbit, Gbit Organization –Address lines –Data lines Speed / Timing –Access time Write ability –ROM –RAM

ROM Variations Mask Rom PROM – OTP EPROM – UV_EPROM EEPROM Flash memory

RAM Variations SRAM DRAM NV-RAM –SRAM – CMOS –Internal lithium battery –Control circuitry to monitor Vcc

Memory Chip 8K SRAM to be specific: –8Kx8 bits SRAM

6264 Block Diagram

6264 Function Table

Memory Chip 8K EPROM to be specific: –8Kx8 bits EPROM

2764 Block Diagram Chip enable Output enable

Operating Modes

Programming 2764 after each erasure for UV-EPROM): –all bits of the M2764A are in the “1" state. The only way to change a “0" to a ”1" is by ultraviolet light erasure. Programming mode when: –VPP input is at 12.5V –E and P are at TTL low. The data to the data output pins. The levels required for the address and data inputs are TTL.

Interfacing 128 8K Memory Chips to the 8088  P