SYSTEM CLOCK Clock (CLK) : input signal which synchronize the internal and external operations of the microprocessor.

Slides:



Advertisements
Similar presentations
8086/8088 Hardware Specifications (Chapter 8)
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.
Parul Polytechnic Institute
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 
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.
Parul Polytechnic Institute Subject Code : Name Of Subject : Microprocessor and assembly language programming Name of Unit : Introduction to Microprossor.
Designing the 8086/8088 Microcomputer System
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.
Chapter 10 Hardware Details on the 8088 Objectives: The general specification on the 8088 microprocessors The processor’s control signal names and specifications.
I/O Subsystem Organization and Interfacing Cs 147 Peter Nguyen
Design of Microprocessor-Based Systems Hardware Detail of Intel 8088 Dr. Esam Al_Qaralleh CE Department Princess Sumaya University for Technology.
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.
MICROPROCESSOR.
Memory interface Memory is a device to store data
Address Decoding Memory/IO.
8086/8088 Hardware Specifications A Course in Microprocessor Electrical Engineering Dept. University of Indonesia.
Computer Architecture
8086/8088 Hardware Specifications Power supply:  +5V with tolerance of ±10%;  360mA. Input characteristics:  Logic 0 – 0.8V maximum, ±10μA maximum;
8086/8088 Hardware specifications
Microprocessor Dr. Rabie A. Ramadan Al-Azhar University Lecture 2.
Microprocessor-Based System. What is it? How simple can a microprocessor-based system actually be? – It must obviously contain a microprocessor otherwise.
Minimum System Requirements Clock Generator Memory Interfacing.
MODES OF Details of Pins Pin 1GND –Connected Ground Pins 2-16 AD14-AD0–acts as both input/output. Outputs address at the first part of the cycle.
Unit-III Pipelined Architecture. Basic instruction cycle 6/4/2016MDS_SCOE_UNIT32.
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.
Computer Architecture Lecture 6 by Engineer A. Lecturer Aymen Hasan AlAwady 1/12/2013 University of Kufa - Informatics Center for Research and Rehabilitation.
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.
MACHINE CYCLE AND T-STATE
The 8085 Microprocessor Architecture. What 8085 meant for? 80 - year of invention bit processor 5 - uses +5V for power.
Chapter Microcontroller
8085 Microprocessor: Architecture & Support Components.
8085 INTERNAL ARCHITECTURE.  Upon completing this topic, you should be able to: State all the register available in the 8085 microprocessor and explain.
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.
5-1 ECE 424 Design of Microprocessor-Based Systems Haibo Wang ECE Department Southern Illinois University Carbondale, IL
Microprocessors 3 Buses, Addresses and Machine Cycles 1 Modified April 2011 ©Paul R. Godin prgodin gmail.com.
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.
AMITY UNIVERSITY RAJASTHAN Present By M.Sc Applied Chemistry.
Memory Interface EEE 365 [FALL 2014] LECTURER 12 ATANU K SAHA BRAC UNIVERSITY.
G.H.PATEL COLLEGE OF ENGG.& TECH. SUBJECT:-Micro processor & controller GUIDED BY :-Bhavesh R hindocha PREPARED BY:- PARTH TRIVEDI( ) AJAY KATHIRIYA( )
8085 Microprocessor Architecture
EEE /INSTR/CS F241 ES C263 Microprocessor Programming and Interfacing
Microprocessor Communication and Bus Timing
Everybody.
The 8085 Microprocessor Architecture
16.317: Microprocessor System Design I
CPU Sequencing 6/30/2018.
The 8085 Microprocessor Architecture
EE3541 Introduction to Microprocessors
8086/8088 Hardware Specifications
8085 Microprocessor Architecture
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
8085 Microprocessor Architecture
X1 & X2 These are also called Crystal Input Pins.
The 8085 Microprocessor Architecture
8085 Microprocessor Architecture
Computer Operation 6/22/2019.
CPU Sequencing 7/20/2019.
Presentation transcript:

SYSTEM CLOCK Clock (CLK) : input signal which synchronize the internal and external operations of the microprocessor.

CLOCK GENERATOR IC The clock source is generated by 8284 ( clock generator and Driver IC ) CLK ( 8) of 8284 is connected to pin 19 8088/8086 8284 also supplies it with 2 of it's control lines – RESET and READY. The RESET signal does resets the 8088. This line can also be used by other peripherals on the computer so that they reset when the 8088 resets. READY used to slow down the 8088 ; Dfrom IO circuit thru RD1 and RD2 A crystal oscillator is connected between X1 and X2 which provides a FUNDAMENTAL CRYSTAL FREQUENCY. ( FCF) 33% duty cycle the FCF is divided by 3 internally by 8244 to provide the necessary CLK output pin pclk provide 50% of duty cycle to drive periperal devices http://en.wikipedia.org/wiki/Crystal_oscillator

BUS CYCLE AND TIME STATES A bus cycle defines the basic operation that a microprocessor performs to communicate with external devices. Examples of bus cycle are memory read, memory write, input/output read and input/output write. A bus cycle corresponds to a sequence of events that starts with an address being output on the system bus followed by a read or write data transfer. During these operations, a series of control signal are also produced by the MPU to control the direction and timing of the bus. Each bus cycle consists of at least four clock periods, T1, T2, T3 and T4. These clock period are also called T-state. These 4 clock states gives a bus cycle duration of ( 125 ns * 4 ) = 500 ns in a 8-Mhz 8088 Idle State: no bus activity ; one clock period Wait state : controlled by READY signal ; inserted between T3 and T4 when READY = 0 . Bus cycle will complete when READY = 1

Bus Cycle and Time States T1 - start of bus cycle. Actions include setting control signals to give the required values for ALE, DTR, IO/M putting a valid address onto the address bus. T2 - the RD or WR control signals are issued, DEN is asserted and in the case of a write, data is put onto the data bus. The DEN turns on the data bus buffers to connect the CPU to the external data bus. The READY input to the CPU is sampled at the end of T2 and if READY is low, a wait state TW (one or more) is inserted before T3 begins. T3 - this clock period is provided to allow memory to access the data. If the bus cycle is a read cycle, the data bus is sampled at the end of T3. T4 - all bus signals are deactivated in preparation for the next clock cycle. The 8088 also finishes sampling the data (in a read cycle) in this period. For the write cycle, the trailing edge of the WR signal transfers data to the memory or I/O, which activates and write when WR returns to logic 1 level.

System Timing Diagrams T-State: One clock period is referred to as a T-State T-State An operation takes an integer number of T-States CPU Bus Cycle: A bus cycle consists of 4 or more T-States T1 T2 T3 T4

Memory Read Timing Diagrams Dump address on address bus. Issue a read ( RD ) and set M/ IO to 1. Wait for memory access cycle.

Memory Read Timing Diagrams CLK A[15:8] ALE Buffer A[15:0] 8088 A[19:16] A[19:16] S3-S6 AD[7:0] A[15:8] A[15:8] D latch Memory AD[7:0] A[7:0] D[7:0] IO/M D[7:0] Trans -ceiver DT/R DT/R DEN DEN IO/M RD WR RD WR

Memory Write Timing Diagrams Dump address on address bus. Dump data on data bus. Issue a write ( WR ) and set M/ IO to 1.

Memory Write Timing Diagrams CLK A[15:8] ALE Buffer A[15:0] 8088 A[19:16] A[19:16] S3-S6 AD[7:0] A[15:8] A[15:8] D latch Memory AD[7:0] A[7:0] D[7:0] IO/M D[7:0] Trans -ceiver DT/R DT/R DEN DEN IO/M RD WR RD WR

Bus Timing During T 1 : The address is placed on the Address/Data bus. Control signals M/ IO , ALE and DT/ R specify memory or I/O, latch the address onto the address bus and set the direction of data transfer on data bus. During T 2 : 8086 issues the RD or WR signal, DEN , and, for a write, the data. DEN enables the memory or I/O device to receive the data for writes and the 8086 to receive the data for reads. During T 3 : This cycle is provided to allow memory to access data. READY is sampled at the end of T 2 . If low, T 3 becomes a wait state. Otherwise, the data bus is sampled at the end of T 3 . During T 4 : All bus signals are deactivated, in preparation for next bus cycle. Data is sampled for reads, writes occur for writes.

Setup & Hold Time Setup time – The time before the rising edge of the clock, while the data must be valid and constant Hold time – The time after the rising edge of the clock during which the data must remain valid and constant

Bus Timing Diagram

Bus Timing Timing: Each BUS CYCLE on the 8086 equals four system clocking periods (T states). The clock rate is 5MHz , therefore one Bus Cycle is 800ns . The transfer rate is 1.25MHz .   Memory specs (memory access time) must match constraints of system timing. For example, bus timing for a read operation shows almost 600ns are needed to read data. However, memory must access faster due to setup times, e.g. Address setup and data setup. This subtracts off about 150ns . Therefore, memory must access in at least 450ns minus another 30-40ns guard band for buffers and decoders.   420ns DRAM required for the 8086.

10.6 System Time Diagrams - CPU Bus Cycle TW T4 CLK ALE IO/M A16- A19 A8- A15 RD AD0- AD7 DT/R READY DEN Address latches store the actual values A16-A19 A0- A7 Memory Cycle (I/O cycle is similar but IO/M = 1) The slow device drives READY= 0 S3- S6 Tri-state A8- A15 the P samples READY (if 0 a WAIT state follows) Read Cycle (instruction fetch and memory operand read) P reads Data Bus D0- D7 (Data in) WR AD0- AD7 DT/R Write Cycle (memory operand write) A0- A7 D0- D7 (Data out) DEN Direction “READ” for the Data Buffer Enables Data Buffer Memory reads Data Bus Direction “READ” for the Data Buffer Enables Data Buffer