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

Slides:



Advertisements
Similar presentations
8086 [2] Ahad. Internal! External? 8086 vs _bit Data Bus 20_bit Address 8_bit Data Bus 20_bit Address Only external bus of 8088 is.
Advertisements

Parul Polytechnic Institute
Dr. Rabie A. Ramadan Al-Azhar University Lecture 3
Microprocessor Dr. Rabie A. Ramadan Al-Azhar University Lecture 4.
8086.  The 8086 is Intel’s first 16-bit microprocessor  The 8086 can run at different clock speeds  Standard 8086 – 5 MHz  –10 MHz 
9/20/6Lecture 3 - Instruction Set - Al1 The Hardware Interface.
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.
I/O Unit.
Parul Polytechnic Institute Subject Code : Name Of Subject : Microprocessor and assembly language programming Name of Unit : Introduction to Microprossor.
4-1 ECE 424 Design of Microprocessor-Based Systems Haibo Wang ECE Department Southern Illinois University Carbondale, IL Hardware Detail of Intel.
1 TK2633TK Microprocessor Architecture DR MASRI AYOB.
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.
GURSHARAN SINGH TATLA PIN DIAGRAM OF 8085 GURSHARAN SINGH TATLA
EC238 MICROPROCESSORS AND APPLICATIONS
Microcomputer & Interfacing Lecture 2
Khaled A. Al-Utaibi  8086 Pinout & Pin Functions  Minimum & Maximum Mode Operations  Microcomputer System Design  Minimum Mode.
MODES OF Details of Pins Pin 1 –Connected Ground Pins 2-16 –acts as both input/output. Outputs address at the first part of the cycle and outputs.
DEEPAK.P MICROPROCESSORS AND APPLICATIONS Mr. DEEPAK P. Associate Professor ECE Department SNGCE 1.
created by :Gaurav Shrivastava
Dr. Rabie A. Ramadan Al-Azhar University Lecture 6
Computer Architecture
Computer Architecture
MICROPROCESSOR INPUT/OUTPUT
Computer Architecture Lecture 8 by Engineer A. Lecturer Aymen Hasan AlAwady 30/12/2013 University of Kufa - Informatics Center for Research and Rehabilitation.
By, Prof. Tambe S. S. S.N.D. College of Engineering and Research Center Department of Electrical Engineering.
8086/8088 Hardware Specifications Power supply:  +5V with tolerance of ±10%;  360mA. Input characteristics:  Logic 0 – 0.8V maximum, ±10μA maximum;
Computer Architecture Lecture 9 by Engineer A. Lecturer Aymen Hasan AlAwady 10/2/2014 University of Kufa - Information Technology Research and Development.
Minimum System Requirements Clock Generator Memory Interfacing.
Direct Memory Access (DMA) Microprocessors I -1. Topics to be discussed  Basic DMA Concept Basic DMA Concept  DMA pins and timing DMA pins and timing.
Microprocessor. Interrupts The processor has 5 interrupts. CALL instruction (3 byte instruction). The processor calls the subroutine, address of which.
8085. Microcomputer Major components of the computer - the processor, the control unit, one or more memory ICs, one or more I/O ICs, and the clock Major.
MICROPROCESSORS & ORGANIZATION OF 8085
MICROPROCESSORS AND APPLICATIONS
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.
8086/8088 Hardware Specifications. Objectives Describe the functions of all 8086/8088 pins Understand DC characteristics and fan out Using the clock generator.
Computer Architecture Lecture 4 by Engineer A. Lecturer Aymen Hasan AlAwady 17/11/2013 University of Kufa - Informatics Center for Research and Rehabilitation.
MACHINE CYCLE AND T-STATE
بسم الله الرحمن الرحيم MEMORY AND I/O.
The 8085 Microprocessor Architecture. What 8085 meant for? 80 - year of invention bit processor 5 - uses +5V for power.
 The Programmable Interrupt Controller (PlC) functions as an overall manager in an Interrupt-Driven system. It accepts requests from the peripheral equipment,
8085 Microprocessor: Architecture & Support Components.
Gandhinagar Institute of Technology
8 085Microprocessor Temp Reg (8) Accumulator (A reg) Flag flip flops(8) Instruction Register (8) Arithmetic Logic Unit ALU Instruction Decoder and Machine.
Architecture of 8085 Nitin Mishra. Registers Microprocessor Instruction Cache Arithmetic & Logic Unit Control Unit Bus Interface Unit Data Cache Instruction.
Unit Microprocessor.
Seminar On 8085 microprocessor
COURSE OUTCOMES OF Microprocessor and programming
BLOCK DIAGRAM OF INTEL 8085.
Everybody.
The 8085 Microprocessor Architecture
The 8085 Microprocessor Architecture
Dr. Michael Nasief Lecture 2
8086/8088 Hardware Specifications
8085 microprocessor.
8085 Microprocessor Architecture
The 8085 Microprocessor Architecture
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Architecture of Microprocessor (Intel 8085) Unit-I
Interfacing Memory Interfacing.
Instruction cycle Instruction: A command given to the microprocessor to perform an operation Program : A set of instructions given in a sequential.
MICROPROCESSOR.
Architecture & Support Components
8085 Microprocessor Architecture
X1 & X2 These are also called Crystal Input Pins.
8259 Programmable Interrupt Controller
The 8085 Microprocessor Architecture
8085 Microprocessor Architecture
Presentation transcript:

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

Bus Timing. Cont. Review Example: MVI A,32H (means load 32h in the register (A)) 2000H 3EH 2001H 32H 1.Illustrate the bus timing ? 2.Calculate the time required to execute the opcode and memory read if the clock frequency is 2MHz

3

Bus Timing. Cont. Clock frequency= 2 MHz T-state= clock period (1/f) = 0.5 µs Execution time of Opcode fetch: (4T)= 2 µs Execution time of Memory read: (3T)= 1.5 µs So, Execution time of Instruction: (7T)= 3.5 µs 4

1. Memory interfacing There needs to be a lot of interaction between the microprocessor and the memory for the exchange of information during program execution. Memory has its requirements on control signals and their timing. The microprocessor has its requirements as well. (Read and write from and on it) The interfacing operation is simply the process of designing a circuit to match these requirements. 5

1.2 Memory structure & its requirements The way of interfacing the above two chips to the microprocessor is the same. However, the ROM does not have a WR signal which is for input buffer and RD for output buffer. EPROM 4096×8 Address Lines Date Lines CS RD Output Buffer ROM R/W Memory 2048×8 Address Lines Data Lines CS RD Output Buffer RAM WR Input Buffer Data Lines A10 A0 A11 A0 Internal decoder 6

1.3 Interfacing Memory Accessing memory can be summarized into the following three steps: Select the chip. Identify the memory register. Enable the appropriate buffer. Translating this to microprocessor domain: The microprocessor places a 16-bit address on the address bus. Part of the address bus will select the chip and the other part will go through the address decoder to select the register. The signals IO/M and RD combined indicate that a memory read operation is in progress (MEMR ) and it can be used to enable the RD line on the memory chip. 7

Timing of memory read cycle 8

Timing of memory write cycle 9

1.4 Address decoding The result of ‘address decoding’ is the identification of a register for a given address. A large part of the address bus is usually connected directly to the address inputs of the memory chip. This portion is decoded internally within the chip. What concerns us is the other part that must be decoded externally to select the chip. This can be done either using logic gates or a decoder. 10

Putting all of the concepts together: Back to the Overall Picture A15-A8 Latch AD7-AD0 D 7 - D 0 A 7 - A ALE IO/M RD WR 1K Byte Memory Chip WR RD CS A 9 - A 0 A 15 - A 10 Chip Selection Circuit 11

A13 A12 A14 A15 Address Decoding using NAND A13 A12 A14 E1 E2 E3 O 3-to-8 Decoder A15 Address Decoding using 3-to-8 Decoder 12 Address Decoding types

Interrupt signals An interrupt is a hardware-initiated subroutine CALL. When interrupt pin is activated, an ISR will be called, interrupting the program that is currently executing. ISR: interrupt Service Register, a type of register in a Programmable Interrupt Controller Pin Subroutine Location TRAP0024 RST C RST RST C INTR* Note: * the address of the ISR is determined by the external hardware.

Interrupt signals INTR input is enabled when EI (Embedded instruction) is executed. The status of the RST 7.5, RST 6.5 and RST 5.5 pins are determined by both EI instruction and the condition of the mask bits in the interrupt mask register.

15 Interrupt Vectors

16 A circuit that causes an RST4 instruction (E7) to be executed in response to INTR. When INTR is asserted, 8085 response with INTA pulse. During INTA pulse, 8085 expect to see an instruction applied to its data bus.

RESET signal Following are the two kind of RESET signals: RESET IN: an active low input signal, Program Counter (PC) will be set to 0 and thus MPU will reset. RESET OUT: an output reset signal to indicate that the μp was reset (i.e. RESET IN=0). It also used to reset external devices.

18 RESET signal

Direct Memory Access (DMA) DMA is an IO technique where external IO device requests the use of the MPU buses. Allows external IO devices to gain high speed access to the memory. Example of IO devices that use DMA: disk memory system. HOLD and HLDA are used for DMA. If HOLD=1, 8085 will place it address, data and control pins at their high-impedance. A DMA acknowledgement is signaled by HLDA=1.

Reading assignment (Report) 1.Topic ( Challenges in memory interfacing ) 2.Write as minimum 3 pages in clear English and give your conclusions and ideas about any potential solutions. 3.Font 12 pt Times New Roman. 4.DO NOT COPY AND PASTE (plagiarism). 5.List your references. 6.Write down your name and group clearly. 7.Submit your paper on in MS Word doc(x) 8.Dead-line is the end Monday 9 / 12/