Digital Design and Computer Architecture 60-265 Dr. Robert D. Kent LT 5100 519-253-3000 Ext. 2993 Lecture 1 Introduction.

Slides:



Advertisements
Similar presentations
May 14, 2003Serguei A. Mokhov, 1 Von Neumann Model Cond. Assembly Intro COMP5201 Revision: 1.2 Date: June 18, 2003.
Advertisements

Computer Architecture
CPU Review and Programming Models CT101 – Computing Systems.
EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
MICRO PROCESSER The micro processer is a multipurpose programmable, clock driven, register based, electronic integrated device that has computing and decision.
Khaled A. Al-Utaibi  Computers are Every Where  What is Computer Engineering?  Design Levels  Computer Engineering Fields  What.
1.21 Introduction to microprocessors KUEU 2135 / KBEB 2193 Mikropemproses dan Sistemnya.
Computer Organization. This module surveys the physical resources of a computer system. –Basic components CPUMemoryBus I/O devices –CPU structure Registers.
Microprocessor and Microcontroller Based Systems Instructor: Eng.Moayed N. EL Mobaied The Islamic University of Gaza Faculty of Engineering Electrical.
Room: E-3-31 Phone: Dr Masri Ayob TK 2123 COMPUTER ORGANISATION & ARCHITECTURE Lecture 5: CPU and Memory.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Midterm Wednesday Chapter 1-3: Number /character representation and conversion Number arithmetic Combinational logic elements and design (DeMorgan’s Law)
Chapter 4 Processor Technology and Architecture. Chapter goals Describe CPU instruction and execution cycles Explain how primitive CPU instructions are.
Overview The von Neumann Machine - the programmable digital computer Introducing the LC-3 Computer - A “toy” computer for us to learn from Computer machine.
Computer Organization and Assembly language
Overview von Neumann Model Components of a Computer Some Computer Organization Models The Computer Bus An Example Organization: The LC-3.
Processor Structure & Operations of an Accumulator Machine
The Structure of the CPU
Computer Organization Computer Organization & Assembly Language: Module 2.
An Introduction Chapter Chapter 1 Introduction2 Computer Systems  Programmable machines  Hardware + Software (program) HardwareProgram.
An Interactive Web-Based Simulation of a General Computer Architecture
Quiz # 2 Chapters 4, 5, & 6.
Invitation to Computer Science 5th Edition
CS 1308 Computer Literacy and the Internet Computer Systems Organization.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Computer Systems Organization CS 1428 Foundations of Computer Science.
Microprocessor Dr. Rabie A. Ramadan Al-Azhar University Lecture 2.
Introduction to Computing Systems from bits & gates to C & beyond The Von Neumann Model Basic components Instruction processing.
Advanced Computer Architecture 0 Lecture # 1 Introduction by Husnain Sherazi.
The variety Of Processors And Computational Engines CS – 355 Chapter- 4 `
CPU How It Works. 2 Generic Block Diagram CPU MemoryInputOutput Address Bus Data Bus.
General Concepts of Computer Organization Overview of Microcomputer.
Computer Architecture And Organization UNIT-II General System Architecture.
Computer Engineering Rabie A. Ramadan Lecture 1. 2 Welcome Back.
Lecture 14 Today’s topics MARIE Architecture Registers Buses
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
Indira Gandhi National Open University presents. A Video Lecture Course: Computer Platforms.
Introduction to Microprocessors
Computer Architecture 2 nd year (computer and Information Sc.)
CS 1308 Computer Literacy and the Internet. Objectives In this chapter, you will learn about:  The components of a computer system  Putting all the.
Stored Program A stored-program digital computer is one that keeps its programmed instructions, as well as its data, in read-write,
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Control Unit.
C HAPTER 4 OS: C OMPUTER O RGANIZATION TOPICS: The Von Neumann Architecture The CPU.
Question What technology differentiates the different stages a computer had gone through from generation 1 to present?
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 3 Computing System Fundamentals 3.2 Computer Architecture.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Control Unit.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
Logic Gates Dr.Ahmed Bayoumi Dr.Shady Elmashad. Objectives  Identify the basic gates and describe the behavior of each  Combine basic gates into circuits.
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 251 Introduction to Computer Organization.
Computer Organization and Architecture Lecture 1 : Introduction
Computers’ Basic Organization
Dr.Ahmed Bayoumi Dr.Shady Elmashad
Basic Computer Organization and Design
Control Unit Lecture 6.
Edexcel GCSE Computer Science Topic 15 - The Processor (CPU)
Computer Design & Organization
Microprocessor and Assembly Language
Computer Architecture
T Computer Architecture, Autumn 2005
Chapter 5: Computer Systems Organization
The Von Neumann Architecture Odds and Ends
The Von Neumann Architecture
Introduction to Microprocessor Programming
A Top-Level View Of Computer Function And Interconnection
Information Representation: Machine Instructions
Objectives Describe common CPU components and their function: ALU Arithmetic Logic Unit), CU (Control Unit), Cache Explain the function of the CPU as.
Computer Operation 6/22/2019.
Chapter 4 The Von Neumann Model
Presentation transcript:

Digital Design and Computer Architecture Dr. Robert D. Kent LT Ext Lecture 1 Introduction

Preliminary Remark Review Course Outline (posted on website)

Course Syllabus This course presents a variety of topics on the design and use of modern digital computers, including: –Digital representations, Digital (Boolean) Logic –Modular design concepts in digital circuits Combinational circuits Sequential circuits. –Instruction architecture, cycle, timing logic –Memory, CPU and Bus Organization. –Assemblers, assembly language The detailed schedule and topics covered may be adjusted at the discretion of the instructor –Students will be advised in advance of lecture topics and assigned reading.

Digital Design and Computer Architecture Von Neumann Architecture –The 5 component design model The Instruction Cycle –Basic –Exceptions Instruction architecture –software design –hardware circuits

Digital Design & Computer Architecture Dr. Robert D. Kent Lecture 1 Von Neuman Architecture

Review Agenda Von Neumann Architecture –5 component design of the stored program digital computer –the instruction cycle Basic Exceptions –instruction architecture software design hardware circuits Digital Design –Boolean logic and gates –Basic Combinational Circuits –Karnaugh maps –Advanced Combinational Circuits –Sequential Circuits

von Neumann Architecture Principles –Data and instructions are both stored in the main memory(stored program concept) –The content of the memory is addressable by location (without regard to what is stored in that location) –Instructions are executed sequentially unless the order is explicitly modified –The basic architecture of the computer consists of: Computer Main Memory CPU Control Data Bus

von Neumann Architecture A more complete view of the computer system architecture that integrates interaction (human or otherwise) consists of: Computer Main Memory CPU Control Data Input Device Output Device Secondary Storage Device Computer System Bus Five Main Components: 1. CPU 2. Main Memory (RAM) 3. I/O Devices 4. Mass Storage 5. Interconnection network (Bus)

Another view of a digital computer

The Instruction Cycle –Basic –Intermediate –Exceptions

The Instruction Cycle - Basic View Once the computer has been started (bootstrapped) it continually executes instructions (until the computer is stopped) Different instructions take different amounts of time to execute (typically) All instructions and data are contained in main memory Fetch Instruction Start Execute Instruction

The Instruction Cycle - Intermediate View A complete instruction consists of –operation code –addressing mode –zero or more operands immediately available data (embedded within the instruction) the address where the data can be found in main memory Fetch Instruction Start Execute Instruction Fetch Operand Decode Instruction

The Instruction Cycle - Exceptions Exceptions, or errors, may occur at various points in the instruction cycle, for example: Fetch Instruction Start Execute Instruction Fetch Operand Decode Instruction Possible Exception ?

The Instruction Cycle - Exceptions Exceptions, or errors, may occur at various points in the instruction cycle, for example: –Addressing - the memory does not exist or is inaccessible Fetch Instruction Start Execute Instruction Fetch Operand Decode Instruction

The Instruction Cycle - Exceptions Exceptions, or errors, may occur at various points in the instruction cycle, for example: –Operation - the operation code does not denote a valid operation Fetch Instruction Start Execute Instruction Fetch Operand Decode Instruction

The Instruction Cycle - Exceptions Exceptions, or errors, may occur at various points in the instruction cycle, for example: –Execution - the instruction logic fails, typically due to the input data divide by zero integer addition/subtraction overflow floating point underflow/overflow Fetch Instruction Start Execute Instruction Fetch Operand Decode Instruction

Instruction Architecture Software design Hardware circuits

Instruction Architecture - Software Design Each computer CPU must be designed to accommodate and understand instructions according to specific formats. Examples: –All instructions must have an operation code specified –NOP no operation –TSTSTtest and set OpCode

Instruction Architecture - Software Design Each computer CPU must be designed to accommodate and understand instructions according to specific formats. Examples: –Most instructions will require one, or more, operands –These may be (immediate) data to be used directly –or, addresses of memory locations where data will be found (including the address of yet another location) OpCodeOperand (Address)

Instruction Architecture - Software Design Sometimes the instruction format requires a code, called the Mode, that specifies a particular addressing format to be distinguished from other possible formats –direct addressing –indirect addressing –indexed addressing –relative addressing –doubly indirect addressing –etc. OpCodeOp. (Addr.) Mode

Instruction Architecture - CPU The CPU must be designed to accommodate the instructions and data to be processed System Bus Control Bus Data Bus Address Bus I/O 1 CPURAM I/O 2 ALU CU Regs PC PSW IR Internal CPU Bus I/O n

Instruction Architecture - Hardware Circuits Everything that the computer can do is the result of designing and building devices to carry out each function – no magic! At the most elementary level the devices are called logic gates. –There are many possible gate types, each perform a specific Boolean operation (e.g. AND, OR, NOT, NAND, NOR, XOR, XNOR) ALL circuits, hence all functions, are defined in terms of the basic gates. We apply Boolean Algebra and Boolean Calculus in order to design circuits and then optimize our designs.

Instruction Architecture - Hardware Circuits Data is represented by various types of “signals”, including electrical, magnetic, optical and so on. Data “moves” through the computer along wires that form the various bus networks (address, data, control) and which interconnect the gates. Combinations of gates are called integrated circuits (IC). All computer functions are defined and controlled by IC’s of varying complexity in design. The manufacture of these may be scaled according to size/complexity: –LSI large scale integration –VLSI very large scale integration –ULSI ultra large scale integration

Instruction Architecture - CU The control unit must decode instructions, set up for communication with RAM addresses and manage the data stored in register and accumulator storages. Each such operation requires separate circuitry to perform the specialized tasks. It is also necessary for computer experts to have knowledge of the various data representations to be used on the machine in order to design components that have the desired behaviours.

Instruction Architecture - ALU All instructions together are called the instruction set –CISCcomplex instruction set –RISCreduced instruction set Each ALU instruction requires a separate circuit, although some instructions may incorporate the circuit logic of other instructions

Our Goal – Design Circuits! After all the conceptualization we must now get down to the most fundamental business – learning how to design circuits that can implement the logic we intend to impose and use Circuit design arises out of a study of Boolean Set Theory and Boolean Algebra –We need to study and learn some new mathematics We will need to understand design optimization –How to make the design as lean and efficient as possible We will work towards higher level abstraction of device components, but start at an elementary level of concrete behaviours with predefined units called gates.