MICROPROCESSOR ARCHITECTURE

Similar documents
82C288 BUS CONTROLLER FOR PROCESSORS (82C C C288-8)

VLSI Design I; A. Milenkovic 1

CPE/EE 427, CPE 527 VLSI Design I L21: Sequential Circuits. Review: The Regenerative Property

A Single Cycle Processor. ECE4680 Computer Organization and Architecture. Designing a Pipeline Processor. Overview of a Multiple Cycle Implementation

HW #5: Digital Logic and Flip Flops

Application Note PowerPC 750GX Lockstep Facility

256/512 /1K /2K/4K x 9 Asynchronous FIFO

DAV CENTENARY COLLEGE, FARIDABAD

Profile-driven Selective Code Compression

Design of AMBA APB Protocol

ELE 455/555 Computer System Engineering. Section 2 The Processor Class 4 Pipelining with Hazards

Distributed Control Systems

Roller AC Servo System

IDT7200L IDT7201LA IDT7202LA

Asynchronous, Cascadable 8K/16K/32K/64K x9 FIFOs

CBC2 performance with switched capacitor DC-DC converter. systems meeting, 12/2/14

Matrix-based software test data decompression for systems-on-a-chip

Lockstep. Reference Manual. Last updated on September 23, Figure 53, LLC

Software Design of the Stiquito Micro Robot

VLSI Design I; A. Milenkovic 1

Spacecraft Simulation Tool. Debbie Clancy JHU/APL

Fast Floating Point Compression on the Cell BE Processor

Table 1: Safety Function (SF) Descriptions

AHE58/59 AC Servo System

3.3 VOLT CMOS ASYNCHRONOUS FIFO 512 x 9, 1,024 x 9, 2,048 x 9, 4,096 x 9, 8,192 x 9, 16,384 x 9 WRITE POINTER THREE- STATE BUFFERS DATA OUTPUTS FLAG

Fast Software-managed Code Decompression

ECE 757. Homework #2

GOLOMB Compression Technique For FPGA Configuration

Functional safety. Functional safety of Programmable systems, devices & components: Requirements from global & national standards

Outline Single Cycle Processor Design Multi cycle Processor. Pipelined Processor: Hazards and Removal. Instruction Pipeline. Time

Perfect Game Baseball - msherwood pseudo code backbone Using MVC Convention (Model/View/Controller) With Multimodal I/O

1. Functional description. Application program usage. 1.1 General. 1.2 Behavior on bus voltage loss and bus voltage. 1.

A 64 Bit Pipeline Based Decimal Adder Using a New High Speed BCD Adder

Technical Data Sheet MF010-O-LC

AMS 6915 Board mount pressure sensor with digital output (I²C)

SCHEINWORKS Measuring and Analysis Systems by

GOLT! RED LIGHT DISTRICT

Virtual Breadboarding. John Vangelov Ford Motor Company

Touch Screen Guide. OG-1500 and OG Part # T011

Road Data Input System using Digital Map in Roadtraffic

Lecture 1 Temporal constraints: source and characterization

Reduction of Bitstream Transfer Time in FPGA

Computing s Energy Problem:

PROSTHETIC ACTUATION: A CASE FOR PNEUMATICS.

Proof of concept of a Bio-Containment System for Mars Sample Return Mission

RG2 Gripper Datasheet Version 1.6

Aalborg Universitet. Publication date: Document Version Accepted author manuscript, peer reviewed version

Implementation of Height Measurement System Based on Pressure Sensor BMP085

RM-80 respiration monitor

Precision level sensing with low-pressure module MS

CMOS ASYNCHRONOUS FIFO 256 x 9, 512 x 9 and 1,024 x 9

Datasheet: K-30 ASCII Sensor

Control System Nur Istianah-THP-FTP-UB-2014

Application Notes. SLP85xD Load Cells

Visual Observation of Nucleate Boiling and Sliding Phenomena of Boiling Bubbles on a Horizontal Tube Heater

Front-end Realization of ASIC for Traffic Light Control with Real Time Clock Synchronization

Sequence of Operations

VLSI Design I; A. Milenkovic 1

User manual CF8-D/W-IN

Exercise 1: Control Functions

Certification Exhibit FCC ID: R7PIWRS4. FCC Rule Part: ACS Report Number: W03.11.A

A handy systematic method for data hazards detection in an instruction set of a pipelined microprocessor

Device overview. 6 Breathing circuit connection. Note: When the remote control foot pedal is connected, the manual switch is disabled.

e2c 20 - easy to connect

Project Title: Pneumatic Exercise Machine

ZSTT Team Description Paper for Humanoid size League of Robocup 2017

xtreme DB Innovation Every Day Murrelektronik is your system partner: PIN ASSIGNMENTS INPUT OUTPUT AT A GLANCE

256/512/1K/2K/4K x 9 Asynchronous FIFO

CT433 - Machine Safety

Air Compressor Control System for Energy Saving in Manufacturing Plant

Indiana Traffic Signal Hi Resolution Data Logger Enumerations

Stand-Alone Bubble Detection System

Smart Data Role computers play in Technology

Certificate of compliance

Partial Stroke Testing. A.F.M. Prins

IBIS Modeling for IO-SSO Analysis. Thunder Lay and Jack W.C. Lin IBIS Asia Summit Taipei, Taiwan Nov. 19, 2013

Safety Manual VEGAVIB series 60

An Efficient Code Compression Technique using Application-Aware Bitmask and Dictionary Selection Methods

Flight Software Overview

THE CANDU 9 DISTRffiUTED CONTROL SYSTEM DESIGN PROCESS

A4 Operation Manual. Fig.1-1 Controller Socket Diagram

Applications & Tools. Evaluation of the selection of a safetyrelated mode using non-safety-related components

CMOS ASYNCHRONOUS FIFO 2048 x 9, 4096 x 9, 8192 x 9 and x 9

EasySas. The most advanced airlock electronics on the market. Recyclable product. Eco-design. Energy savings

THE PROBLEM OF ON-LINE TESTING METHODS IN APPROXIMATE DATA PROCESSING

Adiabatic Switching. A Survey of Reversible Computation Circuits. Benjamin Bobich, 2004

Product Overview. Product Description CHAPTER

OPERATION & INSTALLATION INSTRUCTIONS

An underwater autonomous platform/vehicle

PL estimation acc. to EN ISO

securing networks with silicon

A4s Operation Manual

Instruction Cache Compression for Embedded Systems by Yujia Jin and Rong Chen

Digi Connect ME 9210 Linux: 2 nd serial over FIM

MPCS: Develop and Test As You Fly for MSL

Operating instructions. FOCUS compressor control for screw compressors

Dynamic Analysis of a Multi-Stage Compressor Train. Augusto Garcia-Hernandez, Jeffrey A. Bennett, and Dr. Klaus Brun

(12) Patent Application Publication (10) Pub. No.: US 2005/ A1

Ultima. X Series Gas Monitor

PRODUCT MANUAL. Diver-MOD

Transcription:

MICROPROCESSOR 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 2

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. 3

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. 4

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 5

Bus Cycles of 80386 6

System Clock 7

System Clock System clock syrchronizes the internal and external bus operations in the 80386DX. The 80386DX can operate on four different clock speeds 1. 80386DX - 16 (16 MHz) 2. 80386DX - 20 (20 MHz) 3. 80386DX - 25 (2s MHz) 4. 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) 8

System Clock 9

Bus States 10

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. 1. During the first bus state (T1), address and bus status pin are active. 2. During the second bus state (T2), actual data lransfer takes place. The 80386 DX can perform two types of machine cycles : 1. Nonpipelined 2. Pipelined. 11

Dynamic Bus Sizing 12

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 13

Nonpipelined Machine (Bus) Cycles 14

Nonpipelined Bus Cycle 15

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. 16

Pipelined Machine (Bus) Cycles 17

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. 18

Pipelined Bus Cycle 19

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 A n + 1 becomes valid during T2 of the current bus cycle and actual data transfer for address A n + 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. 20

Nonpipelined Read Cycle 21

Enlarge Image

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

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

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

Nonpipelined Write Cycle 26

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

Nonpipelined Write Cycle 10. In phase 1 of T1-state it also activates the bus cycle definition signals M/IO, D/C and W/R 11. 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. 12. At the end of phase 2 of T1- state, ADS (Bar) is returned to its inactive logic 1 states. 13. The address bus, byte enable pins, and bus status pins remain active through the end of the write cycle. 29

Nonpipelined Write Cycle 10. In the middle of phase 1 of T2-State, 80386DX samples BS16 (Bar) input. 11. 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 30

Pipelined Read/Write Cycle 31

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. 33

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 34

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. 35

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. 36

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. 37