Computer System. Hiroaki Kobayashi 7/25/2011. Agenda. Von Neumann Model Stored-program instructions and data are stored on memory
|
|
- Emily Fox
- 6 years ago
- Views:
Transcription
1 Computer System Hiroaki Kobayashi 7/25/2011 7/25/2011 Computer Engineering 1 Agenda Basic model of modern computer systems Von Neumann Model Stored-program instructions and data are stored on memory Fundamental Functions of Computer Systems Data Memory Data Processing How to control/use a computer: user s perspective Machine instructions to specify operations on computer How a computer controlled: system s perspective Instruction fetch, decode, execution, result store 7/25/2011 Computer Engineering 2
2 EDVAC in 1949 Basic Model of Modern Computers Von Neumann Computer Model Basic model of modern computers, designed and proposed by John von Neumann in 1945 First implementation in 1949; EDVAC ( Characteristics of Von-Neumann-type Computers Stored program Program and data are stored in memory Instruction read from memory, decode, data read from memory, processing (calculation), and result store to memory Linear memory space Memory cells (unit for data storage) are placed as an 1D array Each cell has its own address to specify a cell for data read and write Simple instructions to control a computer are provided such as Addition, subtraction, shift, logical AND/OR, Data move for read/write to/from memory Execution sequence control Sequentially-controlled computer that processes an instruction one by one Program (machine instructions) is processed sequentially stored on memory Special counter named program counter specifies the address of the current executing instruction. 7/25/2011 Computer Engineering 3 Change value of program counter if you want to change the sequence of execution. Basic Structure of Von-Neumann Computer Computer System Processor Control Unit Arithmetic Unit Memory Input Unit Output Unit 7/25/2011 Computer Engineering 4
3 Structure of Memory Logical Structure (visible from programmers) 1 dimensional array of memory cells Each cell stores a unit of data and has its own address to specify for data read/ write in memory Physical Structure (actual implementation) Memory devices are placed in a 2-dimensional and accessed through a combination of row and column address address data control Logical structure data cell row address Physical structure (implementation) 7/25/2011 Computer Engineering 5 column address Memory cell (1bit) Physical Memory Structure SRAM:Static Random Access Memory 1-bit memory cell column-address decoder 8-bit data Row-address decoder Data (input/output) CE: Chip Enable Input Input/output control 1-bit memory structure (plane) (control signal, WE=1 for write) Kbit 8-bit! K cells) SRAM structure 7/25/2011 Computer Engineering 6
4 Another Implementation of Memory DRAM:Dynamic Random Access Memory represent 1-bit store whether a capacitor is charged or not. Need only one transistor and one capacitor for 1-bit memory! Less hardware compared with SRAM (1/4) " More memory capacity on the same area" " # Need periodical refreshment of the memory content $ So named dynamic memory $ Longer access time for read/write of DRAM (output of address decoder) 1-bit cell of DRAM (for data read/write) 7/25/2011 Computer Engineering 7 SRAM vs. DRAM SRAM:Static Random Access Memory Use D-FF(equivalent to 4 Transistors) for 1-bit storage Stable(static) memory Fast memory access Access time: 0.5ns-5ns High (hardware) cost/1bit DRAM:Dynamic Random Access Memory Use one transistor and one capacitor for 1-bit storage More memory capacity at lower cost Unstable and need refreshment of contents Dynamic operation Refresh mechanism enlarges memory access time Access time: 50 70ns For speed-oriented memory %on-chip(processor) memory such as register and cache For capacity oriented memory %off-chip(processor) memory such as main memory (SIMM/DIMM) 7/25/2011 Computer Engineering 8
5 Basic Configuration and Operation of Computer(1/2) Memory Operation Data read from memory Specify an address to read data and bring the data to a register to have data in processor A register is an internal memory in processor Move data from memory specified to the register Data write to memory prepare data (calculation result) in a register Specify an address to write data Move data from the register to memory specified. D-FF Processor Combinational circuit Sequential circuit D-FF/capacitor &Tr 7/25/2011 Computer Engineering 9 Basic Configuration and Operation of Computer (1/2) Program Control and Calculation Basic behavior for data processing Move data from memory to processor, Perform an operation on data Store the operation result to memory Processor Example: perform an addition of two values y = a + b Data y,a,b are placed in memory Addition is performed in a processor by using an adder (combinational circuit) Processing of y=a+b is realized as a sequence of basic instructions & Execute the following four instructions sequentially Instructions 1 and 2 for data movement from memory locations a and b to internal registers Instruction 3 to perform addition of data stored in the registers, and store the result in (another) register Instruction 4 for data movement from register to memory location for y Program counter Address 7/25/2011 Computer Engineering a b y Contents Instruction1 Instruction2 Instruction3 Instruction4 Data of a Data of b Data of y
6 Sequential Processing: Basic Execution Control for Computer Computer sequentially processes instructions in order of memory locations Sequential processing Current memory location of an instruction processed by computer is hold by a register, named program counter (PC) Sequential processing is carried out by incrementing the content of PC & Basic operations specified by instructions are: data movement to/from memory, arithmetic operations In addition, special instructions (named JUMP and BRANCH) for execution control are prepared to change the order of instruction execution. Conditional branch: if then else statement loop (iteration): while, for statements Action: change the content of PC to the destination address specified by JUMP or BRANCH instruction 7/25/2011 Computer Engineering 11 How a Computer Program is Translated into Machine Instructions: Three Basic Execution Flow Available on Computers Execution order Process 1 Process 2 Process 3 Descriptions at programming level If condition While condition then process 1 do process 1 else process 2 process 2 Proc1 Satisfied Cond Not satisfied Cond Not satisfied Proc2 Proc1 Proc2 Satisfied Proc1 Proc2 Proc3 7/25/2011 Computer Engineering 12
7 Execution Control of Computer: Sequential Execution of Instructions Program Description Sequential execution of process1, process 2, process 3 proc1 proc2 proc3 Memory allocation for instructions address Inst.1 for proc. 1 Inst.2 for proc. 2 Inst.3 for proc. 3 Behavior of computer for instructions execution Step Fetch/decode/execute instruction1 Step Fetch/decode/execute instruction2 Step Fetch/decode/execute instruction3 Fetch/decode/execute following instructions 7/25/2011 Computer Engineering 13 Execution Control of Computer Execution of Conditional Branches satisfied Proc1 Program description If condition then proc 1 else proc 2 Cond Not satisfied Proc2 Memory allocation for instructions address Inst. for cond evaluation Instruction for moving the next execution to address 004, if eval of cond is not satisfied Inst for proc 1 Instruction for moving the next execution to address 005 Inst for proc2 Behavior of computer for instructions execution Step fetch/decode/execute instruction for evaluating the condition at address 000 Step fetch/decode/execute instruction for instruction for moving the next execution at address 004, if condition is not satisfied, otherwise, execute the next instruction at 002 (if condition satisfied) Step fetch/decode/execute instruction for proc1 Step fetch/decode/execute instruction for moving the next execution at address 005 if condition not satisfied Step fetch/decode/execute instruction for proc2 Fetch/decode/execute following instructions at address 005 or later 7/25/2011 Computer Engineering 14
8 Execution Control of Computer Execution of Loop (Iterations) Program description While condition do proc Proc Cond satisfied proc1 Not satisfied proc2 Memory allocation for instructions addres Inst. for cond evaluation Instruction for moving the next execution to address 004, if eval of cond is not satisfied Inst for proc1 Instruction for moving the next execution to address 000 Inst for proc2 Behavior of computer for instructions execution Step fetch/decode/execute instruction for evaluating the condition at address 000 Step fetch/decode/execute instruction for moving the next execution at address 004, if condition is not satisfied, otherwise, execute the next instruction at 002 (if condition satisfied) Step fetch/decode/execute instruction for proc1 Step fetch/decode/execute instruction for moving the next execution at address 000 Repeat Steps 1 to 4 if condition not satisfied after several iteration Step fetch/decode/execute instruction for proc2 Fetch/decode/execute following instructions at address 005 or later 7/25/2011 Computer Engineering 15 Format of Machine Instructions An instruction has a fixed bit width (for example, 32-bit) and consists of an operation code and its operands & Opecode (OPEration CODE) specifies an operation to be performed Arithmetic operations 8-bit 8-bit 8-bit 8-bit AND OR! Data movement opcode Operand Operand Operand load/store instructions Execution Control Unconditional Jump Conditional Branch Operands is an one of inputs (arguments) of an opcode Example of a 32-bit instruction format with one opcode and three operands Bits of an instruction are divided into the opcode field and operand field 7/25/2011 Computer Engineering 16
9 Roles of Opecode and Operands Three-operand instruction Three operands, two for inputs and one for output, are specified Registers or memory Instruction Format 7/25/2011 Computer Engineering 17 Other Types of Operand Specification: Reducing the Number of Operand Fields One-operand instruction Specify one operand and the others are defined implicitly Implicitly defined internal register is called Accumulator Registers or memory Two-operand instruction Two operands specified, and one of them is also used as a destination (output) Registers or memory 7/25/2011 Computer Engineering 18
10 Other Instruction Formats (1/2): Data Movement between registers and memory LD(LoaD) Instruction move data from memory to internal register Case where implicitly specified register is used LD address 1-operand (acc) " (address):always accumulator register is used as a destination Case where explicitly specify internal register used LD Reg. address 2-operand (Reg) " (address): can specify any register as a destination ST(STore) instruction move data from register to memory Case where implicitly specified register is used ST address 1-operand (acc) # (address):always accumulator register implicitly specified Case where a register explicitly specified ST Reg. address 2-operand (Reg) # (address): any register can be specified as source register 7/25/2011 Computer Engineering 19 Other Instruction Formats (2/2): Execution Control Instructions Unconditional Jump JP(JumP) instruction execute an instruction at address specified by operand JP address : 1 operand Conditional Branch $ Conditionally execute an instruction at address specified by operand based on the content of specified register JPZ(JumP Zero) instruction: if the content of implicitly or explicitly specified register is 0, execute instruction at address specified by operand JPZ address : if implicitly specified register (accumulator) is 0 goto address specified for the next execution 1-operand JPZ Reg address : if explicitly specified register is 0 go to address specified for the next execution 2-operand Similarly, JPNZ(JumP NonZero)are also defined If specified register is not zero, execute the next instruction at address specified (1 or 2 operand instructions defined 7/25/2011 Computer Engineering 20
11 Summary of Machine Instructions Commands to Computer Programming language at the lowest level to command data movement, arithmetic operations and execution control to a computer Load instructions: move data from memory to internal registers Example: Load Register1 MemoryAddress : (Reg1)"(MemAdrs) Store Instructions: move data from registers to memory Example: Store Register1 MemoryAddress : (MemAdrs)"(Reg1) Perform an operation on data stored in registers/memory Example: Add Reg1 Reg2 Reg3 : Reg1=Reg2+Reg3 Change the instruction execution flow Unconditional jump instructions: Jump Address Conditional branch instructions: BranchOnZero MemAdrs Sub-routine (procedure) call instruction Call MemAdrs Evaluation of condition for conditional branch instructions For conditions a=b, and a>b (or a<b), calculate a-b, and evaluate the result is equal to 0/Non-0, and positive ( or negative), respectively Machine-dependent X86 instruction set for Intel processors 7/25/2011 Computer Engineering 21 Example of 16-bit machine instructions A model computer handles a 16-bit word has one internal register named accumulator executes 16-bit instructions each of which consists of one opecode (4-bit) and one operand (12-bit) One operand instruction format 16 kinds of operations specified A 12-bit operand specifies a memory address between 000 and FFF (4K memory space addressable by 12-bit) Accumulator is implicitly used as operands Acc is not specified in an instruction (Acc) " (Acc) Opecode Operand Load memory to (Acc) Store (Acc) to memory Instructions and data are stored in memory 16-bit word operation Instruction format Memory space 000~FFF(12-bit addressable) Operand 1 Operand 2 Accumulator ALU: Arithmetic Logic Unit opecode Operand(to specify mem) 4-bit 12-bit 7/25/2011 Computer Engineering 22
12 16 Kinds of Instructions Defined Symbol( ) Code Meaning (*** is a 12-bit memory address) Move data to accumulator from memory Move data from accumulator to memory Unconditional jump Note: -[A] means the contents of accumulator -PC is a program counter that specifies the address of the next instruction to be executed. Shift left Shift right Stop program execution Stop program execution 7/25/2011 Computer Engineering 23 Program example Sum of integers 1 to 10 Address Instruction code (binary representation) Machine code in symbolic representation (Assembly code) Special instruction to specify data space DC: Define Constant DS: Define Storage 7/25/2011 Computer Engineering 24
13 Summary: Execution Control of a Computer Flow of instruction execution (Fetch/Decode/Exection of Instructions) Program counter Instruction decoder Memory Registers(accumulator) 7/25/2011 Computer Engineering 25 Summary: Control and Data Flow in a Computer Main memory Control Unit Program Counter Instruction fetch Specify an address of instruction to be executed Instruction area Machine Instructions Opecode Operands Specify an operation Specify operands Input/Output Unit Arithmetic Logic Unit Registers Operand fetch Result store Data Area Data Processing Unit (Processor) 7/25/2011 Computer Engineering 26
14 Schedule 8/8 Final Exam: all the registered students should take and mark a certain score for the credit. You may refer to printed-handouts given by this class during the exam. Other reference materials are not allowed. The result of the final exam, pass or not, will be announced at the class web site. Check the web in the week of Aug. 15. Make-up Exam or home assignment will be given to those who cannot pass 8/8 exam. The details will also be announced at the web. 7/25/2011 Computer Engineering 27
Computer System. Hiroaki Kobayashi 6/16/2010. Ver /16/2010 Computer Science 1
Computer System Hiroaki Kobayashi 6/16/2010 6/16/2010 Computer Science 1 Ver. 1.1 Agenda Basic model of modern computer systems Von Neumann Model Stored-program instructions and data are stored on memory
More informationComputer System. Agenda
Computer System Hiroaki Kobayashi 7/6/2011 Ver. 07062011 7/6/2011 Computer Science 1 Agenda Basic model of modern computer systems Von Neumann Model Stored-program instructions and data are stored on memory
More informationMemory General R0 Registers R1 R2. Input Register 1. Input Register 2. Program Counter. Instruction Register
CPU Organisation Central Processing Unit (CPU) Memory General R0 Registers R1 R2 ALU R3 Output Register Input Register 1 Input Register 2 Internal Bus Address Bus Data Bus Addr. $ 000 001 002 Program Counter
More informationCOSC121: Computer Systems: Review
COSC121: Computer Systems: Review Jeremy Bolton, PhD Assistant Teaching Professor Constructed using materials: - Patt and Patel Introduction to Computing Systems (2nd) - Patterson and Hennessy Computer
More informationTopic #6. Processor Design
Topic #6 Processor Design Major Goals! To present the single-cycle implementation and to develop the student's understanding of combinational and clocked sequential circuits and the relationship between
More informationEC-801 Advanced Computer Architecture
EC-801 Advanced Computer Architecture Lecture 5 Instruction Set Architecture I Dr Hashim Ali Fall 2018 Department of Computer Science and Engineering HITEC University Taxila!1 Instruction Set Architecture
More informationChapter 4 The Von Neumann Model
Chapter 4 The Von Neumann Model The Stored Program Computer 1943: ENIAC Presper Eckert and John Mauchly -- first general electronic computer. (or was it John V. Atanasoff in 1939?) Hard-wired program --
More informationVon Neumann Architecture
Von Neumann Architecture Assist lecturer Donya A. Khalid Lecture 2 2/29/27 Computer Organization Introduction In 945, just after the World War, Jon Von Neumann proposed to build a more flexible computer.
More informationComputer Systems. Binary Representation. Binary Representation. Logical Computation: Boolean Algebra
Binary Representation Computer Systems Information is represented as a sequence of binary digits: Bits What the actual bits represent depends on the context: Seminar 3 Numerical value (integer, floating
More informationLC-3 Architecture. (Ch4 ish material)
LC-3 Architecture (Ch4 ish material) 1 CISC vs. RISC CISC : Complex Instruction Set Computer Lots of instructions of variable size, very memory optimal, typically less registers. RISC : Reduced Instruction
More informationTHE MICROPROCESSOR Von Neumann s Architecture Model
THE ICROPROCESSOR Von Neumann s Architecture odel Input/Output unit Provides instructions and data emory unit Stores both instructions and data Arithmetic and logic unit Processes everything Control unit
More informationCS 101, Mock Computer Architecture
CS 101, Mock Computer Architecture Computer organization and architecture refers to the actual hardware used to construct the computer, and the way that the hardware operates both physically and logically
More informationChapter 5 12/2/2013. Objectives. Computer Systems Organization. Objectives. Objectives (continued) Introduction. INVITATION TO Computer Science 1
Chapter 5 Computer Systems Organization Objectives In this chapter, you will learn about: The components of a computer system Putting all the pieces together the Von Neumann architecture The future: non-von
More informationCopyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Computing Layers
Chapter 4 The Von Neumann Model Original slides from Gregory Byrd, North Carolina State University Modified slides by C. Wilcox, S. Rajopadhye, Colorado State University Computing Layers Problems Algorithms
More informationIntroduction to Computer Engineering. CS/ECE 252 Prof. Mark D. Hill Computer Sciences Department University of Wisconsin Madison
Introduction to Computer Engineering CS/ECE 252 Prof. Mark D. Hill Computer Sciences Department University of Wisconsin Madison Chapter 4 The Von Neumann Model The Stored Program Computer 1943: ENIAC Presper
More informationThe von Neumann Architecture. IT 3123 Hardware and Software Concepts. The Instruction Cycle. Registers. LMC Executes a Store.
IT 3123 Hardware and Software Concepts February 11 and Memory II Copyright 2005 by Bob Brown The von Neumann Architecture 00 01 02 03 PC IR Control Unit Command Memory ALU 96 97 98 99 Notice: This session
More informationChapter 4 The Von Neumann Model
Chapter 4 The Von Neumann Model The Stored Program Computer 1943: ENIAC Presper Eckert and John Mauchly -- first general electronic computer. (or was it John V. Atananasoff in 1939?) Hard-wired program
More informationCOSC121: Computer Systems: Review
COSC121: Computer Systems: Review Jeremy Bolton, PhD Assistant Teaching Professor Constructed using materials: - Patt and Patel Introduction to Computing Systems (2nd) - Patterson and Hennessy Computer
More informationInstruction Set II. COMP 212 Computer Organization & Architecture. COMP 212 Fall Lecture 7. Instruction Set. Quiz. What is an Instruction Set?
COMP 212 Computer Organization & Architecture Quiz COMP 212 Fall 2008 Lecture 7 Fill in your student number only, do NOT write down your name Open book, but NO calculator, NO discussions, Relax and have
More informationComputer Architecture 2/26/01 Lecture #
Computer Architecture 2/26/01 Lecture #9 16.070 On a previous lecture, we discussed the software development process and in particular, the development of a software architecture Recall the output of the
More informationCN310 Microprocessor Systems Design
CN310 Microprocessor Systems Design Micro Architecture Nawin Somyat Department of Electrical and Computer Engineering Thammasat University 28 August 2018 Outline Course Contents 1 Introduction 2 Simple
More informationA Review of Chapter 5 and. CSc 2010 Spring 2012 Instructor: Qian Hu
A Review of Chapter 5 and Chapter 6 Chapter 5 Computer Systems Organization Von Neumann Architecture 4 Components Memory Input/output ALU Control Unit Two major features Stored program concept Sequential
More informationECE369. Chapter 5 ECE369
Chapter 5 1 State Elements Unclocked vs. Clocked Clocks used in synchronous logic Clocks are needed in sequential logic to decide when an element that contains state should be updated. State element 1
More informationChapter 5: Computer Systems Organization. Invitation to Computer Science, C++ Version, Third Edition
Chapter 5: Computer Systems Organization Invitation to Computer Science, C++ Version, Third Edition Objectives In this chapter, you will learn about: The components of a computer system Putting all the
More informationChapter 5: Computer Systems Organization
Objectives Chapter 5: Computer Systems Organization Invitation to Computer Science, C++ Version, Third Edition In this chapter, you will learn about: The components of a computer system Putting all the
More informationCS 24: INTRODUCTION TO. Spring 2018 Lecture 3 COMPUTING SYSTEMS
CS 24: INTRODUCTION TO Spring 2018 Lecture 3 COMPUTING SYSTEMS LAST TIME Basic components of processors: Buses, multiplexers, demultiplexers Arithmetic/Logic Unit (ALU) Addressable memory Assembled components
More informationx86 Architectures; Assembly Language Basics of Assembly language for the x86 and x86_64 architectures
x86 Architectures; Assembly Language Basics of Assembly language for the x86 and x86_64 architectures topics Preliminary material a look at what Assembly Language works with - How processors work»a moment
More informationThe CPU and Memory. How does a computer work? How does a computer interact with data? How are instructions performed? Recall schematic diagram:
The CPU and Memory How does a computer work? How does a computer interact with data? How are instructions performed? Recall schematic diagram: 1 Registers A register is a permanent storage location within
More informationCS 265. Computer Architecture. Wei Lu, Ph.D., P.Eng.
CS 265 Computer Architecture Wei Lu, Ph.D., P.Eng. Part 3: von Neumann Architecture von Neumann Architecture Our goal: understand the basics of von Neumann architecture, including memory, control unit
More informationCS31001 COMPUTER ORGANIZATION AND ARCHITECTURE. Debdeep Mukhopadhyay, CSE, IIT Kharagpur. Instructions and Addressing
CS31001 COMPUTER ORGANIZATION AND ARCHITECTURE Debdeep Mukhopadhyay, CSE, IIT Kharagpur Instructions and Addressing 1 ISA vs. Microarchitecture An ISA or Instruction Set Architecture describes the aspects
More information16.1. Unit 16. Computer Organization Design of a Simple Processor
6. Unit 6 Computer Organization Design of a Simple Processor HW SW 6.2 You Can Do That Cloud & Distributed Computing (CyberPhysical, Databases, Data Mining,etc.) Applications (AI, Robotics, Graphics, Mobile)
More informationECE 2300 Digital Logic & Computer Organization. Caches
ECE 23 Digital Logic & Computer Organization Spring 217 s Lecture 2: 1 Announcements HW7 will be posted tonight Lab sessions resume next week Lecture 2: 2 Course Content Binary numbers and logic gates
More informationComputer Architecture (part 2)
Computer Architecture (part 2) Topics: Machine Organization Machine Cycle Program Execution Machine Language Types of Memory & Access 2 Chapter 5 The Von Neumann Architecture 1 Arithmetic Logic Unit (ALU)
More informationInstruction Sets: Characteristics and Functions Addressing Modes
Instruction Sets: Characteristics and Functions Addressing Modes Chapters 10 and 11, William Stallings Computer Organization and Architecture 7 th Edition What is an Instruction Set? The complete collection
More informationThe Von Neumann Architecture Odds and Ends. Designing Computers. The Von Neumann Architecture. CMPUT101 Introduction to Computing - Spring 2001
The Von Neumann Architecture Odds and Ends Chapter 5.1-5.2 Von Neumann Architecture CMPUT101 Introduction to Computing (c) Yngvi Bjornsson & Vadim Bulitko 1 Designing Computers All computers more or less
More informationChapter 4 The Von Neumann Model
Chapter 4 The Von Neumann Model The Stored Program Computer 1943: ENIAC Presper Eckert and John Mauchly -- first general electronic computer. (or was it John V. Atanasoff in 1939?) Hard-wired program --
More informationChapter 4. MARIE: An Introduction to a Simple Computer. Chapter 4 Objectives. 4.1 Introduction. 4.2 CPU Basics
Chapter 4 Objectives Learn the components common to every modern computer system. Chapter 4 MARIE: An Introduction to a Simple Computer Be able to explain how each component contributes to program execution.
More informationMicrocontroller Systems
µcontroller systems 1 / 43 Microcontroller Systems Engineering Science 2nd year A2 Lectures Prof David Murray david.murray@eng.ox.ac.uk www.robots.ox.ac.uk/ dwm/courses/2co Michaelmas 2014 µcontroller
More informationCMPUT101 Introduction to Computing - Summer 2002
7KH9RQ1HXPDQQ$UFKLWHFWXUH 2GGVDQG(QGV Chapter 5.1-5.2 Von Neumann Architecture CMPUT101 Introduction to Computing (c) Yngvi Bjornsson & Vadim Bulitko 1 'HVLJQLQJ&RPSXWHUV All computers more or less based
More information17.1. Unit 17. Instruction Sets Picoblaze Processor
17.1 Unit 17 Instruction Sets Picoblaze Processor INSTRUCTION SET OVERVIEW 17.2 17.3 Instruction Set Review Defines the software interface of the processor and memory system Instruction set is the vocabulary
More informationEE 3170 Microcontroller Applications
EE 3170 Microcontroller Applications Lecture 4 : Processors, Computers, and Controllers - 1.2 (reading assignment), 1.3-1.5 Based on slides for ECE3170 by Profs. Kieckhafer, Davis, Tan, and Cischke Outline
More informationChapter 6 (Lect 3) Counters Continued. Unused States Ring counter. Implementing with Registers Implementing with Counter and Decoder
Chapter 6 (Lect 3) Counters Continued Unused States Ring counter Implementing with Registers Implementing with Counter and Decoder Sequential Logic and Unused States Not all states need to be used Can
More informationCSE140: Components and Design Techniques for Digital Systems
CSE4: Components and Design Techniques for Digital Systems Tajana Simunic Rosing Announcements and Outline Check webct grades, make sure everything is there and is correct Pick up graded d homework at
More information2. Computer Evolution and Performance
2. Computer Evolution and Performance Spring 2016 Spring 2016 CS430 - Computer Architecture 1 Chapter 2: Computer Evolution and Performance Reading: pp. 16-49 Good Problems to Work: 2.1, 2.3, 2.4, 2.8,
More informationFor your convenience Apress has placed some of the front matter material after the index. Please use the Bookmarks and Contents at a Glance links to
For your convenience Apress has placed some of the front matter material after the index. Please use the Bookmarks and Contents at a Glance links to access them. Contents at a Glance About the Author...xi
More informationUnit 17. Instruction Set Review INSTRUCTION SET OVERVIEW. Historical Instruction Format Options. Instruction Sets Picoblaze Processor
17.1 17.2 Unit 17 Instruction Sets Picoblaze Processor INSTRUCTION SET OVERVIEW 17.3 17.4 Instruction Set Review Defines the software interface of the processor and memory system Instruction set is the
More informationCS6303 Computer Architecture Regulation 2013 BE-Computer Science and Engineering III semester 2 MARKS
CS6303 Computer Architecture Regulation 2013 BE-Computer Science and Engineering III semester 2 MARKS UNIT-I OVERVIEW & INSTRUCTIONS 1. What are the eight great ideas in computer architecture? The eight
More informationTeaching London Computing
Teaching London Computing CAS London CPD Day 2016 Little Man Computer William Marsh School of Electronic Engineering and Computer Science Queen Mary University of London Overview and Aims LMC is a computer
More informationCS 31: Intro to Systems Digital Logic. Kevin Webb Swarthmore College February 2, 2016
CS 31: Intro to Systems Digital Logic Kevin Webb Swarthmore College February 2, 2016 Reading Quiz Today Hardware basics Machine memory models Digital signals Logic gates Circuits: Borrow some paper if
More informationare Softw Instruction Set Architecture Microarchitecture are rdw
Program, Application Software Programming Language Compiler/Interpreter Operating System Instruction Set Architecture Hardware Microarchitecture Digital Logic Devices (transistors, etc.) Solid-State Physics
More informationProblem Set 1 Solutions
CSE 260 Digital Computers: Organization and Logical Design Jon Turner Problem Set 1 Solutions 1. Give a brief definition of each of the following parts of a computer system: CPU, main memory, floating
More informationISA and RISCV. CASS 2018 Lavanya Ramapantulu
ISA and RISCV CASS 2018 Lavanya Ramapantulu Program Program =?? Algorithm + Data Structures Niklaus Wirth Program (Abstraction) of processor/hardware that executes 3-Jul-18 CASS18 - ISA and RISCV 2 Program
More informationBASIC COMPUTER ORGANIZATION. Operating System Concepts 8 th Edition
BASIC COMPUTER ORGANIZATION Silberschatz, Galvin and Gagne 2009 Topics CPU Structure Registers Memory Hierarchy (L1/L2/L3/RAM) Machine Language Assembly Language Running Process 3.2 Silberschatz, Galvin
More informationCopyright 2000 N. AYDIN. All rights reserved. 1
Computer Architecture Prof. Dr. Nizamettin AYDIN naydin@yildiz.edu.tr http://www.yildiz.edu.tr/~naydin A virtual processor for understanding instruction cycle The Visible Virtual Machine (VVM) 1 2 The
More informationAdvanced Parallel Architecture Lesson 3. Annalisa Massini /2015
Advanced Parallel Architecture Lesson 3 Annalisa Massini - 2014/2015 Von Neumann Architecture 2 Summary of the traditional computer architecture: Von Neumann architecture http://williamstallings.com/coa/coa7e.html
More informationCPSC 121: Models of Computation
Instructor: Bob Woodham woodham@cs.ubc.ca Department of Computer Science University of British Columbia Lecture Notes 2009/2010, Section 203 Menu March 22, 2010 Topics: A Simple Computer High-level design
More informationComputing Layers. Chapter 5 The LC-3
Computing Layers Problems Chapter 5 The LC-3 Original slides from Gregory Byrd, North Carolina State University Modified slides by Chris Wilcox, Colorado State University Algorithms Language Instruction
More informationCC312: Computer Organization
CC312: Computer Organization Dr. Ahmed Abou EL-Farag Dr. Marwa El-Shenawy 1 Chapter 4 MARIE: An Introduction to a Simple Computer Chapter 4 Objectives Learn the components common to every modern computer
More informationMark Redekopp and Gandhi Puvvada, All rights reserved. EE 357 Unit 15. Single-Cycle CPU Datapath and Control
EE 37 Unit Single-Cycle CPU path and Control CPU Organization Scope We will build a CPU to implement our subset of the MIPS ISA Memory Reference Instructions: Load Word (LW) Store Word (SW) Arithmetic
More informationCS 31: Intro to Systems Digital Logic. Kevin Webb Swarthmore College February 3, 2015
CS 31: Intro to Systems Digital Logic Kevin Webb Swarthmore College February 3, 2015 Reading Quiz Today Hardware basics Machine memory models Digital signals Logic gates Circuits: Borrow some paper if
More informationChapter 3. Z80 Instructions & Assembly Language. Von Neumann Architecture. Memory. instructions. program. data
Von Neumann Architecture The von Neumann architecture is a computer design model that uses a processing unit and a separate storage to hold both instructions and data To run a machine, program and data
More informationWednesday, February 4, Chapter 4
Wednesday, February 4, 2015 Topics for today Introduction to Computer Systems Static overview Operation Cycle Introduction to Pep/8 Features of the system Operational cycle Program trace Categories of
More information6.1 Combinational Circuits. George Boole ( ) Claude Shannon ( )
6. Combinational Circuits George Boole (85 864) Claude Shannon (96 2) Signals and Wires Digital signals Binary (or logical ) values: or, on or off, high or low voltage Wires. Propagate digital signals
More informationChapter 2 Instruction Set Architecture
Chapter 2 Instruction Set Architecture Course Outcome (CO) - CO2 Describe the architecture and organization of computer systems Program Outcome (PO) PO1 Apply knowledge of mathematics, science and engineering
More informationLecture Objectives. Introduction to Computing Chapter 0. Topics. Numbering Systems 04/09/2017
Lecture Objectives Introduction to Computing Chapter The AVR microcontroller and embedded systems using assembly and c Students should be able to: Convert between base and. Explain the difference between
More informationProgrammable Machines
Programmable Machines Silvina Hanono Wachman Computer Science & Artificial Intelligence Lab M.I.T. Quiz 1: next week Covers L1-L8 Oct 11, 7:30-9:30PM Walker memorial 50-340 L09-1 6.004 So Far Using Combinational
More informationCOSC 122 Computer Fluency. Computer Organization. Dr. Ramon Lawrence University of British Columbia Okanagan
COSC 122 Computer Fluency Computer Organization Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca Key Points 1) The standard computer (von Neumann) architecture consists
More informationProgrammable Machines
Programmable Machines Silvina Hanono Wachman Computer Science & Artificial Intelligence Lab M.I.T. Quiz 1: next week Covers L1-L8 Oct 11, 7:30-9:30PM Walker memorial 50-340 L09-1 6.004 So Far Using Combinational
More informationCOMPUTER STRUCTURE AND ORGANIZATION
COMPUTER STRUCTURE AND ORGANIZATION Course titular: DUMITRAŞCU Eugen Chapter 4 COMPUTER ORGANIZATION FUNDAMENTAL CONCEPTS CONTENT The scheme of 5 units von Neumann principles Functioning of a von Neumann
More informationChapter 5 The LC-3. ACKNOWLEDGEMENT: This lecture uses slides prepared by Gregory T. Byrd, North Carolina State University 5-2
Chapter 5 The LC-3 ACKNOWLEDGEMENT: This lecture uses slides prepared by Gregory T. Byrd, North Carolina State University 5-2 Instruction Set Architecture ISA = All of the programmer-visible components
More informationComputer Organization MIPS Architecture. Department of Computer Science Missouri University of Science & Technology
Computer Organization MIPS Architecture Department of Computer Science Missouri University of Science & Technology hurson@mst.edu Computer Organization Note, this unit will be covered in three lectures.
More informationComputer Organization CS 206 T Lec# 2: Instruction Sets
Computer Organization CS 206 T Lec# 2: Instruction Sets Topics What is an instruction set Elements of instruction Instruction Format Instruction types Types of operations Types of operand Addressing mode
More informationLoad -- read data from memory to register. Store -- write data from register to memory. Load effective address -- compute address, save in register
Data Movement Instructions Load -- read data from memory to register LD: PC-relative mode LDR: base+offset mode LDI: indirect mode Store -- write data from register to memory ST: PC-relative mode STR:
More informationIntroduction to Computer Engineering. CS/ECE 252, Fall 2016 Prof. Guri Sohi Computer Sciences Department University of Wisconsin Madison
Introduction to Computer Engineering CS/ECE 252, Fall 2016 Prof. Guri Sohi Computer Sciences Department University of Wisconsin Madison Chapter 5 The LC-3 Instruction Set Architecture ISA = All of the
More informationRegister-Level Design
Register-Level Design A digital system can be treated at different level of abstraction or compleity. So far, we have seen it at the gate level and the transistor level. At a higher level than the gate
More informationEEL 5722C Field-Programmable Gate Array Design
EEL 5722C Field-Programmable Gate Array Design Lecture 12: Pipelined Processor Design and Implementation Prof. Mingjie Lin Patt and Patel: Intro. to Computing System * Stanford EE271 notes 1 Instruction
More informationWednesday, September 13, Chapter 4
Wednesday, September 13, 2017 Topics for today Introduction to Computer Systems Static overview Operation Cycle Introduction to Pep/9 Features of the system Operational cycle Program trace Categories of
More informationCOMPUTER ORGANIZATION AND DESIGN. 5 th Edition. The Hardware/Software Interface. Chapter 4. The Processor
COMPUTER ORGANIZATION AND DESIGN The Hardware/Software Interface 5 th Edition Chapter 4 The Processor Introduction CPU performance factors Instruction count Determined by ISA and compiler CPI and Cycle
More informationComputers and Microprocessors. Lecture 34 PHYS3360/AEP3630
Computers and Microprocessors Lecture 34 PHYS3360/AEP3630 1 Contents Computer architecture / experiment control Microprocessor organization Basic computer components Memory modes for x86 series of microprocessors
More informationIntroduction to Computer Engineering. Chapter 5 The LC-3. Instruction Set Architecture
Introduction to Computer Engineering CS/ECE 252, Spring 200 Prof. David A. Wood Computer Sciences Department University of Wisconsin Madison Chapter 5 The LC-3 Adapted from Prof. Mark Hill s slides Instruction
More informationChapter. Computer Architecture
Chapter 4 Computer Architecture Figure 4.1 Input device Central processing unit Main memory Output device Bus Data flow Control Figure 4.2 Central processing unit () Status bits ( ) Accumulator ( ) Index
More informationCS 2461: Computer Architecture I
Computer Architecture is... CS 2461: Computer Architecture I Instructor: Prof. Bhagi Narahari Dept. of Computer Science Course URL: www.seas.gwu.edu/~bhagiweb/cs2461/ Instruction Set Architecture Organization
More informationCOSC 243. Computer Architecture 1. COSC 243 (Computer Architecture) Lecture 6 - Computer Architecture 1 1
COSC 243 Computer Architecture 1 COSC 243 (Computer Architecture) Lecture 6 - Computer Architecture 1 1 Overview Last Lecture Flip flops This Lecture Computers Next Lecture Instruction sets and addressing
More informationInstruction Set Architecture. "Speaking with the computer"
Instruction Set Architecture "Speaking with the computer" The Instruction Set Architecture Application Compiler Instr. Set Proc. Operating System I/O system Instruction Set Architecture Digital Design
More information11. A Computing Machine
COMPUTER SCIENCE S E D G E W I C K / W A Y N E Computer Science Including Programming in Java 11. A Computing Machine Section 5.1 http://introcs.cs.princeton.edu COMPUTER SCIENCE S E D G E W I C K / W
More informationSummary of Computer Architecture
Summary of Computer Architecture Summary CHAP 1: INTRODUCTION Structure Top Level Peripherals Computer Central Processing Unit Main Memory Computer Systems Interconnection Communication lines Input Output
More informationComputer Organization
Computer Organization (Instruction set Architecture & Assembly Language Programming) KR Chowdhary Professor & Head Email: kr.chowdhary@gmail.com webpage: krchowdhary.com Department of Computer Science
More informationInstruction Set Architecture
Chapter 5 The LC-3 Instruction Set Architecture ISA = All of the programmer-visible components and operations of the computer memory organization address space -- how may locations can be addressed? addressibility
More informationSoftware and Hardware
Software and Hardware Numbers At the most fundamental level, a computer manipulates electricity according to specific rules To make those rules produce something useful, we need to associate the electrical
More informationTypical Processor Execution Cycle
Typical Processor Execution Cycle Instruction Fetch Obtain instruction from program storage Instruction Decode Determine required actions and instruction size Operand Fetch Locate and obtain operand data
More informationMIPS PROJECT INSTRUCTION SET and FORMAT
ECE 312: Semester Project MIPS PROJECT INSTRUCTION SET FORMAT This is a description of the required MIPS instruction set, their meanings, syntax, semantics, bit encodings. The syntax given for each instruction
More informationCopyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Computing Layers
Chapter 5 The LC-3 Original slides from Gregory Byrd, North Carolina State University Modified slides by C. Wilcox, S. Rajopadhye Colorado State University Computing Layers Problems Algorithms Language
More informationIntroduction to Computer Design
Introduction to Computer Design Memory (W 800-840) Basic processor operation Processor organization Executing instructions Processor implementation using VHDL 1 Random Access Memory data_in address read/write
More informationIntroduction to Computer. Chapter 5 The LC-3. Instruction Set Architecture
Introduction to Computer Engineering ECE/CS 252, Fall 2010 Prof. Mikko Lipasti Department of Electrical and Computer Engineering University of Wisconsin Madison Chapter 5 The LC-3 Instruction Set Architecture
More informationCISC 662 Graduate Computer Architecture. Lecture 4 - ISA MIPS ISA. In a CPU. (vonneumann) Processor Organization
CISC 662 Graduate Computer Architecture Lecture 4 - ISA MIPS ISA Michela Taufer http://www.cis.udel.edu/~taufer/courses Powerpoint Lecture Notes from John Hennessy and David Patterson s: Computer Architecture,
More informationLecture 2: RISC V Instruction Set Architecture. Housekeeping
S 17 L2 1 18 447 Lecture 2: RISC V Instruction Set Architecture James C. Hoe Department of ECE Carnegie Mellon University Housekeeping S 17 L2 2 Your goal today get bootstrapped on RISC V RV32I to start
More informationMARIE: An Introduction to a Simple Computer
MARIE: An Introduction to a Simple Computer 4.2 CPU Basics The computer s CPU fetches, decodes, and executes program instructions. The two principal parts of the CPU are the datapath and the control unit.
More informationCOSC 6385 Computer Architecture. Instruction Set Architectures
COSC 6385 Computer Architecture Instruction Set Architectures Spring 2012 Instruction Set Architecture (ISA) Definition on Wikipedia: Part of the Computer Architecture related to programming Defines set
More informationEC 413 Computer Organization
EC 413 Computer Organization Review I Prof. Michel A. Kinsy Computing: The Art of Abstraction Application Algorithm Programming Language Operating System/Virtual Machine Instruction Set Architecture (ISA)
More information1.3 Data processing; data storage; data movement; and control.
CHAPTER 1 OVERVIEW ANSWERS TO QUESTIONS 1.1 Computer architecture refers to those attributes of a system visible to a programmer or, put another way, those attributes that have a direct impact on the logical
More information