Computer Architecture

Slides:



Advertisements
Similar presentations
IO Interfaces and Bus Standards. Interface circuits Consists of the cktry required to connect an i/o device to a computer. On one side we have data bus.
Advertisements

MEMORY popo.
The Intel 8255 Programmable Peripheral Interface chip is used to give the microprocessor (8088) access to programmable input/ output devices. It has three.
Dr. Rabie A. Ramadan Al-Azhar University Lecture 3
Prith Banerjee ECE C03 Advanced Digital Design Spring 1998
Microprocessor Dr. Rabie A. Ramadan Al-Azhar University Lecture 4.
Dr A Sahu Dept of Computer Science & Engineering IIT Guwahati.
TK2633 Introduction to Parallel Data Interfacing DR MASRI AYOB.
Chapter 2 Microprocessor Architecture
The 8085 Microprocessor Architecture
Microprocessor and Microcontroller
The 8085 Microprocessor Architecture. Contents The 8085 and its Buses. The address and data bus ALU Flag Register Machine cycle Memory Interfacing The.
Khaled A. Al-Utaibi  Computers are Every Where  What is Computer Engineering?  Design Levels  Computer Engineering Fields  What.
MEMORY ORGANIZATION Memory Hierarchy Main Memory Auxiliary Memory
ENGIN112 L30: Random Access Memory November 14, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 30 Random Access Memory (RAM)
1 TK2633TK Microprocessor Architecture DR MASRI AYOB.
CS 151 Digital Systems Design Lecture 30 Random Access Memory (RAM)
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.
Micro-controller or embedded controller
Architecture of the 8051 INTERNAL DATA BUS Oscillator & Timing Programmable I/O (32 Pins) 80C51 CPU 64K byte Expansion Control Serial I/O 4K Program Memory.
TK I/O Peripherals Interface DR MASRI AYOB.
Microcontroller: Introduction
9/20/6Lecture 3 - Instruction Set - Al1 Address Decoding for Memory and I/O.
Memory interface Memory is a device to store data
Memory and I/O Interfacing
Dr. Rabie A. Ramadan Al-Azhar University Lecture 6
ECE 371 Microprocessor Interfacing Unit 4 - Introduction to Memory Interfacing.
Address Decoding Memory/IO.
Computer Architecture
Fig 8-4 p-341. S 5 =IF flag (interrupt Enable). S 6 =0 always.
Computer Architecture Lecture 8 by Engineer A. Lecturer Aymen Hasan AlAwady 30/12/2013 University of Kufa - Informatics Center for Research and Rehabilitation.
BASIC INPUT AND OUTPUT INTERFACING.  8085A communicate with outside world using the I/O devices.  Since memory and I/O devices share the system bus,
By, Prof. Tambe S. S. S.N.D. College of Engineering and Research Center Department of Electrical Engineering.
Computer Architecture Lecture 13 – part 2 by Engineer A. Lecturer Aymen Hasan AlAwady 7/4/2014 University of Kufa - Information Technology Research and.
8086/8088 Hardware Specifications Power supply:  +5V with tolerance of ±10%;  360mA. Input characteristics:  Logic 0 – 0.8V maximum, ±10μA maximum;
Microprocessor Dr. Rabie A. Ramadan Al-Azhar University Lecture 2.
Computer Architecture Lecture 9 by Engineer A. Lecturer Aymen Hasan AlAwady 10/2/2014 University of Kufa - Information Technology Research and Development.
Memory Interface A Course in Microprocessor Electrical Engineering Dept. University of Indonesia.
Integrated Circuits. Integrated Circuit (IC) A silicon crystal (chip) containing electronic components that create the logic gates we’ve been looking.
Accessing I/O Devices Processor Memory BUS I/O Device 1 I/O Device 2.
Computer Architecture Lecture 13 – part 1 by Engineer A. Lecturer Aymen Hasan AlAwady 31/3/2014 University of Kufa - Information Technology Research and.
Introduction to Microprocessors
Computer Architecture Lecture 11 by Engineer A. Lecturer Aymen Hasan AlAwady 10/3/2014 University of Kufa - Information Technology Research and Development.
Computer Architecture Lecture 6 by Engineer A. Lecturer Aymen Hasan AlAwady 1/12/2013 University of Kufa - Informatics Center for Research and Rehabilitation.
Programmable Logic Controllers LO1: Understand the design and operational characteristics of a PLC system.
Introduction to Microprocessors - chapter3 1 Chapter 3 The 8085 Microprocessor Architecture.
Computer Architecture Lecture 5 by Engineer A. Lecturer Aymen Hasan AlAwady 25/11/2013 University of Kufa - Informatics Center for Research and Rehabilitation.
Microprocessor Fundamentals Week 4
Computer Architecture Lecture 4 by Engineer A. Lecturer Aymen Hasan AlAwady 17/11/2013 University of Kufa - Informatics Center for Research and Rehabilitation.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
8085 Microprocessor: Architecture & Support Components.
Microprocessors 3 Buses, Addresses and Machine Cycles 1 Modified April 2011 ©Paul R. Godin prgodin gmail.com.
MICROPROCESSOR AMARTYA ROY-72 ANGSHUMAN CHATTERJEE-80 ASHISH LOHIA-70 MOLOY CHAKRABORTY-60.
Memory Interface EEE 365 [FALL 2014] LECTURER 12 ATANU K SAHA BRAC UNIVERSITY.
Index What is an Interface Pins of 8085 used in Interfacing Memory – Microprocessor Interface I/O – Microprocessor Interface Basic RAM Cells Stack Memory.
DSP Processor
The 8085 Microprocessor Architecture
Memory Interfacing.
Diagram of microprocessor interface with IO devices
The 8085 Microprocessor Architecture
Combinational Logic Circuits
Interfacing 64Kb EPROM with 8085
Dr. Rabie A. Ramadan Al-Azhar University Lecture 5
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Architecture of Microprocessor (Intel 8085) Unit-I
Interfacing Memory Interfacing.
INTEL
The 8085 Microprocessor Architecture
8279 – Programmable Keyboard/Display Interface
Chapter 4 Introduction to Computer Organization
Presentation transcript:

Computer Architecture Lecture 7 by Engineer A. Lecturer Aymen Hasan AlAwady 8/12/2013 University of Kufa - Informatics Center for Research and Rehabilitation 1

1. Addressing decoding and memory addresses Review Example: Analyze the possible logic levels of the memory chip (2732 EPROM).

1. Addressing decoding and memory addresses We have 16 address lines. A12 – A15 must be 000 to assert chip enable. A0 – A11 can assume any combination from all 0s to all 1s. (we have 4096 registers, so we need 12 address) A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1.For registers selection, we have 4096 register, so we need 12 address lines (212 ) from 0000 H to 0FFF H. 2. For chip select we need 0H to 0H, since the output line on O0. 0000 H 0 F F F 0FFF H Chip Enable Register Select

Reading signal

Homework: Analyze the possible logic levels of the memory chip 6116 Memory and draw the address decoding and writing from memory through the interfacing with 8085 MPU

2. Case study: Interfacing the 8155 The 8155 is a special chip designed by Intel to work with the 8085 to demonstrate the interfacing of the 8085 MPU. The 8155 has 256 bytes of RAM, 2 programmable I/O ports and a timer. It is usually used in systems designed for use in university labs. We will now concentrate on the memory part of the 8155. Modified Lecture by Dr. Bassel Soudan

2. 1 Interfacing the 8155 memory section The 8155 contains all the circuitry needed to interface to the 8085 directly. It has 8 lines that match the AD0-AD7 of the 8085 and one CE (chip enable). It has 5 control lines that match the control and status lines of the 8085. The address/data lines are demultiplexed internally inside the 8155 and the control signals needed for the memory are also generated internally. All that is needed to interface the 8155 to the 8085 is logic to control the 8155 to determine the starting address of the memory segment. Modified Lecture by Dr. Bassel Soudan

2. 1 Interfacing the 8155 memory section It is possible in a small computer system to use multiple addresses for the same memory location. In that case, memory is small and limited, so it doesn’t make sense to use all of the address lines to specify each of the locations. Some of the address lines are left unconnected. That results in don’t care address lines. The result will be that the same set of memory registers is used when the user enters the different addresses. This process is called memory fold back. i.e. the new address range is folded back over the old address. Again, this allows the use of a much simpler decoding circuit for the address lines. Modified Lecture by Dr. Bassel Soudan

2.2 Memory interfacing in 8155 A15

2.2 Memory interfacing in 8155 A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 1 1 1 1 1 1 1 1 A8, A9 and A10 are don care lines, means they could be 0s or 1s (don’t care). When they are all 0s the starting range will be 2000 H – 20FF H and when only A8 be 1 the address will be 2100 H – 21FF H and when all of they be 1s, the address will be 2700 H – 27FF H. All of the above addresses are pointed at the same memory registers (memory fold back). 2100 H 21FF H Chip Enable Don’t care Register Select

3. Testing Memory Interfacing Circuits Testing a memory chip in an existing system is as easy as loading a byte at a specific address and then verifying that it was loaded. A few more addresses should also be checked. In case of fold back memory, one should test the different address ranges for the don’t care address lines. In fact, in 8155 the memory fold back space is in range (2100 H – 27FF H) which is cant be used. Modified Lecture by Dr. Bassel Soudan

End of lecture 7