16.317: Microprocessor System Design I

Slides:



Advertisements
Similar presentations
Microprocessor Architecture Pipelined Architecture
Advertisements

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.
Dr. Rabie A. Ramadan Al-Azhar University Lecture 3
ECE 2211 Microprocessor and Interfacing Chapter 8 The 8088/8086 Microprocessors and their memory and I/O interfaces Br. Athaur Rahman Bin Najeeb Room.
Khaled A. Al-Utaibi 8086 Bus Design Khaled A. Al-Utaibi
8086.  The 8086 is Intel’s first 16-bit microprocessor  The 8086 can run at different clock speeds  Standard 8086 – 5 MHz  –10 MHz 
SYSTEM CLOCK Clock (CLK) : input signal which synchronize the internal and external operations of the microprocessor.
Chapter 2 Microprocessor Bus Transfers. Big- and Little-Endian Ordering Bit-endian processor architecture –High-order-byte-first (H-O-B-F) map the highest-order.
CSNB373: Microprocessor Systems
FIU Chapter 7: Input/Output Jerome Crooks Panyawat Chiamprasert
80486 Processor math co-processor is the first processor to have built-in math coprocessor. This being integrated on the chip allows it to execute.
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.
Midterm Tuesday October 23 Covers Chapters 3 through 6 - Buses, Clocks, Timing, Edge Triggering, Level Triggering - Cache Memory Systems - Internal Memory.
MICROPROCESSOR BASED SYSTEM DESIGN
GURSHARAN SINGH TATLA PIN DIAGRAM OF 8085 GURSHARAN SINGH TATLA
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.
created by :Gaurav Shrivastava
8086/8088 Hardware Specifications A Course in Microprocessor Electrical Engineering Dept. University of Indonesia.
MICROPROCESSOR INPUT/OUTPUT
Khaled A. Al-Utaibi  Interrupt-Driven I/O  Hardware Interrupts  Responding to Hardware Interrupts  INTR and NMI  Computing the.
8086/8088 Hardware Specifications Power supply:  +5V with tolerance of ±10%;  360mA. Input characteristics:  Logic 0 – 0.8V maximum, ±10μA maximum;
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.
Unit-III Pipelined Architecture. Basic instruction cycle 6/4/2016MDS_SCOE_UNIT32.
Microprocessor. Interrupts The processor has 5 interrupts. CALL instruction (3 byte instruction). The processor calls the subroutine, address of which.
80386DX. Features of 80386DX It supports 8/16/32 bit data operands It has 32-bit internal registers It supports 32-bit data bus and 32-bit non-multiplexed.
80386DX functional Block Diagram PIN Description Register set Flags Physical address space Data types.
EFLAG Register of The The only new flag bit is the AC alignment check, used to indicate that the microprocessor has accessed a word at an odd.
8086/8088 Hardware Specifications. Objectives Describe the functions of all 8086/8088 pins Understand DC characteristics and fan out Using the clock generator.
بسم الله الرحمن الرحيم MEMORY AND I/O.
The 8085 Microprocessor Architecture. What 8085 meant for? 80 - year of invention bit processor 5 - uses +5V for power.
Multiplex of Data and Address Lines in 8088 Address lines A0-A7 and Data lines D0-D7 are multiplexed in These lines are labelled as AD0-AD7. –By.
Memory Interface EEE 365 [FALL 2014] LECTURER 12 ATANU K SAHA BRAC UNIVERSITY.
Unit Microprocessor.
EEE /INSTR/CS F241 ES C263 Microprocessor Programming and Interfacing
COURSE OUTCOMES OF Microprocessor and programming
Everybody.
Chapter 9: 8086/8088 Hardware Specifications
MICROPROCESSOR BASED SYSTEM DESIGN
Microprocessor Systems Design I
Chapter 10 Input/Output Organization
Direct Memory address and 8237 dma controller LECTURE 6
Introduction to the processor and its pin configuration
CPU Sequencing 6/30/2018.
I/O Memory Interface Topics:
PIN description of 8086 in Minimum Mode
EE3541 Introduction to Microprocessors
Dr. Michael Nasief Lecture 2
DMA CONTROLLER 8257 Features: It is a 4-channel DMA.
8086/8088 Hardware Specifications
8085 Microprocessor Architecture
Mikroişlemci Sistemleri
E3165 DIGITAL ELECTRONIC SYSTEM
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Programmable Interval timer 8253 / 8254
8085 Microprocessor Architecture
X1 & X2 These are also called Crystal Input Pins.
Programmable Interval timer 8253 / 8254
Md. Mojahidul Islam Lecturer Dept. of Computer Science & Engineering
Md. Mojahidul Islam Lecturer Dept. of Computer Science & Engineering
第四章 80386的存贮器和输入/输出接口 作业:P335 5,7,13,17,21,25,36,37,41,44,45,46,48,52,65 21:46.
8085 Microprocessor Architecture
COMP3221: Microprocessors and Embedded Systems
The Programmable Peripheral Interface (8255A)
CPU Sequencing 7/20/2019.
8086 microprocessior PIN OUT DIAGRAM OF  Power supply and frequency signals  It uses 5V DC supply at V CC pin 40, and uses ground at V SS pin.
Chapter 13: I/O Systems “The two main jobs of a computer are I/O and [CPU] processing. In many cases, the main job is I/O, and the [CPU] processing is.
Presentation transcript:

16.317: Microprocessor System Design I 5/18/2018 16.317: Microprocessor System Design I Instructor: Dr. Michael Geiger Spring 2012 Lecture 25: Interfacing (cont.) Chapter 2

Microprocessors I: Lecture 25 Lecture outline Announcements/reminders Exam 2: next Wednesday Once again, allowed 1 8.5” x 11” sheet of notes I’ll provide you with a list of instructions—will post to the web page shortly Practice problems to be posted today Lecture outline Review: microprocessor interfaces More on 80386 interfaces 5/18/2018 Microprocessors I: Lecture 25

Review: 80386 Interfaces (Fig 9.3, p. 376) 5/18/2018 Review: 80386 Interfaces (Fig 9.3, p. 376) A2-A31 HOLD DMA interface HLDA BE0-BE3 D0-D31 INTR Interrupt interface NMI W/R Memory/ IO interface RESET D/C M/IO ADS PEREQ READY Coprocessor interface BUSY NA ERROR LOCK BS16 5/18/2018 Microprocessors I: Lecture 25 Chapter 9

Additional Memory/IO signals LOCK: used in multiprocessor systems One processor must claim bus control to execute transaction BS16: Change buses to 16-bit mode 5/18/2018 Microprocessors I: Lecture 25

Microprocessors I: Lecture 25 5/18/2018 Interrupt Interface Signals: INTR: interrupt NMI: Nonmaskable interrupt request RESET: system reset Interrupt request/interrupt-acknowledge signal handshake IF can disable INTR; NMI cannot be disabled RESET: initialize internal registers, execute reset service routine 5/18/2018 Microprocessors I: Lecture 25 Chapter 9

DMA and Coprocessor Interfaces 5/18/2018 DMA and Coprocessor Interfaces DMA Two signals: HOLD and HLDA HOLD: bus hold request by DMA controller 80386DX goes into hold state, its bus signals are in high-impedance state HLDA: acknowledge from 80386DX to give up control of bus Coprocessor Interface PEREQ: coprocessor request for data transfer BUSY: coprocessor busy; no new calculation ERROR: coprocessor error occurred 5/18/2018 Microprocessors I: Lecture 25 Chapter 9

Microprocessors I: Lecture 25 System clock Used to synchronize both internal and external operations Generated by external oscillator Specified in terms of frequency or cycle time Cycle time = 1 / frequency E.g. 20 MHz clock  cycle time = 1 / 20x106 = 50 ns 80386 specifics External pin CLK2: clock input Internal clock: ½ frequency of CLK2 Valid internal frequencies for different 80386 models: 16, 20, 25, 33 MHz One (internal) cycle: 1 “T state” 5/18/2018 Microprocessors I: Lecture 25

Microprocessors I: Lecture 25 5/18/2018 Bus Cycles Activity performed when accessing information in memory or I/O devices Nonpipelined vs pipelined Nonpipelined bus cycle (Figure 9.10) T1 : outputs the address on address bus, a bus cycle indication code, control signal T2: external device accept data, or provide data to data bus address is still available on address bus while data transfer Each bus cycle has two T states (= 4 CLK2 cycles = 100ns for 20MHz 80386) 5/18/2018 Microprocessors I: Lecture 25 Chapter 9

Microprocessors I: Lecture 25 5/18/2018 Pipelined Bus Cycle Pipelining : Addressing for the next busy cycle is overlapped with data transfer of prior bus cycle (Fig 9.11) Address, bus cycle indication code and control signals are output in T2 of the prior cycle, instead of the T1 that follows Compare Figure 9.10 with 9.11 Fig. 9.11: Address n becomes valid in T2 of prior bus cycle Fig. 9.11: while data transfer n occurs, address n+1 is output on address bus 80386 begins accessing the next storage location while it is still performing read/write of data for the previous location Address-access time: amount of time that address is stable prior to read/write of data Pipelined mode has longer effective address-access time Given fixed address-access time (equal speed memory design), pipelined bus cycle will have a shorter duration than nonpipelined busy cycle I.e. pipelined bus can operate at a higher clock rate than nonpipelined bus cycle. 5/18/2018 Microprocessors I: Lecture 25 Chapter 9

Idle State and Wait State 5/18/2018 Idle State and Wait State Idle state no need to access memory Next bus cycle is not initiated immediately Wait state (Tw) Request by an event in external hardware READY signal (input signal) sampled in the later part of T2 As long as READY is 1, read/write data transfer does not take place and T2 becomes Tw Bus cycle is not completed until READY back to 0 5/18/2018 Microprocessors I: Lecture 25 Chapter 9

Microprocessors I: Lecture 25 5/18/2018 Read Bus Cycle Timing Nonpipelined Read Cycle Timing (Figure 9.14) T1 and T2, each has two phases (1, 2) 1 of T1 : Address, BE, ADS (signal a valid address is on address bus) Bus indication signals (M/IO, D/C, W/R) are made valid 1 of T2 : BS16 signal made valid 2 of T2 : READY input is tested Data is ready on data bus, if READY = 0 Bus cycle extended to Wait state, if READY = 1 5/18/2018 Microprocessors I: Lecture 25 Chapter 9

Microprocessors I: Lecture 25 5/18/2018 Microprocessors I: Lecture 25

Microprocessors I: Lecture 25 5/18/2018 Write Bus Cycle Timing Nonpipelined Write Cycle Timing (Figure 9.16) 1 of T1 : Address, BE, ADS (signal a valid address is on address bus) Bus indication signals (M/IO, D/C, W/R) are made valid 2 of T1 : Outputs the data to be written to memory onto data bus data made valid until the end of the bus cycle 1 of T2 : BS16 signal made valid 2 of T2 : READY input is tested Wait State Inserted with READY input signal Duration of Tw = T2 5/18/2018 Microprocessors I: Lecture 25 Chapter 9

Microprocessors I: Lecture 25 5/18/2018 Microprocessors I: Lecture 25

Microprocessors I: Lecture 25 Next time Exam 2 Review Look for review slides soon—be prepared with questions on Monday! 5/18/2018 Microprocessors I: Lecture 25