P.Rajasekar & C.M.T.Karthigeyan Asst.Professor SRM University, Kattankulathur 8/22/2011 School of Computing, Department of IT 1.

Slides:



Advertisements
Similar presentations
DIGITAL ELECTRONICS & it0203 Semester - 3
Advertisements

Adders Used to perform addition, subtraction, multiplication, and division (sometimes) Half-adder adds rightmost (least significant) bit Full-adder.
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Processor Data Path and Control Diana Palsetia UPenn
Figure 12–1 Basic computer block diagram.
Name Convolutional codes Tomashevich Victor. Name- 2 - Introduction Convolutional codes map information to code bits sequentially by convolving a sequence.
Chapter 4 The Von Neumann Model
Chapter 4 The Von Neumann Model
Block Diagram of Intel 8086 Engr.M.Zakir Shaikh
©2004 Brooks/Cole FIGURES FOR CHAPTER 12 REGISTERS AND COUNTERS Click the mouse to move to the next page. Use the ESC key to exit this chapter. This chapter.
PSSA Preparation.
CS/COE1541: Introduction to Computer Architecture Datapath and Control Review Sangyeun Cho Computer Science Department University of Pittsburgh.
Computer Architecture CS 215
CPEN Digital System Design
KU College of Engineering Elec 204: Digital Systems Design
Digital System Design Using Verilog
Princess Sumaya University
PART 5: (2/2) Processor Internals CHAPTER 15: CONTROL UNIT OPERATION 1.
ARITHMETIC LOGIC SHIFT UNIT
Chapter 9 Computer Design Basics. 9-2 Datapaths Reminding A digital system (or a simple computer) contains datapath unit and control unit. Datapath: A.
Chapter 16 Control Unit Operation No HW problems on this chapter. It is important to understand this material on the architecture of computer control units,
Chapter 7. Register Transfer and Computer Operations
Memory - Registers Instruction Sets
Chapter 16 Control Unit Implemntation. A Basic Computer Model.
Chapter 15 IA 64 Architecture Review Predication Predication Registers Speculation Control Data Software Pipelining Prolog, Kernel, & Epilog phases Automatic.
CPEN Digital System Design Chapter 9 – Computer Design
Computer Organization and Architecture
Stack Stack Pointer A stack is a means of storing data that works on a ‘Last in first out’ (LIFO) basis. It reverses the order that data arrives and is.
The CPU Central Processing Unit. 2 Reminder - how it fits together processor (CPU) memory I/O devices bus.
Chapter 4 MARIE: An Introduction to a Simple Computer.
Chap 7. Register Transfers and Datapaths. 7.1 Datapaths and Operations Two types of modules of digital systems –Datapath perform data-processing operations.
REGISTER TRANSFER & MICROOPERATIONS By Sohaib. Digital System Overview  Each module is built from digital components  Registers  Decoders  Arithmetic.
Lecture 14 Today’s topics MARIE Architecture Registers Buses
1 Purpose of This Chapter In this chapter we introduce a basic computer and show how its operation can be specified with register transfer statements.
Lec 5 Basic Computer Organization
CoE3DJ4 Digital Systems Design
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI CSCI N305 Information Representation: Machine Instructions.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Control Unit.
Register Transfer Languages (RTL)
Basic Elements of Processor ALU Registers Internal data pahs External data paths Control Unit.
GROUP 2 CHAPTER 16 CONTROL UNIT Group Members ๏ Evelio L. Hernandez ๏ Ashwin Soerdien ๏ Andrew Keiper ๏ Hermes Andino.
Control Unit Operations Chapter10:. What is Control Unit (CU)?(1)  Part of a CPU or other device that directs its operation.  Tells the rest of the.
Chapter 10 Control Unit Operation “Controls the operation of the processor”
Processor Organization
Processor Organization and Architecture Module III.
Elements of Datapath for the fetch and increment The first element we need: a memory unit to store the instructions of a program and supply instructions.
MICROPROCESSOR DETAILS 1 Updated April 2011 ©Paul R. Godin prgodin gmail.com.
Designing a CPU –Reading a programs instruction from memory –Decoding the instruction –Executing the instruction –Transferring Data to/From memory / IO.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Control Unit.
BASIC COMPUTER ARCHITECTURE HOW COMPUTER SYSTEMS WORK.
Functions of Processor Operation Addressing modes Registers i/o module interface Memory module interface Interrupts.
Basic Computer Organization and Design
Computer Organization and Architecture + Networks
Control Unit Lecture 6.
Chap 7. Register Transfers and Datapaths
ADVANCED PROCESSOR ARCHITECTURE
William Stallings Computer Organization and Architecture 7th Edition
Computer Organization and Design
Chapter 15 Control Unit Operation
BASIC COMPUTER ORGANIZATION AND DESIGN
MARIE: An Introduction to a Simple Computer
William Stallings Computer Organization and Architecture 7th Edition
CSC 220: Computer Organization
Information Representation: Machine Instructions
Computer Architecture
Computer Architecture
Presentation transcript:

P.Rajasekar & C.M.T.Karthigeyan Asst.Professor SRM University, Kattankulathur 8/22/2011 School of Computing, Department of IT 1

The contents of the slides are solely for the purpose of teaching students at SRM University. All copyrights and Trademarks of organizations/persons apply even if not specified explicitly. 8/22/2011 School of Computing, Department of IT 2

3

Simple computer architecture decomposed into: Datapath for performing operations Control unit for controlling datapath operations A datapath is specified by: A set of registers The microoperations performed on the data stored in the registers A control interface 4

Guiding principles for basic datapaths: The set of registers Collection of individual registers A set of registers with common access resources called a register file A combination of the above Microoperation implementation One or more shared resources for implementing microoperations Buses - shared transfer paths Arithmetic-Logic Unit (ALU) - shared resource for implementing arithmetic and logic microoperations Shifter - shared resource for implementing shift microoperations 5

6 Processor registers & ALU connected through common buses

Registers in a processor unit can be enclosed within a small memory unit A small memory when included in a processor unit is scratchpad memory 7

8

It is a multi operation, combinational logic digital function Perform a set of basic arithmetic operations and a set of logic operations Next slide shows the block diagram of a 4 bit ALU 9

10

Basic component of the arithmetic section of an ALU is a parallel adder Parallel adder is constructed with a number of full adder circuits connected in cascade 11

12

13

14

15

A status register or flag register (also: condition code register, program status word, PSW, etc.) is a collection of flag bits for a processor 16

17

18 FlagNameDescription ZZero flag Indicates that the result of a arithmetic or logical operation (or, sometimes, a load) was zero. CCarry flag Enables numbers larger than a single word to be added/subtracted by carrying a binary digit from a less significant word to the least significant bit of a more significant word as needed. It is also used to extend bit shifts and rotates in a similar manner on many processors (sometimes done via a dedicated X flag). S / N Sign flag / Negative flag Indicates that the result of a mathematical operation is negative. In some processors, the N and S flags are distinct with different meanings and usage: One indicates whether the last result was negative whereas the other indicates whether a subtraction or addition has taken place. V / O / W Overflow flag Indicates that the signed result of an operation is too large to fit in the register width using twos complement representation. PParity flag Indicates whether the number of set bits of the last result is odd or even.

19

20 Register A Combinational circuit Data inputs B Control variables

21

22

Design process is divided into six phases decomposition of the digital computer into registers which specify the general configuration of the system spec. of computer instructions formulation of a timing and control network listing of register-transfer operations needed to execute all computer instructions design of the processor section design of the control section 23

Memory address (MAR) & Buffer Registers Used to address specific memory locations It is loaded from PC Program counter (PC) Hold the address of the next instruction to be read from memory Accumulator Register (A) Processor register that operates on data previously stored in memory Instruction Register (IR) Holds the operation code bits of the current instruction 24

Sequence Register This produces the timing signals for the computer E, F and S Flip flops Each FF is a one bit register E FF is an extension of A register(shifting) F FF distinguishes fetch and execute cycles S FF – start(1) /stop(0) Input and Output Registers KB or a printer 25

26

27

The numerical representation of instructions, combined with coding rules and conventions is called an instruction format. Opcodes: numerical codes for control operations Operands: numerical codes for data objects or their addresses. Opcodes are few (10-100) Few bits sufficient. Best if format/length/positions of opcodes fixed in instruction format. Operand addresses could be as much as 2^32. Need registers and addressing modes to make it compact 28

29

30 AND to A ADD to A STORE in A Increment and skip if Zero(ISZ) Branch Unconditionally(BUN) Branch to Subroutine(BSB)

31

32

Charles H. Roth- Jr., Fundamentals of logic design, Thomson Asia,5th edition-2004 (CH1,CH2,CH3,CH4,CH5,CH6,CH7,CH9,CH11, CH12) M. Morris Mano, Digital Logic and Computer Design, Prentice Hall of India Floyd, Digital Fundamentals, Universal Book Stall, 3rd Edition,1986 Morris Mano, Digital Design, Prentice Hall of India, 2nd Edition 1991 Bigell & Donovan, Digital Electronics, Thomson Asia Pvt. Ltd., 4th Edition 8/22/2011 School of Computing, Department of IT 33

1. What is the purpose of ALU? 2. Draw the logic diagram of logic circuit. 3. What are condition code bits? 4. What is the purpose of MBR? 5. What is the purpose of Program Counter? 6. What is the purpose of Sequence Register? 7. What is the purpose of Instruction Register? 8/22/2011 School of Computing, Department of IT 34

8. What are all the types of computer instructions? 9. Give any two memory reference instructions. 10. Give any two register reference instructions. 11. Give any two input output instructions 12. What is the purpose of BUN and BSB instructions? 13. What is the purpose of CLA? 14. What is the purpose of MAR? 8/22/2011 School of Computing, Department of IT 35