C.S. Choy95 COMPUTER ORGANIZATION Logic Design Skill to design digital components JAVA Language Skill to program a computer Computer Organization Skill.

Slides:



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

Computer Architecture
MEMORY popo.
Processor System Architecture
MICRO PROCESSER The micro processer is a multipurpose programmable, clock driven, register based, electronic integrated device that has computing and decision.
ENGIN112 L30: Random Access Memory November 14, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 30 Random Access Memory (RAM)
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Overview Memory definitions Random Access Memory (RAM)
©Brooks/Cole, 2003 Chapter 5 Computer Organization.
CSCE 121, Sec 200, 507, 508 Fall 2010 Prof. Jennifer L. Welch.
Introduction to Microprocessors Number Systems and Conversions No /6/00 Chapter 1: Introduction to 68HC11 The 68HC11 Microcontroller.
The CPU - Outline. Components of CPU Englander p
University College Cork IRELAND Hardware Concepts An understanding of computer hardware is a vital prerequisite for the study of operating systems.
The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
Chapter 4 Processor Technology and Architecture. Chapter goals Describe CPU instruction and execution cycles Explain how primitive CPU instructions are.
CS 151 Digital Systems Design Lecture 30 Random Access Memory (RAM)
Computer Organization Prepared by:Anh Q. Vu Course:CS-147 Professor:Sin-Min Lee Date:Summer
The central processing unit and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
I/O Subsystem Organization and Interfacing Cs 147 Peter Nguyen
COMPUTER MEMORY Modern computers use semiconductor memory It is made up of thousands of circuits (paths) for electrical currents on a single silicon chip.
Basic Computer Organization CH-4 Richard Gomez 6/14/01 Computer Science Quote: John Von Neumann If people do not believe that mathematics is simple, it.
 Prof. Dr. M. H. Assal Introduction to Computer AS 26/10/2014.
5.1 Chaper 4 Central Processing Unit Foundations of Computer Science  Cengage Learning.
Computer Organization
Higher Computing Computer Systems S. McCrossan 1 Higher Grade Computing Studies 2. Computer Structure Computer Structure The traditional diagram of a computer...
CPU MEMORY Powered by DeSiaMore1. CPU Its manage everything held in memory so that the machine keeps track of what is stored, where it is and what type.
Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.
Computers Central Processor Unit. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS Memory.
Introduction to Computing: Lecture 4
Understanding Computers, Ch.31 Chapter 3 The System Unit: Processing and Memory.
CPU Computer Hardware Organization (How does the computer look from inside?) Register file ALU PC System bus Memory bus Main memory Bus interface I/O bridge.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Computer Systems Organization CS 1428 Foundations of Computer Science.
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
The Central Processing Unit: What Goes on Inside the Computer
Components of a Computer Prepared by: Mrs. McCallum-Rodney.
1Copyright © Prentice Hall 2000 The Central Processing Unit Chapter 3 What Goes on Inside the Computer.
CIM101 : Introduction to computer Lecture 3 Memory.
Computer Architecture And Organization UNIT-II Structured Organization.
General Concepts of Computer Organization Overview of Microcomputer.
CHAPTER 4 The Central Processing Unit. Chapter Overview Microprocessors Replacing and Upgrading a CPU.
SKILL AREA: 1.2 MAIN ELEMENTS OF A PERSONAL COMPUTER.
Memory Cell Operation.
Computer Organization & Assembly Language © by DR. M. Amer.
Input-Output Organization
INTRODUCTION.  Upon completing this topic, you should be able to: Illustrate a basic elements of digital computer system and their functions, Depicts.
Computer Organization. The digital computer is a digital system that performs various computational tasks Digital computer use binary number system which.
Electronic Analog Computer Dr. Amin Danial Asham by.
Computer and Information Sciences College / Computer Science Department CS 206 D Computer Organization and Assembly Language.
COMPURT ORGANAZTION CHAPTER 5. Computer Organization We can divide the parts that make up a computer into 3 subsystems : 1. Central processing unit (CPU).
THE MICROPROCESSOR A microprocessor is a single chip of silicon that performs all of the essential functions of a computer central processor unit (CPU)
Overview von Neumann Architecture Computer component Computer function
Computer operation is of how the different parts of a computer system work together to perform a task.
Simple ALU How to perform this C language integer operation in the computer C=A+B; ? The arithmetic/logic unit (ALU) of a processor performs integer arithmetic.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
Chapter 11 System Performance Enhancement. Basic Operation of a Computer l Program is loaded into memory l Instruction is fetched from memory l Operands.
CS 1410 Intro to Computer Tecnology Computer Hardware1.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
CH (5) Computer Organization
Chapter 2 content Basic organization of computer What is motherboard
Edexcel GCSE Computer Science Topic 15 - The Processor (CPU)
The Central Processing Unit
Memory Units Memories store data in units from one to eight bits. The most common unit is the byte, which by definition is 8 bits. Computer memories are.
Computer Organization
Subject Name: Embedded system Design Subject Code: 10EC74
Morgan Kaufmann Publishers Computer Organization and Assembly Language
Chapter 5: Computer Systems Organization
Chapter 4 Introduction to Computer Organization
Chapter 5 Computer Organization
Presentation transcript:

C.S. Choy95 COMPUTER ORGANIZATION Logic Design Skill to design digital components JAVA Language Skill to program a computer Computer Organization Skill to build a computer

C.S. Choy96 PROGRAMMING The interface to make a computer to perform a task. The part of the computer that actually executes the “program” is the microprocessor or central processing unit, CPU. CPU is a digital component that execute instructions.

C.S. Choy97 TYPES OF INSTRUCTIONS Data Transfer Instructions Move data from one place to another including REGISTERS MEMORIES I/O DEVICES Data Operation Instructions Perform operations using one or two data and store the result. Operations include ARITHMETIC LOGIC SHIFT (one data) Program Control Instructions Change the sequence of operations (consecutive instruction flow) conditionally or non-conditionally Others INTERRUPT HALT

C.S. Choy98 INSTRUCTION CODES A binary pattern in a specific format. Example of a microprocessor which has a simple instruction set.

C.S. Choy99 LEVELS OF PROGRAMMING LANGUAGES High-level – platform independent C++ JAVA FORTRAN Assembly Language – microprocessor dependent Instruction mnemonics representing individual instruction codes Machine Language – microprocessor dependent Actual instruction codes

C.S. Choy100 COMPILING AND ASSEMBLING

C.S. Choy101 JAVA COMPILATION PROCESS

C.S. Choy102 HISTORY OF COMPUTER DEVELOPMENT ABACUS, Difference Machine (mechanical) UNIVAC ENIAC (electronic numerical integrator and computer) 1946 MICROPROCESSOR 1971 MAINFRAME WORKSTATION DESKTOP 1980s (IBM PC) INTEL and MICROSOFT SUPER-COMPUTER (multi-processors)

source: Modern MediaC.S. Choy103 A PC

C.S. Choy104 GENERIC COMPUTER ORGANIZATION

C.S. Choy105 Address Bus Specify a memory location for access by CPU Data Bus Data channel between CPU and other components Control Bus A collection of individual control signals e.g. a signal to indicate whether a data is to be read into or written out of CPU A system may have a hierarchy of buses. For example, it may use its address, data, and control buses to access memory, and an I/O controller. The I/O controller, in turn, may access all I/O devices using a second bus, often called an I/O bus or a local bus. e.g. PCI bus SYSTEM BUSES

C.S. Choy106 The procedure a microprocessor goes through to process an instruction. FETCH DECODE EXECUTE e.g. Fetch / Memory Read Operation Memory Mapped I/O – CPU accesses an I/O device as a memory Isolated I/O – CPU has a separate control signal to indicate an I/O read/write INSTRUCTION CYCLE

C.S. Choy107 Register Section Register directly accessible by programs – registers to store operands Register not directly accessible by programs – program counter instruction register Control Unit The digital circuit that dictates the action sequence of CPU Sequential circuit – finite state machine Combinational circuit – instruction decoder Arithmetic/Logic Unit Perform the arithmetic and logic operations CPU INTERNAL ORGANIZATION

C.S. Choy108 TYPES OF MEMORY Read Only Memory, ROM Data can only be read and will not be changed even power is off Masked ROM Programmable ROM, PROM Erasable PROM, EPROM Electrically Erasable PROM, E 2 PROM Flash E 2 PROM – electrically erasable in blocks of data Random Access Memory, RAM Used to store data that changes. As long as power is on, data is kept Dynamic RAM, DRAM – require refresh, slower Static RAM, SRAM – no refresh, faster

C.S. Choy109 Linear e.g. 8x2 Two-Dimensional e.g. 8x2 MEMORY ORGANIATION Simpler decoders are used instead. For a symmetrical two-dimensional array, Two n/2 to 2 n/2 decoders O(2 1+n/2 ) e.g. 4K x 1 ROM 2D requires 3% of Linear N to 2 n decoder O(2 n )

C.S. Choy110 Wider Word Length Larger Memory Size high-order interleavinglow-order interleaving MEMORY SUBSYSTEM CONFIGURATION

C.S. Choy111 CONTROL LOGIC FOR MEMORY CHIP e.g. 8x4 memory subsystem constructed from two 8x2 memory chips in a 6-bit address bus

C.S. Choy112 MULTIBYTE DATA ORGANIZATION Many data formats are longer than one data word/byte (bit- length of the data bus) so require more than one memory location for storage. It is necessary to define the order of the data in these locations Big EndianLittle Endian

C.S. Choy113 OTHER MEMORY SUBSYSTEMS Cache Memory Cache memory can be accessed much faster than normal memory chip, and is usually integrated inside a processor chip Virtual Memory A permanent storage device (harddisk) is used as a part of the computer’s memory, expanding the memory space of the computer while minimizing cost

C.S. Choy114 CPU accesses I/O devices as memories. However, I/O devices can be vastly different in speed and behavior, so an interface circuit is required Generic Interface for an Input Device Enable Logic I/O SUBSYSTEM ORGANIZATION

C.S. Choy115 I/O SUBSYSTEM ORGANIZATION Generic Interface for an Output Device Enable Logic I/O Device

C.S. Choy116 I/O devices are usually much slower than CPU. For this reason, they can have timing problem when interfacing with CPU. To solve this problem, most CPUs have a control input signal called READY. The CPU goes into WAIT state when READY is asserted. An alternative is to use INTERRUPT. An interrupt will direct the attention of the CPU to a self-contained program (interrupt service routine) and return the CPU to its main program after completion. There are situations where a large amount of data are to be channeled between I/O devices and memory. It will tie up CPU too much if the transfer has to go through CPU. Direct Memory Access, DMA, is a method used to by-pass CPU in these transfers. I/O SUBSYSTEM ORGANIZATION

C.S. Choy117