Computer Organization Prepared by:Anh Q. Vu Course:CS-147 Professor:Sin-Min Lee Date:Summer - 2001.

Slides:



Advertisements
Similar presentations
Computer Organization and Architecture
Advertisements

D75P 34 – HNC Computer Architecture Week 10 Computer Memory. © C Nyssen/Aberdeen College 2003 All images © C Nyssen/Aberdeen College except where stated.
These slides incorporate figures from Digital Design Principles and Practices, third edition, by John F. Wakerly, Copyright 2000, and are used by permission.
1 DIGITAL DESIGN I DR. M. MAROUF MEMORY Read-only memories Static read/write memories Dynamic read/write memories Author: John Wakerly (CHAPTER 10.1 to.
Department of Computer Engineering
What is memory? Memory is used to store information within a computer, either programs or data. Programs and data cannot be used directly from a disk or.
Registers –Flip-flops are available in a variety of configurations. A simple one with two independent D flip-flops with clear and preset signals is illustrated.
Registers  Flip-flops are available in a variety of configurations. A simple one with two independent D flip-flops with clear and preset signals is illustrated.
Computer Organization and Architecture
I/O Subsystem Organization and Interfacing Cs 147 Peter Nguyen
IT Systems Memory EN230-1 Justin Champion C208 –
1 EE365 Read-only memories Static read/write memories Dynamic read/write memories.
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.
5.1 Chaper 4 Central Processing Unit Foundations of Computer Science  Cengage Learning.
Memory. When we receive some instruction or information we retain them in our memory. Similarly a computer stores the instructions for solving a problem,
1 The 8051 Microcontroller and Embedded Systems CHAPTER INTERFACING TO EXTERNAL MEMORY.
Khaled A. Al-Utaibi Memory Devices Khaled A. Al-Utaibi
Processing Devices.
C.S. Choy95 COMPUTER ORGANIZATION Logic Design Skill to design digital components JAVA Language Skill to program a computer Computer Organization Skill.
Memory Hierarchy.
Chapter 3 Computer Hard ware
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.
E0001 Computers in Engineering1 The System Unit & Memory.
Introduction to Computing: Lecture 4
Computer architecture Microprocessor based computers.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Components of a Computer Prepared by: Mrs. McCallum-Rodney.
© Banff and Buchan College 2007 DH2T 34 Computer Architecture 1 LO2 Lesson One Memory.
HARDWARE ARCHITECTURE
Chapter 8 Memory Interface
Structure of a computer system
Memory Interface A Course in Microprocessor Electrical Engineering Dept. University of Indonesia.
Computer Organization - 1. INPUT PROCESS OUTPUT List different input devices Compare the use of voice recognition as opposed to the entry of data via.
Chapter 6: Internal Memory Computer Architecture Chapter 6 : Internal Memory Memory Processor Input/Output.
Chapter 5 Computing Components. 5-2 Chapter Goals List the components and their function in a von Neumann machine Describe the fetch-decode-execute cycle.
SKILL AREA: 1.2 MAIN ELEMENTS OF A PERSONAL COMPUTER.
Memory and Register. Memory terminology read/write operation volotile/non volatile determine the capacity from input and output timing requirements of.
Primary Storage Primary storage is the storage that is directly available to the CPU. It is also known as: Main Memory Main Memory Direct Access Storage.
Electronic Analog Computer Dr. Amin Danial Asham by.
Overview von Neumann Architecture Computer component Computer function
The Computer System.
Computer operation is of how the different parts of a computer system work together to perform a task.
Chapter 2.
Overview of microcomputer structure and operation
Computer Architecture Chapter (5): Internal Memory
AHMEDABAD INSTITUTE OF TECHNOLOGY
PCs ENVIRONMENT and PERIPHERALS Lecture 3. operating system and other system software that control the usage of the computer equipment application programs.
Index What is an Interface Pins of 8085 used in Interfacing Memory – Microprocessor Interface I/O – Microprocessor Interface Basic RAM Cells Stack Memory.
Chapter 2 content Basic organization of computer What is motherboard
CPU Lesson 2.
Systems Architecture Keywords Fetch Execute Cycle
Computer Components ICS 3U0.
Tech Level Cyber Security
Internal Memory.
Memory Main memory consists of a number of storage locations, each of which is identified by a unique address The ability of the CPU to identify each location.
Memory Main memory consists of a number of storage locations, each of which is identified by a unique address The ability of the CPU to identify each location.
Chapter 7.2 Computer Architecture
Module IV Memory Organization.
introduction to computer
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.
Electronics Technology
Microprocessor & Assembly Language
Module IV Memory Organization.
Computer Memory BY- Dinesh Lohiya.
Introduction to Computing Chapter 0
MICROPROCESSOR MEMORY ORGANIZATION
Chapter 4: MEMORY.
Chapter 5 Computer Organization
Presentation transcript:

Computer Organization Prepared by:Anh Q. Vu Course:CS-147 Professor:Sin-Min Lee Date:Summer

Computer Organization Contents (Text Book: page 142 – 158) 1.Overview 2.Computer Organization 3.Definitions - Buses 4.Computer Organization Diagram 5.CPU organization Diagram 6.Memory 7.Memory Chip Organization 8.The Instruction Cycle 9.Supporting Diagrams (25 minutes)

Computer Organization “Overview” The Intel Microprocessor Evolution MicroprocessorYear introduced# of Transistors , , , , million Pentium million Pentium Pro million Pentium III million Pentium million

Computer Organization

A computer is organized into 3 internal parts: 1.CPU 2.Memory 3.I/O (Input/Output)

Computer Organization 1.CPU –It is the Central Processing Unit of the computer. –Its function is to execute or process the information stored in memory. –The CPU is connected to memory and I/O through strips of wire called bus.

Computer Organization 2.Memory –Memory is the big store house of data located within the main computer outside of the Microprocessor.

Computer Organization 3.I/O (Input/Output) –Input devices provide signals to the CPU. »Keyboard, Sensors, Switches, etc. –Output devices take signals from the CPU and perform required actions. »Printers, Monitor, Lights, etc.

Computer Organization BUS Bus –Bus is a set of wires that connects the CPU to memory and I/O –It carries information from place to place just as a street bus carries people from place to place. –There are 3 types of bus »Address bus »Data bus »Control bus

Computer Organization BUS cont. a)Address bus –Address bus is the set of wires that carries addresses of memory or I/O only. –For a memory or I/O to be recognized by the CPU it must be assigned an address. –The assigned address must be unique; no two devices are allowed to have the same address. –The CPU puts the address on the address bus, and the decoding circuitry finds the device.

Computer Organization BUS cont. b)Data bus –Data bus is a set of wires that carries data only. –After finding the device through the address bus, the CPU uses the data bus either to get data or to send data to the device.

Computer Organization BUS cont. c)Control bus –Control bus is a set of wires that carries control signals only. –The control buses are used to provide read or write signals to the device to indicate if the CPU is asking or sending information.

Computer Organization Diagram CPU RAMROMDiskKeyboard Read/Write Data bus Address bus Control bus Printer/ Monitor

CPU Internal Organization Diagram Control Unit ALU Program Counter Instruction Register REGISTERS Register A Register B Register C Etc. Address busControl bus signalsData bus Control signals Data Values Data values (operands) Data values (results)

MEMORY

Memory Types of Memory Chips 1.ROM Read Only Memory, Not able to write to it. Non Volatile; Retains data when power is turned-off 2.RAM Random Access Memory, able to read and write to it.

Memory Types of ROM Chips MROM (Masked Read Only Memory) –Set by manufacturer and cannot be changed –Mostly used on consumer appliances where large quantities are produced. PROM (Programmable Read Only Memory) –Programmable but only once –Programmed by blowing internal fuses –Mostly used for prototypes

Memory Types of ROM Chips cont. EPROM (Erasable & Programmable ROM) »Totally erasable by exposing it to ultra violet light for over 20 minutes. »Programmable outside the circuit. EEPROM (Electrically Erasable & Programmable ROM) »Electrically erasable. »Able to erase a portion of the memory. »Can be re programmed while in circuit. »Mostly used for computer BIOS FLASH Memory »Electrically erased, but it erases the entire memory.

Memory Types of RAM Chips DRAM (Dynamic Random Access Memory) »Widely used as main computer memory SRAM (Static Random Access Memory) »Faster than DRAM »More expensive than DRAM »Mostly used in Cache memory NVRAM (Non Volatile Random Access Memory) »Does not lose data in memory when turned off. »Contains an internal Lithium battery to retain power

Memory Chip Organization The internal organization of ROM and RAM chips are similar. There are two organizations 1.Linear Organization 2.Two-Dimensional organization

Memory Chip Organization Linear Organization »It is a simpler form of organization »Used if few number of memory locations are needed

Memory Chip Internal Linear Organization of an 8 x 2 ROM chip 3 to 8 Decoder A2A2 A1A1 A0A0 E CE OE D1D1 D0D A2A1A0 Loc#

Memory Chip Organization Two-dimensional Organization »Used to manage a large number of memory locations »Allows large memory locations using fewer chips

Memory Chip Internal two-dimensional Organization of an 8 x 2 ROM chip 2 to 4 Decoder A2A2 A1A1 A0A0 E CE OE D1D1 D0D0 1 to 2 Decoder 0 1 E

Instruction Cycle

The Instruction Cycle 1.The Fetch cycle Fetch an instruction from memory, then go to the decode cycle 2.The Decode cycle Decode the instruction – determine which instruction has been fetched –go to execute cycle for that instruction. 3.The execute cycle Execute the instruction, then go to fetch cycle and fetch the next instruction.

The Instruction Cycle The Fetch cycle »The CPU puts an address of instruction on the address bus. »The memory decodes the address to access the desired memory location. »The CPU allows sufficient time for the memory to decode the address and sends a READ control signal. »The READ signal is a signal on the Control bus which the CPU sends when it’s ready to read data from memory or I/O device. »When the READ signal is asserted, the memory puts the instruction code to be fetched on to the data bus. »The CPU inputs the data and stores it in one of its internal registers. »The fetch cycle is completed.

The Instruction Cycle The Decode cycle »The CPU decodes the instruction. »Each instruction may require a different sequence of operations to execute the instruction. »The CPU determines which instruction it is in order to select the correct sequence of operation to perform. »This is done entirely within the CPU, it does not use the system buses.

The Instruction Cycle The Execute cycle »The CPU executes the instruction. »The execution may be: 1.Read/write data to/from memory. 2.Read/Write data to/from an I/O device. 3.Perform only operations within the CPU. 4.Perform some combination of the above.

Sample Diagrams

Fetch, Decode & Execute Cycles 2+3=5 operation

The End Thanks!!