Computer Architecture

Instructor Information

Instructor: Larry Shi
Office Location:PGH 348
Telephone: Office – 713-743-3045
E-mail: $_ = "wshi3XXuhYYedu"; s/XX/@/; s/YY/./;
Office Hours:TuTh. 1:30pm – 2:30pm or by appointment


Course Information

Course Number: COSC3330
Course Name: Computer Architecture
Course Location: CBB 106
Class Times: TuTh 14:30-16:00
Prerequisites: COSC 2410 and MATH 3336


Teaching Assistant

Name: Nick Liu
Office Location: PGH 313
Telephone: Office – TBA
E-mail: nickatcosc3330@gmail.com
Office Hours: Tu 4:00pm-6:00pm or by appointment


Teaching Assistant

Name: Kelvin Gao
Office Location: PGH 313
Telephone: Office – TBA
E-mail: darksun113@gmail.com
Office Hours: MW 1:00 - 2:00pm or by appointment


Google Group:

https://groups.google.com/forum/#!forum/uh_computer_architecture_2014_spring(external link)


Patterson and Hennessey, Computer Organization & Design: The Hardware/Software Interface.

Homework 3



Exam 1 Solution





Logic design, principles of operation of digital computers, and analysis of its major components: arithmetic, ALU, DRAM memory, control and input/output units, instruction pipelining, out-of-order processor, branch prediction, memory hierarchy, VLIW and vector machine architecture, SIMD and multiprocessor systems.


  • Three homework assignments (one with programming. Individual work. Collected in the first 5 minutes of due day in class. No late turn-in accepted.) (15%, 15%, 10%)
  • Two in-class exams (Closed books, closed notes, no calculator unless said otherwise. Each exam focuses on the material covered since the last exam.) (40%)
  • Final exam (Closed books, closed notes, no calculator unless said otherwise.Cover mostly the material since the last exam) (20%)


Class Schedule and Slides

Date Topic Slide Reading Assignment
1/16 Introduction CompArch-Lec0-Intro.pdf, CompArch-Lec0-Intro.pptx
1/21 Number System and Gates CompArch-Lec01-Number-System-and-Gates.pdf, CompArch-Lec01-Number-System-and-Gates.pptx
1/28 Combinational Logic CompArch-Lec02-Combinational-Logic.pptx, CompArch-Lec02-Combinational-Logic.pdf
1/30 Sequential Logic CompArch-Lec03-Sequential.pptx, CompArch-Lec03-Sequential.pdf
2/4 Memory
2/6 MIPS CompArch-Lec05-MIPS.ppt, CompArch-Lec05-MIPS.pdf Ch2.4-2.7, 2.8-2.10, 2.13, 2.17, 2.19
2/11 Datapath CompArch-Lec06-Datapath.pptx, CompArch-Lec06-Datapath.pdf Ch2.4-2.7, 2.8-2.10, 2.13, 2.17, 2.19
2/13 Datapath CompArch-Lec07-Datapath-and-Performance.pptx Ch4.1 to 4.4
2/18 Performance
2/20 Pipelining CompArch-Lec08-Pipelining.pptx, CompArch-Lec08-Pipelining.pdf Ch4.5 - 4.8
2/25 Pipelining 2 CompArch-Lec09-Pipelining-Hazard.pptx, CompArch-Lec09-Pipelining-Hazard.pdf
2/27 ILP CompArch-Lec10-ILP.pptx
3/4 Exam 1 exam1-dis.pdf
3/6 ILP 2 CompArch-Lec11-ILP-2.pptx
CompArch-Lec11-ILP-2.pptx, CompArch-Lec11-ILP-2.pdf
3/18 Out-of-Order Execution CompArch-Lec12-OoO.pptx, CompArch-Lec12-OoO.pdf page 397-401
3/20 OoO Cont'd CompArch-Lec13-OoO-and-BranchPrediction.pptx, CompArch-Lec13-OoO-and-BranchPrediction.pdf
3/25 Branch Prediction CompArch-Lec14-Branch-Prediction.ppt
3/27 VLIW CompArch-Lec15-VLIW.ppt
4/3 Vector Machine CompArch-Lec17-Vector-Machine.pptx
4/8 CompArch-Lec18-Review.pptx, CompArch-Lec18-Review.pdf, Ch5.1-5.3, 5.5
4/10 Exam 2
4/15 Cache CompArch-Lec19-Cache.pptx, CompArch-Lec19-Cache.pdf Ch5.7 - 5.12
4/17 Cache CompArch-Lec20-Cache2.pptx, CompArch-Lec20-Cache2.pdf Ch5.4
4/22 Cache CompArch-Lec21-Cache3.pptx, CompArch-Lec21-Cache3.pdf Ch7.5
4/24 Virtual Memory and Many-core CompArch-Lec22-Virtual-Memory-and-Manycore.pptx, CompArch-Lec22-Virtual-Memory-and-Manycore.pdf Ch7.2, 7.3
4/29 Final Exam Review, Presentations
5/6 Final

Acknowledgement: Some of the class presentations are based on classes taught by Prof. Hsien-Hsin Sean Lee, Prof. Gabriel H. Loh, Prof. Milos Prvulovic, and Prof. Taeweon Suh.

Honor Code:

Students are expected to uphold the University of Houston Honor Code and to avoid any instances of academic misconduct in homework assignments and exams. Any violation will be immediately and directly reported to the Dean of Students' Affairs for further action.

Student with Disabilities:

Any student with a documented disability needing accommodations must speak with the instructor during the first two weeks of class. All discussions will remain confidential. Reasonable accommodations are available for students with a documented disability. If you have a disability and may need accommodations to fully participate in this class, please visit the Center for Students with Disabilities. Please call 713-743-5400 to make an appointment with a disability specialist.

Created by admin. Last Modification: Tuesday 27 of December, 2016 22:41:33 UTC by admin. (Version 145)


nick, 21:54, 2014-04-24: Homework 3 is due May 2 2014.
larryshi, 05:45, 2014-04-21: homework 3 is online.
nick, 21:31, 2014-04-02: Example answers for Homework 2 is already posted on the website
nick, 07:28, 2014-02-11: The homework 1 is already posted on the website.