4 Pages

ps3

Course: ENEE 646, Fall 2008
School: Maryland
Rating:
 
 
 
 
 

Word Count: 961

Document Preview

646: ENEE Digital Computer Design Fall 2004 Handout #20 Problem Set # 3 Due: November 23 Complex Pipelining and Caching Problem 1 H&P 3.10 Problem 2 In this problem, we will look at how a common vector loop runs on two processors, one that implements scoreboarding and another that implements Tomasulo's algorithm. The loop is the so-called SAXPY loop and is the central operation in Gaussian...

Register Now

Unformatted Document Excerpt

Coursehero >> Maryland >> Maryland >> ENEE 646

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
646: ENEE Digital Computer Design Fall 2004 Handout #20 Problem Set # 3 Due: November 23 Complex Pipelining and Caching Problem 1 H&P 3.10 Problem 2 In this problem, we will look at how a common vector loop runs on two processors, one that implements scoreboarding and another that implements Tomasulo's algorithm. The loop is the so-called SAXPY loop and is the central operation in Gaussian elimination. The loop implements the vector operation Y = a * X + Y for a vector of length 100. The code is shown in H&P Problem 3.6. You will be asked to specify the state of the processor after some number of instructions from the SAXPY loop have executed. When doing this, use the structure on page 1 of handout #12 for scoreboarding, and the structure on page 2 of handout #12 for Tomasulo's algorithm. Before drawing the processor state, you must first draw the pipeline diagram. In order to do this, you will need some rules about how to draw the pipeline diagrams. These rules are given at the end of this problem. a. Using the SAXPY code, show the state of the scoreboard when the DSGTUI instruction reaches write result. Assume that there is one integer functional unit. Assume the FP unit configuration of H&P Figure A.51 with the FP latencies of H&P Figure 4.1 (see below for modifications to these latencies). The branch should not be included in the scoreboard. b. Use the SAXPY code and a fully pipelined FPU with the latencies of H&P Figure 4.1 (see below for modifications to these latencies). Assume Tomasulo's algorithm for the hardware with one integer unit. Show the state of the reservation stations and register file ready bits when the DSGTUI writes its result on the CDB. Do not include the branch. c. Using the SAXPY code, assume a scoreboard with the FP functional units described in H&P Figure A.51, plus one integer functional unit (also used for load-store). Assume the latencies shown in H&P Figure 3.63 (see below for modifications to these latencies). Show the state of the scoreboard when the branch issues for the second time. Assume the branch was correctly predicted 1 taken and took 1 cycle. How many clock cycles does each loop iteration take? You may ignore any register port/bus conflicts. d. Use the SAXPY code. Assume Tomasulo's algorithm for the hardware using one fully pipelined FP unit and one integer unit. Assume the latencies shown in H&P Figure 3.63 (see below for modifications to these latencies). Show the state of the reservation stations and register file ready bits when the branch is executed for the second time. Assume the branch was correctly predicted as taken and took 1 cycle. How many clock does cycles each loop iteration take? As mentioned earlier, you must draw the pipeline diagrams before specifying the state of the processor. Here are some rules that will help you draw the pipeline diagrams. For all the rules, assume all units are fully pipelined. Also, assume there is no forwarding in scoreboarding, but there is forwarding in Tomasulo. 1. For scoreboarding, issue and register read happen on two separate cycles. For instance, the DADDUI instruction would look like the following: F D I R E W And the store double instruction would look like: F D I R M W Also, in scoreboarding, WAR hazards are detected and stalled during the writeback stage, as discussed in class. 2. For Tomasulo, register read happens in the same cycle as issue. For instance, the DADDUI instruction would look like the following: F D I E W And the store double instruction would look like: F D I M W 3. H&P Figure 4.1 gives the *latencies* of various instructions. The latency is the number of intervening cycles required between two dependent instructions: MUL.D f4, f2, f0 ADD.D f6, f4, f6 means that you need the following pipeline diagram for scoreboarding: 2 MUL.D ADD.D F D I R E E E W F D I - - - R E E E W because there is no forwarding in scoreboarding. For Tomasulo, you would have: MUL.D ADD.D F D I E E E E W F D I - - - E E E E W 4. In H&P Figure 4.1, the book claims FPop Store has latency 2 cycles. Change this to latency 3 cycles. This is an inconsistency that cannot be rectified if you assume that FPop FPop is 3 cycles: MUL.D S.D F D I R E E E W F D I - - - R M W 5. For scoreboar...

Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

Maryland - ENEE - 646
#%-12345X@PJL JOB @PJL ENTER LANGUAGE=POSTSCRIPT %!PS-Adobe-3.0 %Title: Microsoft PowerPoint - prefetch %Creator: PScript5.dll Version 5.2 %CreationDate: 11/11/2004 16:16:56 %For: Owner %BoundingBox: (atend) %Pages: (atend) %Orientation: Landscape %P
Maryland - ENEE - 646
%!PS-Adobe-2.0 %Creator: dvips(k) 5.86 Copyright 1999 Radical Eye Software %Title: ps4.dvi %Pages: 1 %PageOrder: Ascend %BoundingBox: 0 0 612 792 %DocumentFonts: CMBX12 CMR10 %EndComments %DVIPSWebPage: (www.radicaleye.com) %DVIPSCommandLine: dvips p
Maryland - ENEE - 646
ENEE 646: Digital Computer DesignFall 2004 Handout #24Problem Set # 4Due: Dec 9Memory Performance Optimizations and Virtual MemoryProblem 1H&P 5.8Problem 2H&P 5.17Problem 3H&P 5.181
Maryland - ENEE - 646
%!PS-Adobe-2.0 %Creator: dvips(k) 5.86 Copyright 1999 Radical Eye Software %Title: p5.dvi %Pages: 4 %PageOrder: Ascend %BoundingBox: 0 0 612 792 %DocumentFonts: CMBX12 CMR10 CMTT10 CMTI10 %EndComments %DVIPSWebPage: (www.radicaleye.com) %DVIPSCommand
Maryland - ENEE - 646
ENEE 646: Digital Computer DesignFall 2004 Handout #25Programming Assignment # 3 Control SpeculationDue: December 9In this assignment, you will add control speculation to the out-of-order Tomasulo model you built in programming assignment #2.
Maryland - ENEE - 646
%!PS-Adobe-2.0 %Creator: dvips(k) 5.86 Copyright 1999 Radical Eye Software %Title: final-review.dvi %Pages: 4 %PageOrder: Ascend %BoundingBox: 0 0 612 792 %DocumentFonts: CMBX12 CMR10 CMTI10 CMTT10 CMBX10 CMSY10 %EndComments %DVIPSWebPage: (www.radic
Allan Hancock College - I - 386
Table of Errors:Most of these will prevent the hard disk from working correctly under DOS, soit's not likely that you ever get these errors.Invalid root sector signature The last two bytes of the root sector should be 55 AA (hex). This is a
Allan Hancock College - I - 386
Revision History of FIPS-version 2.0 - may 11, 1998- Official release with FAT32 support, updated documentationversion 1.5b - decemeber 22, 1997- Not an official release. Gordon Chaffee added FAT32 support to fips.Version 1.5 - august 22,
Allan Hancock College - I - 386
Technical Info on FIPS-FIPS was written in C+ V2.0 with the Turbo C+ 1.0 and Borland C+ 3.1compilers.It should compile with any newer C+ compiler (perhaps after minor changesto the BIOS calls).If you're a C+ wizard, don't look too closely at
S.F. State - GM - 310
Medjber/SeddonReading Questions for Student-Led Discussions: How Erosion Builds Mountains1) What are the three processes that interact to shape and build the world's mountain ranges? Which process seems to be the strongest of the three? 2) What wa
Iowa State - CS - 577
Solution to Assignment 1Com S 477/5771. Since p = (u , v ) is the reflection of p in , the vector (p - p) is paralle to the normal vector of , therefore the cross product of two 2-d vectors is 0. This gives us the first equation (p - p) (a, b) =
WVU - BUSA - 101
WVU - BUSA - 101
Drexel - CS - 475
From greenie at cs.drexel.edu Sun Mar 29 19:08:39 2009From: greenie at cs.drexel.edu (Rachel Greenstadt)Date: Sun, 29 Mar 2009 19:08:39 -0400Subject: [Cs475] NGR for CS 475Message-ID: <20090329230839.GG15555@tux64-01>Dear class, Several of
Drexel - CS - 123
From augendavid at hotmail.com Fri Jun 5 15:38:08 2009From: augendavid at hotmail.com (David Augenblick)Date: Fri, 5 Jun 2009 13:38:08 -0600Subject: [Cs123] CS123 - SECTION 81 STUDENTS ONLY!Message-ID: <BLU125-W10914C294D706DC53244C9C9480@phx.g
University of Illinois, Urbana Champaign - GEO - 107
PLATE TECTONICSLab #1 Aug. 25-26What is a plate? Def: a rigid section of Earth's crust Plates interact along their boundaries. Tectonic activity: earthquakes, volcanoesPlate Boundaries Convergent: plates move toward each other EQ & volcano
University of Illinois, Urbana Champaign - GEO - 107
Average Annual Global Temperature Year Temperature, oC 1880 13.75 1881 13.81 1882 13.78 1883 13.74 1884 13.69 1885 13.73 1886 13.75 1887 13.69 1888 13.76 1889 13.80 1890 13.65 1891 13.70 1892 13.64 1893 13.61 1894 13.65 1895 13.73 1896 13.84 1897 13.
University of Illinois, Urbana Champaign - GEO - 107
ShorelinesLab #10 Nov. 10 & 11Shorelines As Dynamic Environments Erosion By waves & storms Rate depends on coastal materials Deposition Source & supply of sediment CurrentsSome Shoreline FeaturesHeadlands Sea arch Sea stacksWave Base
University of Illinois, Urbana Champaign - GEO - 107
Surface temperature from 1860 until 2000 shows an overall rise of 0.9C. The future projections are following CO2 emissions and atmospheric ghg concentrations (in ppmv - parts per million by volume). The red line shows Business-as-Usual (BAU) where th
University of Illinois, Urbana Champaign - GEO - 432
Geol432 Mineralogy & Mineral OpticsMineral ListLIST OF MINERALSBold: You should know their diagnostic features in hand specimens and their chemical formulaePlain: You should know which class they below to and the major elements in themLiPag
University of Illinois, Urbana Champaign - GEO - 143
GEOLOGY 143: HISTORY OF LIFEUniversity of Illinois Fall Semester 2008Instructor: Professor Bruce W. Fouke, Room 138 NHB Office Phone: 244-5431 Email: fouke@illinois.edu Office hours: Mondays 4 5 pm, Room 138 NHB Teaching Assistants: Carly Hill, Ph
University of Illinois, Urbana Champaign - GEO - 143
GEOLOGY 143: HISTORY OF LIFEUniversity of Illinois Fall Semester, 2008Instructor: Professor Bruce W. Fouke, Room 138 NHB Phone: 244-5431 Email: fouke@illinois.edu Office Hours: Mondays 4 5 pm, Rm 138 NHB Teaching Assistants: Carly Hill, Phone: 244
University of Illinois, Urbana Champaign - GEO - 562
Tom Johnson, 8/25/08Isotope Geochem Introduction: Why isotopes?Modern geoscientists use isotope measurements for nearly every kind of study. A large fraction of the papers published involve some type of isotope data. Why is this? What are the gene
University of Illinois, Urbana Champaign - GEO - 562
Reviews in Mineralogy & Geochemistry Vol. 55, pp. 65-111, 2004 Copyright Mineralogical Society of America3Applying Stable Isotope Fractionation Theory to New SystemsEdwin A. SchaubleDepartment of Earth and Space Sciences University of Californ
University of Illinois, Urbana Champaign - GEO - 562
Tom Johnson 9/4/08Intro to Mass Dependent FractionationReading: White Ch. 27 Required Schauble, 2004 (from 2004 No-traditional Stable Isotopes RiMG volume; posted on web site) Other resources: Valley and Cole, Chapter 1, Chacko, Cole, and Horita;
University of Illinois, Urbana Champaign - GEO - 562
T. Johnson 9/9/08Kinetic Fractionation and Rayleigh ProcessesReading: Chapter 28 in White: "Kinetic Fractionation." Schauble, 2004: Part of his chapter summarizes theory on kinetic isotope fractionation. Guide Questions: - In a chemical reaction i
University of Illinois, Urbana Champaign - GEO - 562
9/18/08Water Isotopes (D and 18O in the Hydrosphere)Reading: Review Chapter 28 in White Alley and Cuffy chapter in the Valley and Cole Book Other resources: Some great information can be found at the International Atomic Energy Agency web site: ht
University of Illinois, Urbana Champaign - GEO - 562
9/25/08Mass spectrometryReading: White #15, F&M 4.4 Also Required: Visit and study Pudue AMS lab web site: http:/www.physics.purdue.edu/primelab/ Guide Questions: What is the means used to separate isotopes in most isotope ratio mass specs? What m
University of Illinois, Urbana Champaign - GEO - 562
10/2/08High-temperature paleothermometry and water-rock interactionReading: White's Lecture #30 (skim the part on the mantle); Lecture #33 read all Lectures #31+32- skim.Paleothermometry:Use in ore deposits: Some are formed by very hot water, o
University of Illinois, Urbana Champaign - GEO - 562
10/9/08Mass Independent fractionation (MIF)Reading: White's Lecture #40 (first part on MIF); re-read Lecture #37 part on Warning: This material is very new and the concepts are evolving very rapidly, so this is one area where you must consult the
University of Illinois, Urbana Champaign - GEO - 562
10/28/08Carbon Isotopes and Isotopic Fractionation for Complex (e.g., biochemical) ProcessesReading: White, Lectures 29, 38, 39 For more info: Valley and Cole Chapters 3 (Hayes), 10 (Des Marais), and 11 (Freeman) Motivation: C, S, N, and other red
University of Illinois, Urbana Champaign - GEO - 562
The next several figures are from DesMarais chapter in the Valley and Cole RiMG Book.
University of Illinois, Urbana Champaign - GEO - 562
Isotope geochemistry of N, S, and other redox-active elementsReading: White #29: Material on N and S isotopes in second half S Isotopes Chapter (Canfield's) from Valley and Cole (RiMG vol. 43) Additional resources: Se/Cr, Mo, Fe Chapters in "Non-tra
University of Illinois, Urbana Champaign - GEO - 562
11/19/08Isotope geochemistry of non-redox active elementsResources: See Chapters in Johnson, Beard and Albarde, 2004, "Geochemistry of NonTraditional Stable Isotopes" Reviews in Mineralogy and Geochemistry, Vol. 55. Includes Li, Mg, Ca, Zn, Cl Als
University of Illinois, Urbana Champaign - GEO - 562
11/19/081) Radioactive Decay, Nucleosynthesis, and Basic GeochronologyReading (all from White's Notes) Lecture 1: Introduction And Physics Of The Nucleus Skim all except ignore Box: Pions and the Nuclear Force: Lecture 2: Radioactive Decay- Read a
University of Illinois, Urbana Champaign - GEO - 562
11/20/08Isotope Geochem Notes: Rb-Sr, K-Ar and Ar-Ar DatingReading for this topic: White Lectures 5 and 6 Guide questions: Which isotope of Rb is unstable and to which isotope does it decay? What is the general procedure for age dating rocks via t
University of Illinois, Urbana Champaign - GEO - 562
12/1/08Isotope Geochem Notes (U,Th-Pb; Sm-Nd; Re-Os; Lu-Hf)Reading for this topic: White's notes: Lecture 7 (Sm-Nd) Lecture 8 (U,Th-Pb basics) read all Lecture 9 (U-Pb, zircons) read all Lecture 11 (Lu-Hf and Re-Os) skim to learn how these systems
University of Illinois, Urbana Champaign - GEO - 562
12/3/08Isotope Ratios as Tracers of Sources (and mixing of materials from different sources) in the Solid Earth, Hydrosphere, BiosphereReading: White, Lecture 24, part on the mathematics of binary mixing. NOTE for 2008 class: Grey-highlighted area
University of Illinois, Urbana Champaign - GEO - 562
12/5/08GEOL 562 Notes: U-Series and Th-series nuclidesReading: White, Lecture 10 Other resource: Bourdon, Henderson, Lundstrom and Turner, Uranium Series Geochemistry, Reviews in Mineralogy and Geochemistry, Volume 52. http:/www.minsocam.org/MSA/R
University of Illinois, Urbana Champaign - GEO - 562
12/6/08Cosmogenic IsotopesReading: White's 2 lectures on cosmogenic isotopes Guide Questions: How are cosmogenic nuclides produced in the earth-atmosphere system? How do the production rates depend on: - Cosmic ray flux and the earth's magnetic fi
University of Illinois, Urbana Champaign - CHP - 395
1Fouke Lab Biocomplexity ResearchAbiotic/Biotic Carbonates Ecology of Infectious Disease- Caribbean/Pacific coral reefs - veterinary medicine - human medicine- Yellowstone/Tuscany hot springs - Illinois/Curaao cavesBiocomplexity Environmental
University of Illinois, Urbana Champaign - CHP - 395
1Time-Line of Key Earth History Events Earth formed ~ 4.5 4.7 bya Moon formed as result of meteor impact ~ 4 bya Precambrian oxygenation of the atmosphere ~ 1.5 - 2 bya Snowball Earth ~ 0.5 - 1 bya Cambrian explosion of organisms with shells/skele
University of Illinois, Urbana Champaign - CHP - 395
Earth Circumference = ~ 46,350 km1 Mm 106 105 104 1 km 103 1 hm 102 1 dam101 1m 100Powers of 10 SpatialEarth Formation = 4.6 x 109 yr1010 109 108 107 106 105 104 103 102 101 1 yr 100 10-1 10-2 10-3 10-4 10-510-6 yr = 2.6 secondsPowers of 1
University of Illinois, Urbana Champaign - CHP - 395
Socrates- early Greek philospher (470 BC 399 BC) Socratic Method (Dialectical Approach) Learning through disciplined, rigorous, and thoughtful dialogue and logically defending one's ideas during intensive questioning that incomplete or inaccurate id
University of Illinois, Urbana Champaign - CHP - 395
Scientific Inquiry: Integrative and Iterative (Fouke 2008)1. Initiation: Use powers of observation, intuition, and knowledge from previous thought, work and experimentation to choose a relevant, meaningful, and timely question from an infinite arra
University of Illinois, Urbana Champaign - CHP - 395
http:/voyager.jpl.nasa.gov/spacecraft/goldenrec.html1Basic Molecules of Life DNA - deoxyribonucleic acid - a small molecule (monomer) composed of a sequence of nucleic acids containing a nitrogen base (adenine, guanine, cytosine, thymine, or urac
University of Illinois, Urbana Champaign - CHP - 395
Integrated Science Conceptual ApproachBig Picture Relevance Question:Central Working Hypothesis: Pattern (largest emergent organization) Spatial ScalePatternProcesses (link Mechanism to Pattern) (intermediate organization)Spatial ScaleProc
University of Illinois, Urbana Champaign - CHP - 395
Integrated Science Work SheetBig Picture Relevance Question:Central Working Hypothesis:Relevant Physical ComponentsPhysical Relevant Biological Components Time, Space, Evolution, Ecology, Geology Context Relevant Chemical ComponentsBiologica
University of Illinois, Urbana Champaign - CHP - 395
scientific correspondenceIndonesian `king of the sea' discoveredJuly Indonesian population coelacanth was discovered. It is On 30 of the1998, anspecies as the wellapparently same known coelacanth from the Comoran archipelago in the Indian Ocean, L
University of Illinois, Urbana Champaign - CHP - 395
news and viewsA home from home for coelacanthsPeter ForeyThe discovery of specimens of the coelacanth, Latimeria chalumnae , in Indonesian waters raises questions about the geographical distribution and conservation status of this remarkable fis
University of Illinois, Urbana Champaign - CHP - 395
newsTangled tale of a lost, stolen and disputed coelacanthHeather McCabe, Paris & Janet Wright, LondonPABrown: plans to increase funding, but some fear a cut in the number of studentships.in many areas, including the biological and physical
University of Illinois, Urbana Champaign - CHP - 395
newsEnhanced advisory role urged for former EU nuclear labsQuirin SchiermeierRecriminations and confusion over `fake' coelacanth photoHeather McCabe, ParisIdentifying an appropriate role for the European Commission's Joint Research Centre (JR
University of Illinois, Urbana Champaign - CHP - 395
Interpreting the universal phylogenetic treeCarl R. Woese*Department of Microbiology, University of Illinois at Urbana-Champaign, B103 Chemical and Life Sciences Laboratory, MC-110, 601 South Goodwin Avenue, Urbana, IL 61801-3709 Contributed by Car
University of Illinois, Urbana Champaign - CHP - 395
1234U.S.A.30 N90 N80 NChicxulub Impact CraterCubaN20 NAlbion Island QuarryMexicoArmenia Outcrop0 Belize Guatemala Honduras KM30056789101112131415Paragenetic Event EarlyMarine deposition of Barton
University of Illinois, Urbana Champaign - CHP - 395
CHP 395 Laboratory 1 Water Temperature Goals of Laboratory: (1) To gain a basic understanding of the magnitude and rate of water temperature gradients (2) to gain familiarity with the Fahrenheit Celcius temperature scales (3) to apply basic statisti
University of Illinois, Urbana Champaign - CHP - 395
CaCO3 Biomineralization: Biotic Survival on an Evolving PlanetPresentation by Bruce W. FoukeDepartment of Geology Department of Microbiology Institute for Genomic Biology University of Illinois Urbana-ChampaignInstitute for Genomic Biology, Univer
University of Illinois, Urbana Champaign - GEO - 143
1GEOL 143 GradingMaximum Score for Class = 1 = 100% calculated as follows: Maximum Lab Score = 395 pts Proportion of Grade = 40% Maximum Lecture Score = 90 pts Proportion of Grade = 60% (395 lab pts/395 max pts) x 0.4 lab) + (90 lecture pts/90 max
University of Illinois, Urbana Champaign - GEO - 143
1Scientific World View 1. The universe and nature is understandable 2. Scientific ideas are subject to change 3. Scientific knowledge is durable 4. Science cannot provide complete answers to all questions 5. Science demands evidence that is reprodu