Go over Quizzes 2 and 4. Introduction to pipelining Maybe hazards

Similar documents
Outline Single Cycle Processor Design Multi cycle Processor. Pipelined Processor Design. Overall clock period. Analyzing performance 3/18/2015

ECE-517 Reinforcement Learning in Artificial Intelligence

EXPERIMENT #4 AM MODULATOR AND POWER AMPLIFIER

FROM ANALOG TO DIGITAL

P. Bruschi: Project guidelines PSM Project guidelines.

Variation Aware Cross-Talk Aggressor Alignment by Mixed Integer Linear Programming

Installing remote sites using TCP/IP

Chapter 2 Introduction: From Phase-Locked Loop to Costas Loop

5 Spatial Relations on Lines

The University of Melbourne Department of Mathematics and Statistics School Mathematics Competition, 2013 JUNIOR DIVISION Time allowed: Two hours

A1 K. 12V rms. 230V rms. 2 Full Wave Rectifier. Fig. 2.1: FWR with Transformer. Fig. 2.2: Transformer. Aim: To Design and setup a full wave rectifier.

How to Shorten First Order Unit Testing Time. Piotr Mróz 1

Cold Start but Things Did Warm Up Sunday Sailors Winter Series 2017 Race 5

(This lesson plan assumes the students are using an air-powered rocket as described in the Materials section.)

Sound so far: 10/13/2013. Sound and stringed instruments

4.5 Biasing in BJT Amplifier Circuits

Lecture 19: Lowpass, bandpass and highpass filters

VS203B Lecture Notes Spring, Topic: Thin Film Interference

Grade 8 Math: Final Exam Review Unit 6: Linear Equations and Graphing

Extra Practice 1. Name Date. Lesson 6.1: Solving Equations Using Models

Universal microprocessor-based ON/OFF and P programmable controller MS8122A MS8122B

2.6 Special Angles on Parallel Lines Objectives: I CAN define angle pairs made by parallel lines. I CAN solve problems involving parallel lines.

Extra Practice 1. Name Date. Lesson 6.1: Solving Equations Using Models

DATASHEET ISL Pinout. Features. Ordering Information. Quad Digitally Controlled Variable Resistors Low Noise, Low Power I 2 C Bus, 256 Taps

Generating Polar Modulation with R&S SMU200A

dm t t A cos 2 10 t 10

EECE 301 Signals & Systems Prof. Mark Fowler

Signals and the frequency domain ENGR 40M lecture notes July 31, 2017 Chuan-Zheng Lee, Stanford University

4 20mA Interface-IC AM462 for industrial µ-processor applications

Solid-state Timer H3CT

Notes on the Fourier Transform

Lines and Angles Notes Geometry Unit 3: Lesson 1. Parallel lines. Skew lines. Parallel planes. Transversal. Alternate Interior Angles t

ECE3204 Microelectronics II Bitar / McNeill. ECE 3204 / Term D-2017 Problem Set 7

A-LEVEL Electronics. ELEC4 Programmable Control Systems Mark scheme June Version: 1.0 Final

UNIT IV DIGITAL MODULATION SCHEME

Lab 3 Acceleration. What You Need To Know: Physics 211 Lab

DS Bit, Programmable, 100kHz Pulse-Width Modulator

EE 40 Final Project Basic Circuit

GLONASS PhaseRange biases in RTK processing

SystemC-AMS Hands-On Lab Part 2

Traffic. analysis. The general setting. Example: buffer. Arrival Curves. Cumulative #bits: R(t), R*(t) Instantaneous speeds: r(t), r*(t)

NCTM Content Standard/National Science Education Standard:

Technology. Production functions Short run and long run Examples of technology Marginal product Technical rate of substitution Returns to scale

Revision: June 11, E Main Suite D Pullman, WA (509) Voice and Fax

Architectures for Resource Reservation Modules for Optical Burst Switching Core Nodes *

ANALOG AND DIGITAL SIGNAL PROCESSING LABORATORY EXPERIMENTS : CHAPTER 3

13.1 Analog/Digital Lowpass Butterworth Filter

Lecture #7: Discrete-time Signals and Sampling

Will my next WLAN work at 1 Gbps?

EXPERIMENT #9 FIBER OPTIC COMMUNICATIONS LINK

Programmable DC Electronic Load 8600 Series

Programmable DC Electronic Loads 8600 Series

Solution of ECE 342 Test 2 S12

16.5 ADDITIONAL EXAMPLES

DC electrical circuits

6.003: Signals and Systems

LECTURE 1 CMOS PHASE LOCKED LOOPS

RANCH RAIL FENCE AND GATE INSTALLATION INSTRUCTIONS

10. The Series Resistor and Inductor Circuit

Signal detection, Fouriertransformation, phase correction and quadrature detection

Memorandum on Impulse Winding Tester

Potato IC. Contact Potato Semiconductor for IP or detail. PotatoSemi High frequency noise cancellation technology.

EE 330 Lecture 24. Amplification with Transistor Circuits Small Signal Modelling

Data Sheet February 6, Features. Pinout RESISTANCE OPTION TEMP RANGE ( C)


x O O 3 O 05. Questions on Conditional Probability Q1. The probability that it will rain on a day in June is 0.

Pointwise Image Operations

Free and Forced Vibrations of Two Degree of Systems

Proceedings of International Conference on Mechanical, Electrical and Medical Intelligent System 2017

Simulation Series Termination

Synchronization of single-channel stepper motor drivers reduces noise and interference

END-OF-YEAR EXAMINATIONS ELEC321 Communication Systems (D2) Friday, 19 November 2004, 9:20 a.m. Three hours plus 10 minutes reading time.

BELECTRIC: Enhanced Frequency Control Capability

State Space Modeling, Simulation and Comparative Analysis of a conceptualised Electrical Control Signal Transmission Cable for ROVs

The regsubseq Package

Usually use an op-amp circuit Often found as a pre-amplifier to ADC circuitry Simple circuit to computer natural logarithm

MEASUREMENTS OF VARYING VOLTAGES

The student will create simulations of vertical components of circular and harmonic motion on GX.

16 Dancin Till the Blues are Gone

RISC Design: Pipelining

Lecture September 6, 2011

THE OSCILLOSCOPE AND NOISE. Objectives:

ECMA st Edition / June Near Field Communication Wired Interface (NFC-WI)

Communications II Lecture 5: Effects of Noise on FM. Professor Kin K. Leung EEE and Computing Departments Imperial College London Copyright reserved

Lecture 11. Digital Transmission Fundamentals

Dataflow Language Model. DataFlow Models. Applications of Dataflow. Dataflow Languages. Kahn process networks. A Kahn Process (1)

Communications II Lecture 7: Performance of digital modulation

ECE ANALOG COMMUNICATIONS - INVESTIGATION 7 INTRODUCTION TO AMPLITUDE MODULATION - PART II

Double Side Band Suppressed Carrier

Technology Trends & Issues in High-Speed Digital Systems

Wrap Up. Fourier Transform Sampling, Modulation, Filtering Noise and the Digital Abstraction Binary signaling model and Shannon Capacity

Errata and Updates for ASM Exam MLC (Fourteenth Edition) Sorted by Page

Figure A linear pair? Explain. No, because vertical angles are not adjacent angles, and linear pairs are.

EEO 401 Digital Signal Processing Prof. Mark Fowler

ELEG 3124 SYSTEMS AND SIGNALS Ch. 1 Continuous-Time Signals

LECTURE 8. Pipelining: Datapath and Control

Obsolete Product(s) - Obsolete Product(s)

Computer Graphic with Matrices Math 308A Project

ELG3175 Introduction to Communication Systems. VSB and Introduction to Angle Modulation

A Sensitive Method to Measure the Integral Non-Linearity of a Digital-to-Time Converter based on Phase Modulation

Transcription:

Pipelining 1

Tody Go over Quizzes 2 nd 4. Inroduion o pipelining Mybe hzrds 2

Pipelining Cyle 1 10n (10ns) Cyle 2 20n (10ns) Cyle 3 30n (10ns) Wh s he leny for one uni of work? Wh s he hroughpu?

Pipelining 1.Brek up he logi wih lhes ino pipeline sges 2.Eh sge n on differen d 3.hes hold he inpus o heir sge 4.Every lok yle d rnsfers from one pipe sge o he nex (10ns) (2ns) (2ns) (2ns) (2ns) (2ns)

yle 1 2ns yle 2 4ns yle 3 6ns yle 4 8ns yle 5 10ns yle 6 12ns Wh s he leny for one uni of work? Wh s he hroughpu?

Criil ph review Criil ph is he longes possible dely beween wo regisers in design. The riil ph ses he yle ime, sine he yle ime mus be long enough for signl o rverse he riil ph. enghening or shorening non-riil phs does no hnge performne Idelly, ll phs re bou he sme lengh 6

Pipelining nd Hopefully, riil ph redued by 1/3 7

imiions of Pipelining You nno pipeline forever Some logi nno be pipelined rbirrily -- Memories Some logi is inonvenien o pipeline. How do you inser regiser in he middle of n muliplier? Regisers hve os They os re -- hoose nrrow poins in he logi They os energy -- lhes don do ny useful work They os ime Exr logi dely Se-up nd hold imes. Pipelining my no ffe he riil ph s you expe 8

Pipelining Overhed Dely (D) -- How long does he logi ke (i.e., he useful pr) Se up ime (ST) -- How long before he lok edge do he inpus o regiser need be redy? Regiser dely (RD) -- Dely hrough he inernls of he regiser. 9

Pipelining Overhed Clok Seup ime Regiser in????? New D Regiser ou Old d New d Regiser dely 10

Pipelining Overhed Dely (D) -- How long does he logi ke (i.e., he useful pr) Se up ime (ST) -- How long before he lok edge do he inpus o regiser need be redy? Regiser dely (RD) -- Dely hrough he inernls of he regiser. BseCT -- yle ime before pipelining BseCT = D + ST + RD. PipeCT -- yle ime fer pipelining N imes PipeCT = ST + RD + D/N Tol ime = N*ST + N*RD + D 11

Pipelining Diffiulies Fs Slow Slow Fs Fs Slow Slow Fs You n lwys pipeline how you would like The riil ph only wen down fs logi 12

How o pipeline proessor Brek eh insruion ino piees -- remember he bsi lgorihm for exeuion Feh Deode Colle rgumens Exeue Wrie bk resuls Compue nex PC The lssi 5-sge MIPS pipeline Feh -- red he insruion Deode -- deode nd red from he regiser file Exeue -- Perform rihmei ops nd ddress lulions -- ess d memory. Wrie bk-- Sore resuls in he regiser file. 13

Pipelining proessor Feh Deode Mem Wrie EX bk Feh Deode Mem Wrie EX bk 14

Imp of Pipelining Brek he proessor ino P pipe sges Wh hppens o leny? = Ins * CPI * CyleTime The yle ime =? CPI =? 15

Imp of Pipelining Brek he proessor ino P pipe sges Wh hppens o leny? = Ins * CPI * CyleTime The yle ime = CT/P CPI = 1 CPI is n verge: Cyles/insruions When # of insruions is lrge, CPI = 1 If jus one insruion, CPI = P 16

Pipelined Dph PC 4 Insru(on r 1 Regiser r 2 File Wrie r Wrie D D 1 D 2 Shi< le< 2 AU Wrie D D D Sign 16 Exend 32

Pipelined Dph PC 4 Insru(on IFeh/De r 1 Regiser r 2 File Wrie r Wrie D D 1 D 2 De/Exe Shi< le< 2 AU Exe/Mem Wrie D D D Mem/WB Sign 16 Exend 32

Pipelined Dph 4 Insru(on r 1 Regiser r 2 File Wrie r Wrie D D 1 D 2 Shi< le< 2 AU Wrie D D D dd lw Sub Sub. Sign 16 Exend 32

Pipelined Dph 4 Insru(on r 1 Regiser r 2 File Wrie r Wrie D D 1 D 2 Shi< le< 2 AU Wrie D D D dd lw Sub Sub. Sign 16 Exend 32

Pipelined Dph 4 Insru(on r 1 Regiser r 2 File Wrie r Wrie D D 1 D 2 Shi< le< 2 AU Wrie D D D dd lw Sub Sub. Sign 16 Exend 32

Pipelined Dph 4 Insru(on r 1 Regiser r 2 File Wrie r Wrie D D 1 D 2 Shi< le< 2 AU Wrie D D D dd lw Sub Sub. Sign 16 Exend 32

Pipelined Dph 4 Insru(on r 1 Regiser r 2 File Wrie r Wrie D D 1 D 2 Shi< le< 2 AU Wrie D D D dd lw Subi Sub. Sign 16 Exend 32

Simple Pipelining Conrol Conrol Feh Deode Mem Wrie EX bk Conrol Conrol Conrol Conrol Feh Deode Mem Wrie EX bk Compue ll he onrol bis in deode, hen pss hem from sge o sge. I won sy his simple... 24

Pipelining is Triky If ll he d flows in one direion, pipelining is relively esy. No so, for proessors. Deode nd wrie bk boh ess he regiser file. Brnh insruions ffe he nex PC Insruions need vlues ompued by previous insruions 25

No jus riky, Hzrdous! Hzrds re siuions where pipelining does no work s elegnly s we would like Cused by bkwrd flowing signls Or by lk of vilble hrdwre Three kinds D hzrds -- n inpu is no vilble on he yle i is needed Conrol hzrds -- he nex insruion is no known Sruurl hzrds -- we hve run ou of hrdwre resoure Deeing, voiding, nd reovering from hese hzrds is wh mkes proessor design hrd. Th, nd he Xilinx ools ;-) 26

A Sruurl Hzrd Boh he deode nd wrie bk sge hve o ess he regiser file. There is only one regisers file. A sruurl hzrd!! Soluion: Wrie erly, red le Wries our he lok edge nd omplee long before he end of he yle This leve enough ime for he oupus o sele for he reds. Hzrd voided! Feh Deode Mem Wrie EX bk 27