EC-340 Computer Architecture 3 (3+0)

BS Computer Engineering Program



Course Information

Semester 5th Semester - Fall 2017
Prerequisite EC-224 Computer Organization, EC-121 Digital Logic Design
Course Instructor/s Dr Hashim Ali
Email hashim.ali@hitecuni.edu.pk
Teaching Assistant (TA) Sana Naseer [text]
Office Hours
  • Friday, 02:00 - 04:00
  • Appointment by email
  • Text Book/s

    Course Objective

    Upon completion of this course, the student will have basic understanding of computer system architecture including CPU design, memory subsystem design and performance enhancement techniques.

    ESSENTIAL TOPICS TO BE COVERED:

    Course Contents

    Overview of main computer architectures and quantitative analysis of merits and pitfalls in computer performance, instruction set architecture, binary arithmetic and ALU design (adder, multiplier, divider), speeding-up addition/subtraction and multiplication/division, Floating point representation and FPU design, CPU design, single-cycle processor design (data-path + control), multicycle processor design (data-path + control), micro-codes, microprogrammed control, analysing single/multi-cycle performance w.r.t CPI, pipeline processor and hazards, branch prediction, instruction level parallelism (ILP), introduction to parallel processing.

    Program Learning Outcomes

    Course Learning Outcomes

    Grading Policy

    75% class attendance is mandatory to appear in the examination. Course grades will be determined by the following weights:

    Marks Distribution
    Assignment/Project 10%
    Quizzes 10%
    Sessional - I 20%
    Sessional - II 20%
    Final Exam 40%
    Course Total 100%

    NOTE:

    Schedule of Exams

    Download Course Outline


    Lectures Plan

    Reading material about topics related to the course is mentioned under "Support Documents, Resources, and Links".

    Week# Date Topic Slide Download Link Readings Evaluation
    1- 19, 21/9/17 Introductory Lecture Lecture 0 -- --
    2- 28, 29/9/17 Appendix J
    Computer Arithmetic
    Lecture 1
    Appendix J
    Ch 9,10-Stalligs
    Appendix J-Hennessy
    --
    3- 4, 5/10/17 Instruction Set Architecture-I
    Lecture 2 [Updated on 19/10] Ch 11,12-Stalligs
    Design Simple Microprocessor
    Quiz 1
    4- 11, 12/10/17 Instruction Set Architecture-II & III
    -- -- --
    5- 18, 19/10/17 Architectural Space
    Lecture 3 -- --
    6- 25, 26/10/17 Performance
    Lecture 4 Ch 1-Hennessy --
    7- 30/10-03/11/17 Sessional - I Exam
    8- 8, 9/11/17 ALU Design
    Binary Arithmetic
    Comparison
    Logical Operations
    Signed Operations
    Overflow
    Lecture 5 -- --
    9- 15, 16/11/17 ALU Design
    Multiplier Design
    Divider Design
    Lecture 6 Signed Binary Division Rules [pdf] --
    10- 22, 23/11/17 ALU Design
    Speeding up Addition/Subtraction
    Floating-point Representation
    Floating-point Unit Design
    Lecture 7
    IEEE 754 Calculator
    -- Quiz 2
    11- 29, 30/11/17 Remaining Lecture 7
    Processor Design
    Introduction
    Signle Cycle Design (Datapath + Control)
    Analysing Perfromance
    Lecture 8 Ch 4 & Appendix_B - Hennessy --
    12- 6, 7/12/17 Remaining Lecture 8 -- Ch 4 & Appendix_B - Hennessy Assignment 1 - Deadline
    13- 11-15/12/17 Sessional - II Exam
    14- 19, 21/12/17 Processor Design
    Multicycle Design (Data-path)
    Lecture 9 -- --
    15- 26, 28/12/17 Processor Design
    Multicycle Design (Control)
    -- -- --
    16- 2, 4/1/18 Processor Design
    Microprogrammed Control
    -- -- --
    17- 9, 11/1/18 Pipelined Processor Design
    Pipelining
    Types of Pipelining
    Hazards (Structural, Data, Control)
    Lecture 10 -- Quiz 3
    18- 16, 18/1/18 Remaining Lecture 10 -- -- Quiz 4
    Assignment 2 - Deadline
    19- 22-27/1/18 Final Exam

    Assignments

    Download Assignment Cover Page

    1. Assignment 1 - Deadline December 09, 2017 - Submission Link

    2. 4-bit ALU -- Logisim files - Deadline November 30, 2017 - Submission Link

    Quizzes

    Try to cover the course material everyday!! Surprise quizzes may be taken during the course.

    1. Quiz 1 Solution (pdf)
    2. Quiz 2 Solution (pdf)
    3. Quiz 3 Solution (pdf)


    Exams


    Software Links


    Support Documents, Resources, and Links


    Class Standings

    Class Attendance

    Attendance Sheet

    Class Grades

    Grades Sheet