ROM (4K X 8) ROM (4K X 8) FOLD BACK FOR RAM0 RWM - RAM (2K X 8) RWM - RAM (2K X 8) FOLD BACK FOR RAM1 INPUT DEVICE 1

Similar documents
History and Basic Processor Architecture

1 MALP ( ) Unit-1. (1) Draw and explain the internal architecture of 8085.

Control Unit: The control unit provides the necessary timing and control Microprocessor resembles a CPU exactly.

Pin Description, Status & Control Signals of 8085 Microprocessor

CHAPTER 5 : Introduction to Intel 8085 Microprocessor Hardware BENG 2223 MICROPROCESSOR TECHNOLOGY

The functional block diagram of 8085A is shown in fig.4.1.

Architecture of 8085 microprocessor

MICROPROCESSOR AND MICROCONTROLLER BASED SYSTEMS

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE:

Microprocessors and Microcontrollers Prof. Santanu Chattopadhyay Department of E & EC Engineering Indian Institute of Technology, Kharagpur

MICROPROCESSOR MICROPROCESSOR. From the above description, we can draw the following block diagram to represent a microprocessor based system: Output

Microprocessor Architecture

Lecture-9 Intel 8085 Microprocessor It is a 40-pin DIP(Dual in package) chip, base on NMOS technology, on a single chip of silicon.

Lecture-15 W-Z: Increment-Decrement Address Latch:

2. List the five interrupt pins available in INTR, TRAP, RST 7.5, RST 6.5, RST 5.5.

MACHINE CONTROL INSTRUCTIONS: 1. EI

13. IN PORT: This is an ALP statement. PORT is the symbolic name given to 8-bit address of the input device available as a 2 nd byte of the

Basic I/O Interface. CEN433 King Saud University Dr. Mohammed Amer Arafah

Chapter 1: Basics of Microprocessor [08 M]

1. Internal Architecture of 8085 Microprocessor

QUESTION BANK. EE 6502 / Microprocessor and Microcontroller. Unit I Processor. PART-A (2-Marks)

Lecture Note On Microprocessor and Microcontroller Theory and Applications

PART B (5 x 16 =80) ADDRESS BUS The 8085 has eight signal lines, A15 A8 : Unidirectional, known as high order address.

Sample Copy. Not For Distribution.

Basics of Microprocessor

Microprocessor Architecture. mywbut.com 1

Chapter 8 Summary: The 8086 Microprocessor and its Memory and Input/Output Interface

م.م. ماجد عيدان. Introduction to microprocessor and microcomputer

8085 Microprocessor Architecture and Memory Interfacing. Microprocessor and Microcontroller Interfacing

ELECTRICAL ENGINEERING

MICROPROCESSOR TECHNOLOGY

Architecture & Instruction set of 8085 Microprocessor and 8051 Micro Controller

Overview of Intel 80x86 µp

Lecture-55 System Interface:

The pin details are given below: V cc, GND = +5V and Ground A 11 -A 0 = address lines. Fig.2.19 Intel 2716 Read Only Memory

Microprocessor, Microcomputer and Associated Languages


Instructions Involve a Segment Register (SR-field)

Lecture-50 Intel 8255A: Programming and Operating Modes

8/26/2010. Introduction to 8085 BLOCK DIAGRAM OF INTEL Introduction to Introduction to Three Units of 8085

Learning Outcomes. Input / Output. Introduction PICOBLAZE 10/18/2017

In this tutorial, we will discuss the architecture, pin diagram and other key concepts of microprocessors.

12-Dec-11. Gursharan Singh Maninder Kaur. Introduction to 8085 BLOCK DIAGRAM OF INTEL Introduction to Introduction to 8085

S.R.M. INSTITUTE OF SCIENCE & TECHNOLOGY SCHOOL OF ELECTRONICS & COMMUNICATION ENGINEERING

Chapter NINE 8088,80286 MICROPROCESSORS AND ISA BUS

MEMORY-MAPPED I /O. Universiti Teknikal Malaysia Melaka. Input/Output System Design

Vidyalankar T.E. Sem. V [EXTC] Microprocessors and Microcontrollers I Prelim Question Paper Solution V SS (GND)

1. Internal Architecture of 8085 Microprocessor

PIO 8255 (cont..) M Krishna kumar MAM/M3/LU9e/V1/2004 1

JNTU World. NOTES SUBJECT: Microprocessors and Interfacing Devices

1. Internal Architecture of 8085 Microprocessor

This page intentionally left blank

Lecture-51 INTEL 8259A Programmable Interrupt Controller

MSMF GATE CENTRE. Sub: MICROPROCESSORS. Time: 50min Date: Marks:33

University of Alexandria Faculty of Engineering Division of Communications & Electronics

Chapter 13 Direct Memory Access and DMA-Controlled I/O

9. PERIPHERAL CHIPS 9a

Microcomputer Architecture and Programming

Memorial University of Newfoundland

I/O Design. Input / Output Instructions. Engineering 4862 Microprocessors. Lecture 23. Cheng Li

Chapter 4 : Microprocessor System

Advanced Microprocessors

MICROPROCESSOR BASICS AND RELATED TERMS

Allmost all systems contain two main types of memory :

Microprocessor & Interfacing Lecture DMA Controller--1

4. (a) With a neat sketch explain 8237 DMA controller and its operation? (b) With the help of basic cell explain SRAM and DRAM?

Subject Code: Model Answer Page No: /25

Lecture 2 Microcomputer Organization: Fig.1.1 Basic Components of Microcomputer

Microprocessor s. Address Bus. External Buses. Interfacing CPU with external word. We classify the CPU interfacing signals in three functional buses:

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:

EEE3410 Microcontroller Applications Department of Electrical Engineering Lecture 4 The 8051 Architecture

Its Assembly language programming

The Microcontroller. Lecture Set 3. Major Microcontroller Families. Example Microcontroller Families Cont. Example Microcontroller Families

Design with Microprocessors

Introduction. ECE/CS 5780/6780: Embedded System Design. Memory-Mapped I/O. Isolated I/O. Expanded Mode. Multiplexed Address and Data Lines

Introduction to Microprocessor

1-2 Chapter 1: The Beboputer Microcomputer

Data Acquisition Using INS8048

Interrupts. by Rahul Patel, Assistant Professor, EC Dept., Sankalchand Patel College of Engg.,Visnagar

CHAPTER TWELVE - Memory Devices

E3940 Microprocessor Systems Laboratory. Introduction to the Z80

Types of Interrupts:

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI UNIT I THE 8085 & 8086 MICROPROCESSORS. PART A (2 Marks)

Design with Microprocessors

Lecture-53 Mode 2: (Strobed Bidirectional bus I/O) This functional configuration provides means for communicating with a peripheral device on a

Interrupt is a process where an external device can get the attention of the microprocessor. Interrupts can be classified into two types:

UNIT-I. 1.Draw and explain the Architecture of a 8085 Microprocessor?

INTERFACING THE ISCC TO THE AND 8086

Module 2. Embedded Processors and Memory. Version 2 EE IIT, Kharagpur 1

EC 6504 MICROPROCESSOR AND MICROCONTROLLER Electronicsand Communication Engineering Fifth Semester UNIT-1I Part A 1. Definemachinecycle.

Summer 2003 Lecture 21 07/15/03

Pin diagram Common SignalS Architecture: Sub: 8086 HARDWARE

Memory & Simple I/O Interfacing

In 8086 Carry flag, Parity flag, Auxiliary carry flag, Zero flag, Overflow flag, Trace flag, Interrupt flag, Direction flag, and Sign flag.

Microprocessors I MICROCOMPUTERS AND MICROPROCESSORS

Microprocessors and Microcontrollers (EE-231)

1. What is Microprocessor? Give the power supply & clock frequency of 8085?

Lecture-7 Characteristics of Memory: In the broad sense, a microcomputer memory system can be logically divided into three groups: 1) Processor

EXPERIMENT #7 PARALLEL INTERFACING USING THE PERIPHERAL INTERFACE ADAPTER (PIA)

1 ( 10 points) 6 min.

Transcription:

Lecture-43 In previous lectures, we have interfaced memory chips, input and output devices separately with the processor. We shall now take up a problem which involves all i.e, ROM, RWM, input devices and output devices. Design an 05A microprocessor based system for a process control application which comprises the following, 1) 05A CPU with 212 latch. 2) k byte ROM consisting of 2732 ROMs (4k x ). 3) 4k RWM consisting of 6116 (2k x ) 4) Two input devices connected through input ports. 5) Two output devices connected through two output ports. 6) A minimum of 32k byte memory space must be available for further expansion. Use memory mapped I/O structure to design interfacing circuitry. Use Fold back principles to simplify device circuitry. Intel 2732 is a 4k x ROM. Therefore, two numbers of chips are required for k x ROM. Similarly, Intel 6116 is 2k x RWM, therefore, two numbers of chips are required for 4k x RWM. Since two input devices are to be interfaced with the processor using memory mapped I/O, therefore, we may reserve a total of k memory locations for input devices 4k for input device 1 and another 4k for input device 2. Similarly, two output devices are to be interfaced using memory mapped I.O, and, therefore, another k memory locations may be

reserved for output devices 4k each for output device 1 and output device 2. It is for the user to reserve the memory locations for different devices. In any case, ROM must occupy the initial memory space starting from 0000H. The memory map for this problem is shown in fig.7.12. 1000 H 1FFF H 200 H 2FFF H 300 H 3FFF H 5000 H 5FFF H 7000 H 7FFF H ROM0 2732 (4K X ) ROM1 2732 (4K X ) FOLD BACK FOR RAM0 RWM - RAM0 6116 (2K X ) RWM - RAM1 6116 (2K X ) FOLD BACK FOR RAM1 INPUT DEVI 1 INPUT DEVI 2 OUTPUT DEVI 1 OUTPUT DEVI 2 32 k Memory Space Not Used Fig.7.12 Memory Map 0000 H 0FFF H 2000 H 27FF H 3000 H 37FF H 4000 H 4FFF H 6000 H 6FFF H 000 H FFFF H After ROMs, next k memory space may be used for RWMs. Although only 4k space is required for RWMs but another 4k may also be reserved for RWMs as FOLD BACK address space. It simplifies the interfacing circuit. Since I/O devices are interfaced as memory mapped I/O, therefore, next 16k may be used for I/O devices k each for input devices and output devices. The remaining 32k is left for future expansion. Accordingly, the devices are connected to

system bus comprising address bus, data bus and control bus. The schematic diagram showing these connections is shown in figure. The only thing to be decided now is how to generate the chip select signals for different devices. To generate the chip select signals, the addresses assigned to each chip are tabulated as given in table below: A 15 A 14 A 13 A 12 A 11 ---- A 0 Control Signals Address 0 0 0 0 CSROM0 0000 H to 0FFFH 0 0 0 0 0 0 0 1 0 0 0 1 0 0 1 0 0 0 1 0 0 0 1 1 0 0 1 1 0 1 0 0 0 1 0 0 0 1 0 1 0 1 0 1 0 1 1 0 0 1 1 0 0 1 1 1 0 1 1 1 CSROM1 CSRAM0 CSRAM1 IDSP1 IDSP2 ODSP1 ODSP2 1000 H to 1FFFH 2000 H to 2FFFH 3000 H to 3FFFH 4000 H to 4FFFH 5000 H to 5FFFH 6000 H to 6FFFH 7000 H to 7FFFH From above table we see that depending on the address many control signals are to be generated device selection. The signals to be generated are also mentioned in the table. It is obvious from the table that the MSB address digit consisting of 4 bit A 15 A 14 A 13 A 12 decides which of the control signal should become ACTIVE LOW. For example, CSRAM0 should become ACTIVE whenever A 15 A 14 A 13 A 12 is

0000H. It should be HIGH otherwise. The table gives address bit information for the corresponding control signal to become ACTIVE LOW. The following points also become clear from this table: 1) For all these control signals, A 15 bit should be a zero. 2) Since it is memory mapped, IO/M control signal should be LOW to refer all these devices. 3) The control signals depend open the 3 bits A 14 A 13 A 12. (000) 2 for CSROM0 to (001) 2 for CSROM1 etc. This suggests a 3-line to - line decoder to be used for the decoding circuitry. INTEL 205 or 74LS13may be used as a decoder. The complete interfacing circuitry using 3-line to -line decoder is shown in fig.7.13. C 10k 10 F 10pF RESET IN X1 X2 Intel 05A AD15- AD ALE AD7- AD0 G 74LS373 Latch A7- A0 16 A15-A0 Unidirectional Address Bus Bidirectional Data Bus,, IO/M, READY, TRAP, RST7.5, RST6.5, RST5.5 D7- D0 INTR, INTA, SID, SOD, S1, S0, HOLD, HLDA, RESETOUT, CLK(OUT) Bidirectional Control Bus

AB 12 A11-A0 12 A11-A0 11 A10-A0 11 A10-A0 ROM0 ROM1 RAM0 RAM1 CSROM0 CSROM1 CSRAM0 CSRAM1 WE WE AB INPUT PORT 1 INPUT PORT 2 OUTPUT PORT 1 OUTPUT PORT 2 IDSP1 Input Device 1 IDSP2 Input Device 2 ODSP1 Output Device 1 ODSP2 Output Device 2 AB A15 A12 A13 A14 A0 A1 A2 E3 E1 E2 7413 Y0 Y1 Y2 Y3 Y4 Y5 Y6 Y7 CSROM0 CSROM1 CSRAM0 CSRAM1 IDSP 1 IDSP 2 ODSP 1 ODSP 2 IO/M Fig.7.13 Schematic Diagram of Design Problem