Shortcomings of The Simple CPUs

Slides:



Advertisements
Similar presentations
The CPU The Central Presentation Unit What is the CPU?
Advertisements

Introduction to Computers Section 4A. home Decimal Number System Called base 10 because 10 symbols are available.
Processor System Architecture
Tuan Tran. What is CISC? CISC stands for Complex Instruction Set Computer. CISC are chips that are easy to program and which make efficient use of memory.
Microprocessors. Microprocessor Buses Address Bus Address Bus One way street over which microprocessor sends an address code to memory or other external.
Computer Architecture and Data Manipulation Chapter 3.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Computer Science: An Overview Tenth Edition by J. Glenn Brookshear Chapter.
1 The System Unit Lecture 2 CSCI 1405 Introduction to Computer Science Fall 2006.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Chapter XI Reduced Instruction Set Computing (RISC) CS 147 Li-Chuan Fang.
Computer System Overview
Chapter 4 Processor Technology and Architecture. Chapter goals Describe CPU instruction and execution cycles Explain how primitive CPU instructions are.
Midterm Tuesday October 23 Covers Chapters 3 through 6 - Buses, Clocks, Timing, Edge Triggering, Level Triggering - Cache Memory Systems - Internal Memory.
State Machines Timing Computer Bus Computer Performance Instruction Set Architectures RISC / CISC Machines.
11/11/05ELEC CISC (Complex Instruction Set Computer) Veeraraghavan Ramamurthy ELEC 6200 Computer Architecture and Design Fall 2005.
I/O Subsystem Organization and Interfacing Cs 147 Peter Nguyen
Computer System Overview Chapter 1. Basic computer structure CPU Memory memory bus I/O bus diskNet interface.
GCSE Computing - The CPU
1 Chapter 4 The Central Processing Unit and Memory.
5.1 Chaper 4 Central Processing Unit Foundations of Computer Science  Cengage Learning.
What’s on the Motherboard? The two main parts of the CPU are the control unit and the arithmetic logic unit. The control unit retrieves instructions from.
1 Computer System Overview Chapter 1 Review of basic hardware concepts.
Computers Central Processor Unit. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS Memory.
Processors Menu  INTEL Core™ i Processor INTEL Core™ i Processor  INTEL Core i Processor INTEL Core i Processor  AMD A K.
1 CSC 2405: Computer Systems II Spring 2012 Dr. Tom Way.
Computer performance.
Computer Organization & Assembly Language
C.S. Choy95 COMPUTER ORGANIZATION Logic Design Skill to design digital components JAVA Language Skill to program a computer Computer Organization Skill.
Processor Structure & Operations of an Accumulator Machine
Computer Processing of Data
4 Linking the Components. © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.1 This chapter focuses on how the hardware layer components are.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
What have mr aldred’s dirty clothes got to do with the cpu
Operating Systems Lecture No. 2. Basic Elements  At a top level, a computer consists of a processor, memory and I/ O Components.  These components are.
Section one revision:1. Computer Systems To be able to Identify and describe computer systems To demonstrate an understanding of the Central Processing.
The Central Processing Unit (CPU) and the Machine Cycle.
General Concepts of Computer Organization Overview of Microcomputer.
CHAPTER 4 The Central Processing Unit. Chapter Overview Microprocessors Replacing and Upgrading a CPU.
Computer Organization & Assembly Language © by DR. M. Amer.
Input-Output Organization
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Structure & Architecture 7b - CPU & Buses.
Chapter Overview Microprocessors Replacing and Upgrading a CPU.
Stored Programs In today’s lesson, we will look at: what we mean by a stored program computer how computers store and run programs what we mean by the.
CS 1308 Computer Literacy and the Internet. Objectives In this chapter, you will learn about:  The components of a computer system  Putting all the.
Computer and Information Sciences College / Computer Science Department CS 206 D Computer Organization and Assembly Language.
System Hardware FPU – Floating Point Unit –Handles floating point and extended integer calculations 8284/82C284 Clock Generator (clock) –Synchronizes the.
MICROPROCESSOR DETAILS 1 Updated April 2011 ©Paul R. Godin prgodin gmail.com.
RISC / CISC Architecture by Derek Ng. Overview CISC Architecture RISC Architecture  Pipelining RISC vs CISC.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
CPUz 4 n00bz.
Overview of microcomputer structure and operation
Chapter 11 System Performance Enhancement. Basic Operation of a Computer l Program is loaded into memory l Instruction is fetched from memory l Operands.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
BASIC COMPUTER ARCHITECTURE HOW COMPUTER SYSTEMS WORK.
Software Design and Development Computer Architecture Computing Science.
Chapter Overview General Concepts IA-32 Processor Architecture
GCSE Computing - The CPU
Introduction to microprocessor (Continued) Unit 1 Lecture 2
Assembly Language for Intel-Based Computers, 5th Edition
Introduction of microprocessor
Microcomputer Architecture
Computer Architecture 2
Number Representations and Basic Processor Architecture
Microprocessor & Assembly Language
Morgan Kaufmann Publishers Computer Organization and Assembly Language
GCSE Computing - The CPU
Presentation transcript:

Shortcomings of The Simple CPUs Chapter 6.4 - 6.6 Yok Fai Ho

Shortcomings of The Simple CPUs In this section of the chapter, it go into more detail on how to design a faster and more efficient CPU.

Main Points More Internal Registers And Cache. Multiple Buses Within The CPU. Pipelined Instruction Processing. Larger Instruction Sets. Subroutines And Interrupts. Internal Architecture of The Intel 8085 Microprocessor.

More Internal registers And Cache Enable to build a faster CPU, one of the best ways to improve the performance of a microprocessor is to incorporate more storage within the CPU. Adding registers and cache makes it possible to replace some external memory accesses with much faster internal accesses. CPU Registers Cache RAM

More Internal registers And Cache In most of our home PC, there are 256K-512K of cache in the CPUs. Some early model only have 16K of cache. Because the register and cache are more expensive than RAM. So many computer turn to RAM as their main memory storage. But at the same time the speed decrease.

More Internal registers And Cache Sun Microsystems. It has 1 MB of cache. Some even go up to 4 MB of cache

Multiple Buses Within the CPU Buses are efficient media for routing data between components within a CPU. However, a bus may only contain one value at any given time. Because of that, most CPUs contain multiple buses for multiple data transfers. That reduces the time needed to fetch, decode, and execute instructions, thus improving system performance.

Diagram of Simple CPU using multiple buses

Pipelined instruction processing In pipelining, instructions are processed like goods on an assembly line. While one instructions is being decoded, the next instruction is fetched, and while the first instruction is being executed, the second is decoded and a third instruction is fetched. This allows programs to be executed more quickly, even though each individual instruction requires the same amount of time.

Pipelined instruction processing washer dryer closet first washer dryer closet second washer dryer closet third Step 1 Step 2 Step 3 Step 4 Step 5

Larger Instruction Sets Having a larger number of instructions in a processor’s instruction set generally allows a program to perform a function using fewer instructions.

Larger Instruction Sets Consider a CPU have a small instruction sets can only have AND. (A’ * B’)’ = (A + B) Complement A Complement B AND A and B Complement the result OR A and B

Subroutines and Interrupts Almost all CPUs have hardware to handle subroutines, typically a stack pointer, and instructions to call and return from the subroutine. Most CPUs also have interrupt inputs to allow external hardware(like mouse, keyboard …) to interrupt the current operations of the CPU. That is useful, if you know the program is a infinite loop and want to exit the program.

Internal organization of the 8085 microprocessor

Summary To design a CPU, we first develop its instruction set architecture,including its instruction set and its internal registers. We then create a finite state machine model of the micro-operations needed to fetch, decode, and execute every instruction in its instruction set. Then we develop an RTL specification for this state machine.

References Carpinelli, D. John. Computer System Organization and Architecture. Addison-Wesley, 2001. Http://www.awl.com/carpinelli