Jordan University of Science and Technology

Computer Engineering Department

 

 

Computer Architecture

CE 352

 


 

Syllabus:

1. Introduction - Architecture, Organization, Abstractions (Chapter 1)
2. Measuring Performance (Chapter 2)
3. Instruction Set Design (Chapter 3)
4. Computer Arithmetic (Brief) (Chapter 4)
5. Processor Design, Pipelining and other Performance Enhancements (Chapters 5 and 6)
6. Memory Hierarchies and Virtual Memory (Chapter 7)
7. Peripherals and I/O Systems (Chapter 8)
8. Multiprocessors and Networking (Chapter 9)

 


 

 

PPT Slides:

 

    - Chapter 1-4>

    - Chapter 5

    - Chapter 6

    - Chapter 7-9<

 

PDF Slides (Open Using Adobe Acrobat):

 

    - All The Slides converted into *.pdf Foormat: Slides.zip  

    - Dynamic Control Hazard Avoidance DCHA.zip [NEW!!]

   

 

MIPS ISA SLIDES:

 

    - Performance, CPU Time, CPI, Benchmarks ( .ppt , .pdf )

    - Benchmarks, Amhdal's Law, ISA Overview, MIPS Intro ( .ppt , .pdf )

    - MIPS Instruction Types, Machine Code, MIPS Control Instructions ( .ppt , .pdf )

    - MIPS Control Instructions, Addressing Modes, Function Call Intro. ( .ppt , .pdf )

 

PS Slides (Open Using GoScript):

 

    - Introduction

    - Performance

    - Cost

    - ISA

    - Chapter 4

    - Chapter 5

    - Chapter 6A

    - Chapter 6B

    - Chapter 6C

    - Memory1

    - Memory2

    - Chapter 8

    - IO

 

 

Required Software:

 

    Download GoScript

    Download GSview

    Download GSview Crack

    Download MIPS Simulator

 

 

note: You need to download all those three files for the files to work properly.

 

 


 

Homeworks:

 
Chapter 2:

(a)    Exercises 2.18 (10 points), 2.19 (5 points), 2.20 (10 points), 2.21 (5 points), 2.22 (5 points), 2.23 (10 points), 2.24 (10 points), 2.26 (5 points), 2.27 (5 points), 2.28 (15 points), and 2.29 (15 points) from the textbook.

(b)    In this exercise, assume that we are considering enhancing a machine by adding a vector mode to it. When a computation is run in the vector mode, it is 20 times faster than the normal mode of execution. We call the percentage of time that could be spent using vector mode the percentage of vectorization. (25 points),

  • What percentage of vectorization is needed to achieve a speedup of 2 for a program?
  • What percentage of vectorization is needed to achieve one-half the maximum speedup attainable from using the vector mode?
  • Suppose you have measured the percentage of vectorization of programs to be 70%. The hardware design group says that they can double the speed of the vector rate with a significant additional engineering investment. You wonder whether the compiler crew could increase the use of vector mode as another approach to increasing performance. How much increase in the percentage of vectorization (relative to the current value) would you need to obtain the same performance gain as the hardware improvement? Which investment would you recommend?
Chapter 3:
Exercises: 3.12 (5 points), 3.13 (10 points), 3.14 (10 points), 3.16 (15 points), 3.17 (20 points), and 3.18 (10 points)
Chapter 4:
Exercises 4.1-4.9 (41 points), 4.14 (15 points), 4.17 (10 points), 4.19 (15 points), 4.31 (10 points)
 
Chapter 5: 
Exercises 5.1-5.4 (20 points), 5.9 (5 points), 5.10 (5 points), 5.14 (10 points), 5.15 (15 points), 5.16 (5 points), 5.25 (20 points)
 
Chapter 6:
Exercises 6.1-6.4 (25 points), 6.8 (15 points), 6.11-6.13 (15 points), 6.15 (5 points), 6.18 (20 points), 6.20 (20 points), 6.26 (20 points), 6.30 (10 points)
Chapter 7:
Exercises 7.31(5 points), 7.32 (15 points), 7.33 (15 points), 7.34 (15 points), 7.35 (15 points), 7.36 (15 points)
1