csc213

Computer Architecture

Exam Preparation: 40 hours
Deep Understanding: 90 hours
Subject Code CSC 213
Credit Hours 3 Hours
Nature Theory + Lab
Full Marks 60 + 20 + 20
Pass Marks 24 + 8 + 8
Description

This course includes concepts of instruction set architecture, organization or micro-architecture, and system architecture. The instruction set architecture includes programmer’s abstraction of computer. The micro-architecture consists of internal representation of computers at register and functional unit level. The system architecture includes organization of computers at the cache and bus level.

Objective

Discuss representation of data and algorithms used to perform operations on data,Demonstrate different operations in terms of Micro-operations,Explain architecture of basic computer and micro-programmed control unit,Understand memory and I/O organization of a typical computer system,Demonstrate benefits of pipelined systems

Course Contents

Data Representation

4 Hours

Binary Representation, BCD, Alphanumeric Representation, Complements, Fixed Point representation, Representing Negative Numbers, Floating Point Representation, Arithmetic with Complements, Overflow, Detecting Overflow, Other Binary Codes: Gray Code, Self Complementing Code, Weighted Code, Excess-3 Code, EBCDIC, Error Detection Codes: Parity Bit, Odd Parity, Even parity, Parity Generator & Checker

Register Transfer and Microoperations

5 Hours

Microoperation, Register Transfer Language, Register Transfer, Control Function, Arithmetic Microoperations: Binary Adder, Binary Adder-subtractor, Binary Incrementer, Arithmetic Circuit, Logic Microoperations, Hardware Implementation, Applications of Logic Microoperations, Shift Microoperations: Logical Shift, Circular shift, Arithmetic Shift, Hardware Implementation of Shifter

Basic Computer Organization and Design

8 Hours

Instruction Code, Operation Code, Stored Program Concept, Registers and memory of Basic Computer, Common Bus System for Basic Computer, Instruction Format, Instruction Set Completeness, Control Unit of Basic Computer, Control Timing Signals, Instruction Cycle of Basic Computer, Determining Type of Instruction, Memory Reference Instructions, Input-Output Instructions, Program Interrupt & Interrupt Cycle, Description and Flowchart of Basic Computer

Microprogrammed Control

4 Hours

Control Word, Microprogram, Control Memory, Control Address Register, Sequencer, Address Sequencing, Conditional Branch, Mapping of Instructions, Subroutines, Microinstruction Format, Symbolic Microinstructions, Design of Control Unit

Central Processing Unit

4 Hours

Major Components of CPU, CPU Organization, Instruction Formats, Addressing Modes, Data Transfer and manipulation, Program Control, Subroutine Call and Return, Types of Interrupt, RISC vs CISC, Pros and Cons of RISC and CISC, Overlapped Register Windows

Pipelining

6 Hours

Parallel Processing, Multiple Functional Units, Flynn’s Classification, Pipelining: Concept and Demonstration with Example, Speedup Equation, Floating Point addition and Subtraction with Pipelining, Instruction Level Pipelining: Instruction Cycle, Three & Four-Segment Instruction Pipeline, Pipeline Conflicts and Solutions, Vector Processing, Applications, Vector Operations, Matrix Multiplication

Computer Arithmetic

6 Hours

Addition and Subtraction with Signed Magnitude Data, Addition and Subtraction with Signed 2’s Complement Data, Multiplication of Signed Magnitude Data, Booth Multiplication, Division of Signed Magnitude Data, Divide Overflow

Input Output Organization

4 Hours

Input-Output Interface: I/O Bus and Interface Modules, I/O vs. Memory Bus, Isolated vs. Memory-Mapped I/O, Asynchronous Data Transfer: Strobe, Handshaking, Modes of Transfer: Programmed I/O, Interrupt-Initiated I/O, Direct Memory Access, Priority Interrupt: Polling, Daisy-Chaining, Parallel Priority Interrupt, Direct Memory Access, Input-Output Processor, DMA vs. IOP

Memory Organization

4 Hours

Memory Hierarchy, Main Memory, RAM and ROM Chips, Memory address Map, Memory Connection to CPU, Auxiliary Memory (magnetic Disk, Magnetic Tape), Associative Memory: Hardware Organization, Match Logic, Read Operation, Write Operation, Cache Memory: Locality of Reference, Hit & Miss Ratio, Mapping, Write Policies

Laboratory Works

Simulate features like overflow, data representation by using VHDL,Simulate design of different units by using VHDL,Simulate pipelining by using VHDL,Implement algorithms for computer arithmetic using high level language like C or C++

Books

Textbooks

M. Morris Mano, 'Computer System Architecture', Prentice-Hall of India, Third edition, 2007

Reference Books

William Stallings, 'Computer Organization and Architecture', Prentice-Hall of India, Seventh edition, 2005
Vincent P. Heuring and Harry F. Jordan, 'Computer System Design and Architecture', Prentice-Hall of India, Second edition, 2003