11
Computer Architecture: Intro Anatomy of a CPU J. Schmalzel S. Mandayam

Computer Architecture: Intro Anatomy of a CPU

  • Upload
    karena

  • View
    30

  • Download
    0

Embed Size (px)

DESCRIPTION

Computer Architecture: Intro Anatomy of a CPU. J. Schmalzel S. Mandayam. CPU. MEM. I/O. Hierarchical View of EP and Digital Systems. Operating System HLLs. Computer Architecture. State Machines. Interface Method. Design Techniques. MSI Functions. Boolean Algebra. Gates. - PowerPoint PPT Presentation

Citation preview

Page 1: Computer Architecture: Intro Anatomy of a CPU

Computer Architecture: IntroAnatomy of a CPU

J. Schmalzel

S. Mandayam

Page 2: Computer Architecture: Intro Anatomy of a CPU

Hierarchical View of EP and Digital Systems

CPU MEM

I/O

GatesBoolean Algebra

Design Techniques

MSI Functions

State Machines

Interface Method

Computer Architecture

Operating System

HLLs

Page 3: Computer Architecture: Intro Anatomy of a CPU

BlockDiagram

Page 4: Computer Architecture: Intro Anatomy of a CPU

Concept of CPU as Two Paths

Data Path Where data elements flow from/to Where operations are performed

Control Path The source of data path control

Page 5: Computer Architecture: Intro Anatomy of a CPU

Simple Model Data Path (7-18)

Dbus

n-bit bus

Signal

Dbus

DoutAout

FS

Status

DA

AA

RW

Const

MB

MD

Register

File

Function

Unit

MuxB

MuxD

Din

BA

Page 6: Computer Architecture: Intro Anatomy of a CPU

Instruction Word

DA AA BA MB FS MD RW

3 3 3 1 1 15

Page 7: Computer Architecture: Intro Anatomy of a CPU

Iword, cont.

RW to write back result

AA, BA, DA: 3-bit selection field to select 1-of-8 registers

MB to select source operand for B path

FS to select operation

MD to select source for register file load

RF

FU

Page 8: Computer Architecture: Intro Anatomy of a CPU

Function Select Codes00000 F=A00001 F=A+100010 F=A+B00011 F=A+B+100100 F=A+ ~B00101 F= A+ ~B + 100110 F=A-100111 F=A01000 F=A & B01010 F=A | B01100 F=AB01110 F= ~A10000 F=B10100 F= sr B11000 F= sl B

Page 9: Computer Architecture: Intro Anatomy of a CPU

FU (ALU) Design Approaches

Complex combinatorial structureMultiplexed discrete logical and arithmetic

unitsHDL model

Page 10: Computer Architecture: Intro Anatomy of a CPU

Consider Implementation

Use organization of FS codes to partition system (use FS4 and FS3): 00- Arithmetic 01- Logical 10, 11- Shift, Miscellaneous

Page 11: Computer Architecture: Intro Anatomy of a CPU

Questions, Comments, Discussion