Microprocessor Architecture Pipelined Architecture

Slides:



Advertisements
Similar presentations
Adders Used to perform addition, subtraction, multiplication, and division (sometimes) Half-adder adds rightmost (least significant) bit Full-adder.
Advertisements

1 Concurrency: Deadlock and Starvation Chapter 6.
1
© 2008 Pearson Addison Wesley. All rights reserved Chapter Seven Costs.
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Chapter 1 The Study of Body Function Image PowerPoint
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 4 Computing Platforms.
Processes and Operating Systems
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 1 Embedded Computing.
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 6 Author: Julia Richards and R. Scott Hawley.
Author: Julia Richards and R. Scott Hawley
1 Copyright © 2013 Elsevier Inc. All rights reserved. Appendix 01.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 3 CPUs.
Properties Use, share, or modify this drill on mathematic properties. There is too much material for a single class, so you’ll have to select for your.
UNITED NATIONS Shipment Details Report – January 2006.
1 RA I Sub-Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Casablanca, Morocco, 20 – 22 December 2005 Status of observing programmes in RA I.
Properties of Real Numbers CommutativeAssociativeDistributive Identity + × Inverse + ×
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
Around the World AdditionSubtraction MultiplicationDivision AdditionSubtraction MultiplicationDivision.
Rhesy S.ppt proRheo GmbH
REVIEW: Arthropod ID. 1. Name the subphylum. 2. Name the subphylum. 3. Name the order.
Break Time Remaining 10:00.
Bus arbitration Processor and DMA controllers both need to initiate data transfers on the bus and access main memory. The device that is allowed to initiate.
Processor Data Path and Control Diana Palsetia UPenn
Figure 12–1 Basic computer block diagram.
Turing Machines.
Table 12.1: Cash Flows to a Cash and Carry Trading Strategy.
PP Test Review Sections 6-1 to 6-6
ABC Technology Project
EU market situation for eggs and poultry Management Committee 20 October 2011.
O PERATING I N P ROTECTED M ODE Prof.P.C.Patil Department of Computer Engg Matoshri College of Engg.Nasik M ICROPROCESSOR A RCHITECTURE.
Flip-Flops and Registers
Exarte Bezoek aan de Mediacampus Bachelor in de grafische en digitale media April 2014.
O PERATING I N R EAL M ODE Prof.P.C.Patil Department of Computer Engg Matoshri College of Engg.Nasik M ICROPROCESSOR A RCHITECTURE.
Copyright © 2012, Elsevier Inc. All rights Reserved. 1 Chapter 7 Modeling Structure with Blocks.
1 RA III - Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Buenos Aires, Argentina, 25 – 27 October 2006 Status of observing programmes in RA.
Factor P 16 8(8-5ab) 4(d² + 4) 3rs(2r – s) 15cd(1 + 2cd) 8(4a² + 3b²)
Basel-ICU-Journal Challenge18/20/ Basel-ICU-Journal Challenge8/20/2014.
1..
CONTROL VISION Set-up. Step 1 Step 2 Step 3 Step 5 Step 4.
© 2012 National Heart Foundation of Australia. Slide 2.
Adding Up In Chunks.
LO: Count up to 100 objects by grouping them and counting in 5s 10s and 2s. Mrs Criddle: Westfield Middle School.
Block Diagram of Intel 8086 Engr.M.Zakir Shaikh
PIN DIAGRAM OF 8085 ENGR M.ZAKIR SHAIKH Visiting Faculty,IBT LUMHS
Model and Relationships 6 M 1 M M M M M M M M M M M M M M M M
25 seconds left…...
Subtraction: Adding UP
Gursharan Singh Tatla PIN DIAGRAM OF 8086 Gursharan Singh Tatla Gursharan Singh Tatla
Analyzing Genes and Genomes
Execution Cycle. Outline (Brief) Review of MIPS Microarchitecture Execution Cycle Pipelining Big vs. Little Endian-ness CPU Execution Time 1 IF ID EX.
We will resume in: 25 Minutes.
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Essential Cell Biology
Intracellular Compartments and Transport
PSSA Preparation.
Essential Cell Biology
Immunobiology: The Immune System in Health & Disease Sixth Edition
Thomas L. Floyd Digital Fundamentals, 9e
Energy Generation in Mitochondria and Chlorplasts
Profile. 1.Open an Internet web browser and type into the web browser address bar. 2.You will see a web page similar to the one on.
TCP/IP Protocol Suite 1 Chapter 18 Upon completion you will be able to: Remote Login: Telnet Understand how TELNET works Understand the role of NVT in.
1 Decidability continued…. 2 Theorem: For a recursively enumerable language it is undecidable to determine whether is finite Proof: We will reduce the.
SYSTEM CLOCK Clock (CLK) : input signal which synchronize the internal and external operations of the microprocessor.
Unit-III Pipelined Architecture. Basic instruction cycle 6/4/2016MDS_SCOE_UNIT32.
80386DX functional Block Diagram PIN Description Register set Flags Physical address space Data types.
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.
16.317: Microprocessor System Design I
Presentation transcript:

Microprocessor Architecture Pipelined Architecture UOP S.E.Comp (Sem-I) Pipelined Architecture Prof.P.C.Patil Department of Computer Engg Matoshri College of Engg.Nasik pcpatil18@gmail.com.

Bus Cycles of 80386

There are seven types of machine (bus) cycles Bus Cycles of 80386 The internal and external bus operations of 80386 are synchronized by the clock signal. The 80386 perform variety of machine (bus) cycles in response to intemal requirements and external requirements There are seven types of machine (bus) cycles In each machine cycles corresponding status signals are activated. The memory read and memory write machine cycles can be locked to prevent another bus master from using the bus.

In each machine cycles corresponding status signals are activated. Bus Cycles of 80386 In each machine cycles corresponding status signals are activated. The memory read and memory write machine cycles can be locked to prevent another bus master from using the bus.

6) Interrupt acknowledge 7) Halt/Shut down Bus Cycles of 80386 Seven types of machine (bus) cycles/operations. 1) Memory read 2) Memory write 3) I/O read 4) I/O write 5) Lestruction fetch 6) Interrupt acknowledge 7) Halt/Shut down

Bus Cycles of 80386

System Clock

The 80386DX can operate on four different clock speeds System Clock System clock syrchronizes the internal and external bus operations in the 80386DX. The 80386DX can operate on four different clock speeds 80386DX - 16 (16 MHz) 80386DX - 20 (20 MHz) 80386DX - 25 (2s MHz) 80386DX- 33 (33 MHz) Operating frequency of the 80386DX is half of, the CLK2 frequency. Therefore, CLK2 of an 80386DX - 20 is driven by 40 MHz signal. (Shown in Fig below)

System Clock

Bus States

and each bus state consists of two CLK cycles. Bus States Each machine (bus) cycle consists of at least two bus states T1 and T2, and each bus state consists of two CLK cycles. During the first bus state (T1), address and bus status pin are active. During the second bus state (T2), actual data lransfer takes place. The 80386 DX can perform two types of machine cycles : Nonpipelined Pipelined.

Dynamic Bus Sizing

A single processor may connect to both size buses Dynamic Bus Sizing Dynamic data bus sizing is a feature allowing direct processor connection to 32-bit or 16-bit data buses for memory or I/O. A single processor may connect to both size buses Transfers to or from 32 to 16 bit ports are supported by dynamically determining the bus width during each machine cycle. The 80386DX microprocessor's bus size 16 (BS-16 [Bar/Complement]) ) input is used to inform the 803B6DX at the currently addressed device is a 16-bit device rather than a 32-bit device‘

Nonpipelined Machine (Bus) Cycles

Nonpipelined Bus Cycle

This activity is carried out in T2. Nonpipelined Bus Cycle During T1, the 803B6DX sends the address, bus status signal and control signals. In case of write cycle, data to be output is also send on the data bus, during T1. After address access time, read or write data transfer takes place over the data bus. This activity is carried out in T2.

Pipelined Machine (Bus) Cycles

Pipelining allows machine cycles to be overlapped. Pipelined Bus Cycle Pipelining allows machine cycles to be overlapped. The main advantage of pipelining is that it increases the amount of time required for the memory or I/O device to respond. This time is also referred as access time. The 80386DX implements pipelining by overlapping addressing of the next bus cycle with the data transfer of previous bus cycle.

Pipelined Bus Cycle

If the processor is 80386DX-20 then one T-state time is 50 ns. Pipelined Bus Cycle Fig shows that address becomes valid in T2 state of the previous bus cycle, and the data transfer for address takes place in T2-state of the current bus cycle. IMP : address An + 1 becomes valid during T2 of the current bus cycle and actual data transfer for address An + 1 takes place in T2 state of the next bus cycle. If the processor is 80386DX-20 then one T-state time is 50 ns. In pipelined bus cycle the access time for memory and I/O device is 100 ns whereas access time for memory and l/O device in nonpipelined bus cycle is approximately 50 ns.

Nonpipelined Read Cycle

Enlarge Image

The sequence of events for the nonpipelined read cycle: The read operation starts at the beginning of phase in the T1 state of the bus cycle. In this phase, 80386DX sends the address on the address bus and enables signals(BE0 (Bar) - BE3 (Bar)) according to data transfer type. In the same phase, it activates ADS (Bar) signal to indicate valid address is placed on the address bus. In phase 1 of T1 - state it also activates the bus cycle definition signals : M/IO, D/C and W/R.

Then samples this signal in the middle of phase 1 of T2-state. Nonpipelined Read Cycle At the beginning of phase 1 of T2 state, extemal device activates BS16 (BAR) signal. Then samples this signal in the middle of phase 1 of T2-state. 32-bit data transfer: If BS16 (BAR) =1 16-bit data transfer: If BS16 (BAR) =0 The 80386 DX does this data transfer in phase 2 of T2-state. At the end of phase 2 of T2-state the READY (BAR) signal is sampled. The logic 1 on this signal inserts wait state in the current bus cycle to extend the bus cycle.

The LOCK (Bar) signal low indicates that it is bus locked cycle. Nonpipelined Read Cycle The LOCK (Bar) signal low indicates that it is bus locked cycle. If bus cycles are locked the other bus master is not allowed to take control of the bus between two locked bus cycles.

Nonpipelined Write Cycle

The sequence of events for the nonpipelined read cycle: Nonpipelined Write Cycle The sequence of events for the nonpipelined read cycle: It is similar to nonpipelined read cycle. The write operation starts at the beginning of phase 1 in the T1 state of the bus cycle. In this phase, 80386DX sends the address on the address bus and enables signals BE0(Bar) -BE3(Bar) according to data transfer type. After sending address in the same phase it activates its ADS(Bar) signal to indicate valid address is placed on the address bus.

Nonpipelined Write Cycle In phase 1 of T1-state it also activates the bus cycle definition signals M/IO, D/C and W/R At the beginning of phase 2 of T1-state, it sends data on the data bus. This data remains valid until the start of phase 2 of the T1-state of the next bus cycle. At the end of phase 2 of T1- state, ADS(Bar) is returned to its inactive logic 1 states. The address bus, byte enable pins, and bus status pins remain active through the end of the write cycle.

Comparison of Read and Write Cycle Nonpipelined Write Cycle In the middle of phase 1 of T2-State, 80386DX samples BS16(Bar) input. If this signal is high, 80386 DX does the 32-bit data transfer otherwise 80386DX performs 16-bit data transfer. Comparison of Read and Write Cycle

Pipelined Read/Write Cycle

NA (next address) signal initiates address pipelining. Pipelined Read/Write Cycle In the pipelined bus cycle the address for the next bus cycle is sent during the T2 - state of the current cycle. NA (next address) signal initiates address pipelining.

Pipelined Read/Write Cycle It then samples NA signal at the beginning of phase 2 of any T state in which ADS is not active, specifically. In the second T-state of a non-pipelined address cycle In the first T-state of a pipelined address cycle In any wait state of a non-pipelined address or pipelined address cycle unless NA has already been sampled active

Pipelined Read/Write Cycle The NA(Bar) is tested as 0 (active) during T2 of cycle 2 which ensures that 80386DX has to execute next cycle as pipelined bus cycle. The cycle 2 (nonpipelined read cycle) is also extended with one wait state because READY pin is not active, in wait state, the valid address for the next bus cycle is sent on the address bus as next bus cycle is pipelined bus cycle.

The next cycle (cycle 3) is pipelined write cycle. Pipelined Read/Write Cycle The next cycle (cycle 3) is pipelined write cycle. In this, data is sent on the data bus in phase 2 of T1p-state and remains valid for the rest of the cycle. The READY signal is sampled at the end of T2p - state. As it is low, write cycle is completed without wait state.

The next cycle (cycle 4) is pipelined read cycle. Pipelined Read/Write Cycle The next cycle (cycle 4) is pipelined read cycle. In this, READY signal is tested 0 at the end of phase 2 of T2p - state. This means that read cycle is completed without wait state. It is important to note that due to pipelined address cycle, access time is extended and one state (T-wait) of read cycle is saved.