Computer Architecture

Instructor Information

Instructor: Larry Shi
Office Location:PGH 344
Telephone: Office – 713-743-3045
Office Hours:Tue. 4:30pm – 6:30pm or by appointment


Course Information

Course Number: COSC3330
Course Name: Computer Architecture
Course Location: SEC 104
Class Times: TuTh 2:30pm – 4:00pm
Prerequisites: COSC 2410 and MATH 3336


Teaching Assistant

Name: Yuanfeng Wen
Office Location: PGH591
Telephone: Office – TBA
E-mail: wyf@cs.uh.edu
Office Hours: MW2:30pm-4:00pm or by appointment


Teaching Assistant

Name: Jasmeet Kour
Office Location: PGH364
Telephone: Office – TBA
E-mail: jkour@uh.edu
Office Hours: TuTh 12:00pm – 1:30pm or by appointment



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


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.) (10%, 10%, 15%)
  • 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 participation (5%)

TTL Computer Projects


Class Schedule and Slides

Date Topic Slide Reading Assignment
1/17 Introduction CompArch-Lec0-Intro.pdf, CompArch-Lec0-Intro.ppt
1/19 Number System and Gates CompArch-Lec01-Number-System-and-Gates.pdf, CompArch-Lec01-Number-System-and-Gates.ppt
1/24 Combinational Logic CompArch-Lec02-Combinational-Logic.pdf, CompArch-Lec02-Combinational-Logic.ppt
1/26 Sequential Logic CompArch-Lec03-Logic-Components.pdf, CompArch-Lec03-Logic-Components.ppt
1/31 Memory CompArch-Lec04-FlipFlop-Memory.pdf, CompArch-Lec04-FlipFlop-Memory.ppt
2/2 MIPS CompArch-Lec05-MIPS.pdf, CompArch-Lec05-MIPS.ppt Ch2.4-2.7, 2.8-2.10, 2.13, 2.17, 2.19
2/7 MIPS 2 CompArch-Lec06-MIPS2.pdf, CompArch-Lec06-MIPS2.ppt Ch2.4-2.7, 2.8-2.10, 2.13, 2.17, 2.19
2/9 ALU CompArch-Lec07-ALU.pdf, CompArch-Lec07-ALU.ppt Ch4.1 to 4.4
2/14 Datapath, Performance CompArch-Lec08-Datapath.pdf, CompArch-Lec08-Datapath.ppt
2/16 Pipelining CompArch-Lec09-Pipelining.pdf, CompArch-Lec09-Pipelining.ppt Ch4.5 - 4.8
2/21 Exam 1
2/23 Pipelining 2 CompArch-Lec10-Pipelining-2.pdf, CompArch-Lec10-Pipelining-2.ppt
2/28 ILP CompArch-Lec11-ILP.pdf, CompArch-Lec11-ILP.ppt
3/1 ILP 2 CompArch-Lec12-ILP-2.pdf, CompArch-Lec12-ILP-2.ppt
3/6 Out-of-Order Execution CompArch-Lec13-OoO.ppt, CompArch-Lec13-OoO.pdf page 397-401
3/8 OoO Cont'd, and Branch Prediction CompArch-Lec13-ROB-Branch-Prediction.pdf, CompArch-Lec13-ROB-Branch-Prediction.ppt
3/20 Branch Prediction CompArch-Lec14-Branch-Prediction.ppt, CompArch-Lec14-Branch-Prediction.pdf
3/22 VLIW CompArch-Lec15-VLIW.ppt, CompArch-Lec15-VLIW.pdf
3/27 Vector Machine CompArch-Lec16-Vector.ppt, CompArch-Lec16-Vector.pdf
3/29 Cache CompArch-Lec17-Cache-1.ppt, CompArch-Lec17-Cache-1.pdf Ch5.1-5.3, 5.5
4/3 Exam 2
4/5 Cache CompArch-Lec18-Cache-2.ppt, CompArch-Lec18-Cache-2.pdf Ch5.7 - 5.12
4/10 Virtual Memory CompArch-Lec19-Virtual-Memory.ppt, CompArch-Lec19-Virtual-Memory.pdf Ch5.4
4/12 Threading CompArch-Lec20-Threading.ppt, CompArch-Lec20-Threading.pdf Ch7.5
4/17 Many-core CompArch-Lec21-Multicore.ppt, CompArch-Lec21-Multicore.pdf Ch7.2, 7.3
4/19 I/O CompArch-Lec22-IO-and-Storage.pdf, CompArch-Lec22-IO-and-Storage.ppt
4/24 Virtual Machine CompArch-Lec23-Virtualization.pdf, CompArch-Lec23-Virtualization.ppt
4/26 Exam 3 Review, Presentations
5/8 Final Exam (2:30pm to 4:00pm)

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:42:14 UTC by admin. (Version 164)


yuanfeng, 11:36, 2012-05-05: Yuanfeng is out of town on Monday (5/7). Office hour is moved to 11:00am - 1:00pm on Tuesday (5/8).
yuanfeng, 10:29, 2012-05-02: HW3 solution uploaded. No submission is accepted.
jasmeet, 11:04, 2012-05-01: To help you prepare the exam, final office hrs are from 11-1:30 on Thursday. No office hrs tommorow.
yuanfeng, 09:46, 2012-05-01: HW3 deadline is 6:00pm 05/01/2012. Please submit hard-copy homework to PGH591. No late submission is accepted.
admin, 11:25, 2012-04-29: Final Exam is on May 8, 2012.