Computer architecture Documents, Slides of Computer Architecture and Organization

Helping material for Computer architecture subject.

Typology: Slides

2018/2019

Uploaded on 12/07/2019

mahnoor-syal
mahnoor-syal 🇵🇰

7 documents

1 / 262

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1
Computer Organization Computer Architecture
Computer Architecture
Dr Roninn Maxx
Semester: 7
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Computer architecture Documents and more Slides Computer Architecture and Organization in PDF only on Docsity!

1

Computer Architecture

Dr Roninn Maxx Semester: 7

2

Dr.Chao Tan,

Carnegie Mellon University

4

Chap. 4: Register Transfer and Microoperations

**- Register Transfer Language, • Register Transfer

  • Bus and Memory Transfers
  • Arithmetic Microoperations
  • Logic Microoperations, • Shift Microoperations
  • Arithmetic Logic Shift Unit**

Chap. 5: Basic Computer Organization and Design

**- Instruction Codes, • Computer Registers

  • Computer Instructions, • Timing and Control
  • Instruction Cycle,
  • Memory Reference Instructions
  • Input** - Output and Interrupt **- Complete Computer Description
  • Design of Basic Computer
  • Design of Accumulator Logic**

5 Chap. 6: Programming the Basic Computer

**- Machine Language, • Assembly Language

  • Assembler, • Program Loops
  • Programming Arithmetic and Logic Operations
  • Subroutines, • Input** - Output Programming Chap. 7: Microprogrammed Control **- Control Memory, • Sequencing Microinstructions
  • Microprogram Example, • Design of Control Unit
  • Microinstruction Format** Chap. 8: Central Processing Unit **- General Register Organization
  • Stack Organization, • Instruction Formats
  • Addressing Modes
  • Data Transfer and Manipulation
  • Program Control
  • Reduced Instruction Set Computer**

7

Chap. 12: Memory Organization

**- Memory Hierarchy, • Main Memory

  • Auxiliary Memory. • Associative Memory
  • Cache Memory, • Virtual Memory**

Chap. 13: Multiprocessors ()

**- Characteristics of Multiprocessors

  • Interconnection Structures
  • Interprocessor Arbitration
  • Interprocessor Communication/Synchronization
  • Cache Coherence**

8 SIMPLE DIGITAL SYSTEMS

  • Combinational and sequential circuits (learned in Chapters 1 and 2) can be used to create simple digital systems.
  • These are the low-level building blocks of a digital computer.
  • Simple digital systems are frequently characterized in terms of
    • the registers they contain, and
    • the operations that they perform.
  • Typically,
    • What operations are performed on the data in the registers
    • What information is passed between registers Register Transfer &- operations

10 MICROOPERATIONS (1) Register Transfer Language

  • The operations on the data in registers are called microoperations.
  • The functions built into registers are examples of microoperations - Shift - Load - Clear - Increment - Register Transfer &- operations

11 MICROOPERATION (2) An elementary operation performed (during one clock pulse), on the information stored in one or more registers R  f(R, R) f: shift, load, clear, increment, add, subtract, complement, and, or, xor, … ALU (f) Registers (R) 1 clock cycle Register Transfer &- operations Register Transfer Language

13 REGISTER TRANSFER LEVEL Register Transfer Language

  • Viewing a computer, or any digital system, in this way is called the register transfer level
  • This is because we’re focusing on
    • The system’s registers
    • The data transformations in them, and
    • The data transfers between them. Register Transfer &- operations

14 REGISTER TRANSFER LANGUAGE Register Transfer Language

  • Rather than specifying a digital system in words, a specific notation is used, register transfer language
  • For any function of the computer, the register transfer language can be used to describe the (sequence of) microoperations
  • Register transfer language
    • A symbolic language
    • A convenient tool for describing the internal organization of digital computers
    • Can also be used to facilitate the design process of digital systems. Register Transfer &- operations

16 DESIGNATION OF REGISTERS Register Transfer Language R Register Numbering of bits Showing individual bits Subfields PC(H) PC(L) 15 8 7 0

  • a register
  • portion of a register
  • a bit of a register
  • Common ways of drawing the block diagram of a register 7 6 5 4 3 2 1 0 R 15 0
  • Designation of a register Register Transfer &- operations

17 REGISTER TRANSFER Register Transfer

  • Copying the contents of one register to another is a register transfer
  • A register transfer is indicated as R2  R
    • In this case the contents of register R1 are copied (loaded) into register R
    • A simultaneous transfer of all bits from the source R1 to the destination register R2, during one clock pulse
    • Note that this is a non-destructive; i.e. the contents of R1 are not altered by copying (loading) them to R Register Transfer &- operations

19 CONTROL FUNCTIONS Register Transfer

  • Often actions need to only occur if a certain condition is true
  • This is similar to an “if” statement in a programming language
  • In digital systems, this is often done via a control signal , called a control function - If the signal is 1, the action takes place
  • This is represented as: P: R2  R Which means “if P = 1, then load the contents of register R1 into register R2”, i.e., if (P = 1) then (R2  R1) Register Transfer &- operations

20 HARDWARE IMPLEMENTATION OF CONTROLLED TRANSFERS Implementation of controlled transfer P: R2 R Block diagram Timing diagram Clock Register Transfer Transfer occurs here R R Control Circuit P^ Load n Clock Load t (^) t+

  • The same clock controls the circuits that generate the control function and the destination register
  • Registers are assumed to use edge-triggered flip-flops Register Transfer &- operations