University of Alexandria Faculty of Engineering Division of Communications & Electronics

Similar documents
Alexandria University Faculty of Engineering Communications and Computers SSP

Memorial University of Newfoundland

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

FIGURE Three EPROMs interfaced to the 8088 microprocessor.

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE:

UMBC D 7 -D. Even bytes 0. 8 bits FFFFFC FFFFFE. location in addition to any 8-bit location. 1 (Mar. 6, 2002) SX 16-bit Memory Interface

Microprocessors and Microcontrollers (EE-231)

Random Access Memory (RAM)

ENGIN 112 Intro to Electrical and Computer Engineering

Allmost all systems contain two main types of memory :

3. (a) Explain the steps involved in the Interfacing of an I/O device (b) Explain various methods of interfacing of I/O devices.

Pin Description, Status & Control Signals of 8085 Microprocessor

MEMORY INTERFACING OF 8051/8031 MICROCONTROLLER

8085 Microprocessor Architecture and Memory Interfacing. Microprocessor and Microcontroller Interfacing

Microcomputer System Design

Chapter TEN. Memory and Memory Interfacing

Microcontroller Systems. ELET 3232 Topic 11: General Memory Interfacing

Memory Expansion for the 8096

CPE/EE 421/521 Fall 2004 Chapter 4 The CPU Hardware Model. Dr. Rhonda Kay Gaede UAH. The CPU Hardware Model - Overview

eaymanelshenawy.wordpress.com

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

Introduction read-only memory random access memory

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

PART - B (Answer all five units, 5 X 10 = 50 Marks)

Handout 15. by Dr Sheikh Sharif Iqbal. Memory Interface of 8088 and 8086 processors

Code No: R Set No. 1

XAPP170 May 19, 1999 (Version 1.0) Application Note

Digital Design, Kyung Hee Univ. Chapter 7. Memory and Programmable Logic

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

7/6/2011. Introduction. Chapter Objectives Upon completion of this chapter, you will be able to:

History and Basic Processor Architecture

To Interface The 8085 Microprocessor

3. The MC6802 MICROPROCESSOR

Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices,

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

Lecture (01) Introducing Embedded Systems and the Microcontrollers By: Dr. Ahmed ElShafee

8254 is a programmable interval timer. Which is widely used in clock driven digital circuits. with out timer there will not be proper synchronization

1. Attempt any three of the following: 15

Embedded Applications. COMP595EA Lecture03 Hardware Architecture

Am186ER/Am188ER AMD continues 16-bit innovation

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

Microprocessor and Microcontroller question bank. 1 Distinguish between microprocessor and microcontroller.

2. (2 pts) If an external clock is used, which pin of the 8051 should it be connected to?

Microcomputer Architecture and Programming

ORG ; Week8. Memory and Memory Interfacing

Altera FLEX 8000 Block Diagram

EE4380 Microprocessor Design Project

EC-333 Microprocessor and Interfacing Techniques

PART B UNIT II PART A

The 9S12 in Expanded Mode - Using MSI logic to build ports Huang Chapter 14

Embedded Systems Lab Lab 1 Introduction to Microcontrollers Eng. Dalia A. Awad

Topic 3. ARM Cortex M3(i) Memory Management and Access. Department of Electronics Academic Year 14/15. (ver )

Lecture Objectives. Introduction to Computing Chapter 0. Topics. Numbering Systems 04/09/2017

Section 6. Memory Components Chapter 5.7, 5.8 Physical Implementations Chapter 7 Programmable Processors Chapter 8

EC4205 Microprocessor and Microcontroller

Lecture-55 System Interface:

Memory Organization. Program Memory

UMBC. Select. Read. Write. Output/Input-output connection. 1 (Feb. 25, 2002) Four commonly used memories: Address connection ... Dynamic RAM (DRAM)

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422)

8051 INTERFACING TO EXTERNAL MEMORY

Principle and Interface Techniques of Microcontroller

10 2 ADDRESS DECODING:

Lecture Note On Microprocessor and Microcontroller Theory and Applications

PC-MIP Link Receiver Board Interface Description

2-MBIT (128K x K x 8) LOW-POWER BOOT BLOCK FLASH MEMORY FAMILY

Menu. word size # of words byte = 8 bits

The MC9S12 in Expanded Mode Using MSI logic to build ports Using MSI logic to build an output port Using MSI logic to build an input port

Lecture XIV 8086 Memory Interface. Wisam I Hasan

Memory Interfacing & decoding. Intel CPU s

2-MBIT (128K x K x 8) BOOT BLOCK FLASH MEMORY FAMILY

Moodle WILLINGDON COLLEGE SANGLI (B. SC.-II) Digital Electronics

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

ET2640. Unit 5:ADVANCED I/O TECHNIQUES Pearson Education, Inc. Pearson Prentice Hall Upper Saddle River, NJ 07458

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

SECURE MICROCONTROLLER USER S GUIDE... 1

Question Bank Unit-1

Memory and Programmable Logic

Logical Design of Digital Systems

Design with Microprocessors

CHAPTER 3 WIRELESS MEASUREMENT INSTRUMENT

Memory & Simple I/O Interfacing

Subject Code: Model Answer Page No: /25

Address connections Data connections Selection connections

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

Unit 5 DOS INTERRPUTS

VALLIAMMAI ENGINEERING COLLEGE

8051 microcontrollers

CPU CPU MEMORY MICRO CONTROLLER MICRO PROCESSER. Consists Memory, I/o ports. Memory, I/O Ports to be connected externally. MEMORY I/O PORTS I/O PORTS

8051 Interfacing: Address Map Generation

Chapter 4 : Microprocessor System

UMBC. 80C86/80C88: CMOS version draws 10mA with temp spec -40 to 225degF. 450mV while input max can be no higher than 800mV). 0 0.

Memory Expansion. Lecture Embedded Systems

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

Today s Agenda Background/Experience Course Information Altera DE2B Board do Overview Introduction to Embedded Systems Design Abstraction Microprocess

COMP2121: Microprocessors and Interfacing. Introduction to Microprocessors

Atmel s s AT94K Series Field Programmable System Level Integrated Circuit (FPSLIC)

Module I. Microcontroller can be classified on the basis of their bits processed like 8bit MC, 16bit MC.

INSTITUTE OF ENGINEERING AND MANAGEMENT, KOLKATA Microprocessor

Introduction to Microcontrollers

Design with Microprocessors

Transcription:

University of Alexandria Faculty of Engineering Division of Communications & Electronics Subject Name: Microprocessors Lecturer: Dr. Mohammed Morsy Academic Year: 2012 2013 Assistants: Eng. Ahmed Bedewy Third Year Semester 1 SHEET 7 Introduction to Hardware and Memory Address Decoding 1) a) Differentiate between the microprocessor, microcontroller, DSP, FPGA, and ASIC computational elements and provide three application examples for each. b) Draw the Von Newmann compute architecture, and briefly describe its advantages and limitations. 2) a) How many clock cycles are in the 8088/8086 bus cycle. Is this number always fixed? b) Sketch in detail the memory bus cycle for the 8088/8086 microprocessor. Briefly describe the purpose of each state in the bus cycle including the wait state. c) If the CLK input to the 8086/8088 is 4 MHz, how long is one bus cycle? How much time is allowed for memory access? How many MIPS is the 8086/8088 capable of obtaining when operated at this frequency? d) Contrast minimum and maximum mode 8086/8088 operation. 3) a) What is the purpose of the ALE line in the 8088/8086? b) Why are buffers and latches needed for the data, address and control buses of the 8088/8086 microprocessors? c) Draw the demultiplexing and buffering circuits for the 8088 and 8086 microprocessors. d) Why are memory address decoders important? e) Using 64Kx8 SRAMs, determine the number of chips required to construct a memory interface to each of the following processors: i) 8088 ii) 8086 iii) 80486 iv) Pentium f) Sketch the bus timing waveform of a READ machine cycle for the 8086 processor. g) The pinout of the 8284A and its internal circuitry is shown in figure 1.Answer the following questions: i) Which pin is connected to the clock of the microprocessor? If a crystal of 15 MHz is attached at pins 16 and 17, what is the operating frequency of the processor? If a memory chip of 500ns access time is interfaced with the processor,

does it require a wait state? Why? Which pin is responsible for the generation of the READY signal? Which pins are used to control the generation of the READY signal? ii) Explain briefly how the clock signal is generated by two different methods using the pins (X1, X2, F/C, EFI and CLK)? If you need three chips of the 8284A clock generator, how many crystals do you have to buy to operate the three ICs? Explain your answer. Figure 1. 4) For the shown memory in figure 2, find the range of addresses for each chip. If the 3-8 decoder 74138 is removed and we used a PAL 16L8 instead, draw the new circuit, and write down the equations describing the connections. Figure 2. 5) Design a circuit showing how to interface 2732 EPROMs to the 8088uP using 74LS138 so that the memory range from 68000H 6BFFFH is addressed.

6) Design a circuit showing how three 2732 EPROMs and two 2716 EPROMs to the 8088 microprocessor using one 74LS139 so that the memory range from 00000H 03FFFH is addressed. 7) Design a memory system for the 8088 microprocessor consisting of: a) ROM section using 2732 chips for the addresses from 00000H-02FFFH b) RAM section using 4016 chips for the addresses from 06000H-06FFFH 8) Design a circuit showing how to interface 2732 EPROMs to the 8086 microprocessor using 74LS138 so that the memory required is 64KB starting at the address B0000H. 9) Consider an 8088 microprocessor with the following memory map. Design a decoding circuit to select the RAM0, RAM1 and ROM0 devices which consists of 2Kx8 chips. Use 74138 type devices (two low active enables and one high active enable) and any other standard logic gates ROM MEMORY MAPPED IO RAM1 RAM0 0C000-0FFFFH 08000-0BFFFH 04000-07FFFH 00000-3FFFFH 10) a) Modify the circuit shown in figure 3 so that the EPROM is located at the memory address starting at B0000H and the RAM is located at the memory address starting at 10000H b) Modify the new circuit so that the memories are doubled and starting at the same addresses c) Modify the circuit in b) so that it can be connected to Pentium processor. 11) a) It is required to connect an 8088 to 8 ROM chips of 8KB each, starting at address A0000H.Show the connection indicating the range of addresses of each chip b) Modify the circuit shown in figure 4 so that the Pentium processor is interfaced with 8 1MBx8 chips c) If a 74138 decoder is used to connect the circuit in b) with starting address F0000000H, show the connection lines to the decoder. 12) a) Explain how odd parity is stored in a memory system and how it is checked. b) Calculate the CRC value for the 16-bit data streams 48F9H, 538AH. c) Test if these code words are correct, assuming they were created using an even parity Hamming Code. If one is incorrect, indicate what the correct code word should have been. Also, indicate what the original data was. 010101100011 111110001100 000010001010

Figure 3.

Figure 4.