Computer Architecture
|
|
- Ross Harrison
- 6 years ago
- Views:
Transcription
1 University of Craiova Faculty of Automation, Computers & Electronics Department of Computers & Information Technology Computer Architecture Elementary Educational Computer (EEC) Cătălina Mancaș Dan Mancaș
2 Previous topics General structure of the CPU; CPU-MM transfer speed balancing techniques; Advanced organization of CPU communication: peripheral devices; I/O units; I/O processors. 2
3 The fundamental structure Data Flux de flow date Alternative Data Flow Flux de date alternativ CPU = ALU + CU Instructions Flux de instructiuni Flow Control Comenzi sau Line linii de control Status Informatii Line de stare sau linii de stare Unitatea Control de Control Unit (CU) (UC) Date de Input Data intrare si & programe Programs Unitatea Input de Intrare Unit (IU) (UI) Unitatea Arithmetic Logico- Logic Aritmeticã Unit (ALU) Date Unitatea Output de Iesire Unit (OU) (UO) Instructiuni Instructions Date de iesire Output Data sau rezultate & Results DMA Unitatea Memory de Memorie Unit (MU) (UM) DMA 3
4 General Structure of the CPU Magistrala Interna Data de Bus Date Magistrala Address Interna Bus de Adrese Bus Control Unitate Buffer/Driver Unit Magistrala System Bus Sistem ALU ALU CU UC Linii Control de Control Lines General Registre generale Registers R 1 Instruction Address Adresa Instructiune DEC k/2 k R 2 Operand Adresa Operand Address Operand Address PC incr. Bloc Control Secventiator Sequencer de Control er Processing Bloc de Procesare Block R 2 k EA Calcul Computation AE Decodificator OPCODE OPCODE Decoder Decoded Operatie decodificata Operation Status Reg. Register Stare ACC AR RA FR RF Operand Reg. Register Op. Generator Clock de tact Dispozitiv de procesare Processing Device Address Bloc de Block Adresa IR RI Instruction Bloc de Block Instructiune Linii interne de Control Linii interne de Stare 4
5 General Structure of the CPU Complex? 5
6 Today... Detailed organization of a computer; Elementary Educational Computer; General Structure; Functioning: FETCH, EXECUTE; Instructions: ADD, SUB, LOAD, STORE, JUMP, I/O. 6
7 Elementary Educational Computer The EEC conforms to the 5-unit structure defined by von Neumann's model; All units are presented in a simplified form consisting of only basic components. 7
8 Elementary Educational Computer Control Linii de control Lines R/ W UC ALU. BLOC CONTROL DE CONTROL BLOCK Flags DEPLASATOR SHIFTER SUMATOR/SCAZATOR ADDER/SUBTRACTOR SR RS (FR) RT3 RX1 DECODIFICATOR OPCODE DECODER FUNCTIE L K Incr RT2 RX2 RT1 RX3 ACC RI OPCODE ADRESA K PC K n n K UM U I/O UI UO n REGISTRU INPUT REGISTER INPUT REGISTRU OUTPUT REGISTER OUTPUT n K MAR 0... i k -1 MBR n UIA pe n biti R/ W 2 k x n 8
9 Memory Unit (MU) One level memory: the Main Memory (MM); Memory location: address on k bits; Communication with other units through: MAR Memory Address Register; MBR Memory Buffer Register or Memory Data Register. Two operations are allowed: READ and WRITE, controlled by the Control Unit. 9
10 Memory Unit (MU) 10
11 Memory Unit (MU) Organization of the memory: 2 k locations of n bits => 2 k n memory array 0 B n-1 B 1 B 0 1 i-1 i i+1 2 k
12 Memory Unit (MU) READ cycle: 1) Address is placed in MAR; 2) READ control signal is emitted; 3) Data is extracted from the addressed location; 4) Data is stored in MBR. WRITE cycle: 1) Address is placed in MAR; 2) Data is transferred in MBR; 3) WRITE control signal is emitted; 4) Data is stored in the addressed location. 12
13 Arithmetic-Logic Unit (ALU) SHIFTER Processing Device ADDER/SUBTRACTOR Local Memory 13
14 Arithmetic-Logic Unit (ALU) Implements binary arithmetic on n bits; Dimension of ALU operational units is assumed n; All registers inside ALU are n-dimensional; ALU contains: a simple register file (local memory): an Accumulator, three auxiliary registers: RX1, RX2, RX3; a Flag (Status) register (RS); a processing device: an Adder/Subtractor; a Shifter. 14
15 Arithmetic-Logic Unit (ALU) ALU performs a limited set of primitive operations; Communication between ALU and CU: CU sends the commands via control lines, ALU sends the status of the registers content (status signals, flags, condition signals), usually the Accumulator s. Possible set of status bits: zero, parity, sign, overflow etc. Operands are extracted either from register file (local memory) or from MM; Extraction from MM implies a READ cycle; Role of the Accumulator: special register communicating directly with the processing device, that contains one of the operands and where the result after processing is stored. 15
16 Control Unit (CU) The CU is formed of the following blocks: Program Counter (PC); Instruction Register (IR); Opcode (Function Decoder); Control Block (Control Sequencer). 16
17 Control Unit (CU) Control Lines CU CONTROL BLOCK OPCODE DECODER ADR 17
18 Control Unit (CU) - PC PC: contains the memory address where the next instruction to be executed is stored; Since the addressing space of MM is 2 k, the dimension of PC is k (identical with the dimension of MAR); PC has the incrementing facility, as well as a parallel load facility. 18
19 Control Unit (CU) - IR Instruction Register (IR) contains the current instruction which is in execution; IR is divided in two sub-registers according to the format of the instruction: OPCODE Sub-Register ADDRESS Sub-Register The OPCODE sub-register communicates with the OPCODE Decoder to interpret the current instruction (to decide which function must be executed). 19
20 Control Unit (CU) - IR The Address sub-register contains an address of the MM where one operand is stored; The address field contains always the effective address of the operand (not the logical address); In case of two operands operation it is assumed that the other operand is in the Accumulator; For reason of simplicity, there are missing the Function Register and the Address Register. 20
21 Control Unit (CU) Control Block The central role in the CU; a.k.a. Control Sequencer (Control Generator); Generates the control signals for the other units according to the operation (function) to be executed; The inputs in the Control Block are: the decoded (interpreted) function, master clock (from a Clock Generator), status flags (from ALU). 21
22 I/O Unit Simple I/O devices; They are communicating with: ALU (Accumulator); MM (MBR); CU (Instruction Register). Main components: Input Register; Output Register. 22
23 I/O Unit INPUT REGISTER OUTPUT REGISTER 23
24 Register Structure of EEC Any digital system can be viewed as a union of generalized registers and the data paths interconnecting them; Example: MM: 2 k locations => 2 k registers, as each location is an n-bit register; ALU + CU => CPU; The entire structure of the EEC can be reduced to a set of registers. 24
25 Register Structure of EEC FR = flag register (status register), on n bits ACC = Accumulator, on n bits AX1, AX2, AX3 = auxiliary registers, on n bits IR = Instruction Register, on n bits xx = the opcode field of the instruction, on L bits yyyy = the address field of the instruction, on k bits PC = Program Counter, on k bits IU = Input unit, on n bits OU = Output unit, on n bits 25
26 EEC Functioning Acc. von Neumann's principles: both instructions and data are located in memory, in binary coded form; Any instruction is executed in two major phases: 1. FETCH: extracting the current instruction from the memory; decoding the OPCODE field. 2. EXECUTE: effective execution of the operation on the defined operands. 26
27 FETCH 2 READ UM UC CONTROL BLOC DE CONTROL BLOCK Incr MAR RI OPCODE ADRESA PC 2 MBR 3 27
28 FETCH 1) The initial address of the first instruction to be executed is already stored in PC; The content of PC is transferred to MAR; 2) CU is issuing a READ command to MM and a READ cycle is initiated; The content of the read location, representing an Instruction, is transferred to MBR; 3) From MBR the instruction is transferred to IR in CU; 4) The sub-register containing OPCODE is transferred to the Function (OPCODE) Decoder; Function (OPCODE) Decoder decodes the OPCODE and informs the Control Block of the CU, which, in turn, issues the appropriate control signals to the other units. 5) PC is incremented. 28
29 FETCH In a simplified RTL (Register Transfer Language) the FETCH phase can be described in the following form: 1. MAR (PC) 2. READ 3. IR (MBR) 4. DEC (IR) OPCODE 5. PC (PC)+1 6. Go to EXECUTE phase (IR) OPCODE : the content of the OPCODE sub-register of the IR; (PC): the content of the PC; (MBR): the content of the MBR. 29
30 FETCH CPU Memory FR AX1 READ 2 AX2 AX3 ACC zzzz x x y y y y (4.2.11) 4 IR x x y y y y 3 1 PC z z z z IU zzzz+1 5 OU 30
31 EXECUTE FETCH phase is common for all instructions; EXECUTE phase is specific for each kind of instructions; EXECUTE phase starts with extracting the operands from the memory => FETCH DATA; Therefore, EXECUTE: FETCH DATA + Actual Execution; Remember: with EEC, the Address field in the body of an Instruction represents the Effective Address (EA) of the operands (the address of the memory locations) and not the Logical Address (LA); EXECUTE is followed by FETCH of the next instruction; In what follows there are described extensively several simple instructions that are executed in EEC. 31
32 EEC Instructions - ADD The addition of two operands, where: the first operand is in the Accumulator, the second operand is in the memory at the address (yyyy), the sum is saved in the Accumulator. ACC (ACC) + (Memory) ADDRESS ; The address (yyyy) of the second operand is given in the body of the instruction (ADR field), being stored in the CU, in the (IR) ADDRESS sub-register. 32
33 EEC Instructions - ADD READ 33
34 EEC Instructions - ADD The entire operation takes place in the following steps: 1) Transfer the address field from (IR) ADDRESS into MAR transfer yyyy into MAR; 2) Initiate a READ operation from the location having the address yyyy; 3) Transfer of the extracted operand into the ALU, in register RX1; 4) Perform the addition between the contents of ACC and AX1, then store the result in the Accumulator; 5) Change the corresponding flags from the FR; 6) Go to the next FETCH phase. 34
35 EEC Instructions - ADD In RTL notation: 1) MAR (IR) ADDRESS 2) READ 3) (RX1) (Memory) ADDRESS 4) ACC (ACC) + (RX1) 5) FR New flags 6) Go to FETCH phase 35
36 EEC Instructions - SUB Subtraction operation, where: the subtrahend, i.e. the first operand: in ACC; the minuend, i.e. the second operand: in memory at the address specified explicitly in the instruction. Assumes reading from the memory the second operand and transferring it ALU, in RX1; After that, the subtraction takes place in the processing device; The difference is saved in ACC, accompanied by the corresponding changes of flags in the FR; ACC (ACC) - (Memory) ADDRESS 36
37 EEC Instructions - SUB SUBTRACTION 37
38 EEC Instructions - SUB Steps: 1) Transfer the address field from (IR) ADDRESS into MAR, which means transfer of yyyy into MAR; 2) Initiate a READ cycle, to extract the content of the location having the address yyyy; 3) Transfer of the extracted operand in ALU, in the register RX1; 4) The subtraction operation takes place in the processing device by subtracting the content of RX1 from the content of ACC; the difference is saved in the Accumulator; 5) Change the corresponding flags from the FR; 6) Go to the next FETCH phase. 38
39 EEC Instructions - LOAD Reading of an operand from the memory at the address (yyyy) specified in the instruction and transferring it into the Accumulator; ACC (Memory) ADDRESS Steps: 1. Transfer the address field from (IR) ADDRESS into MAR transfer yyyy into MAR; 2. Initiate a READ operation from the location with the address yyyy; 3. Transfer the extracted operand into the ALU, in the Accumulator and change the flags from FR. 4. Go to the next FETCH phase. 39
40 EEC Instructions - LOAD READ 40
41 EEC Instructions - LOAD If in the OPCODE there is provided a subfield specifying the destination register from the ALU, then there can be defined variants of the LOAD instruction: RX1 RX2 RX3 (Memory) ADDRESS (Memory) ADDRESS (Memory) ADDRESS 41
42 EEC Instructions - STORE The STORE Instruction ensures the transfer of the content of the Accumulator into the memory and storing it in the location having the address (yyyy) given in the instruction; ACC (Memory) ADDRESS Steps: 1. Transfer the content of the (IR) ADDRESS into the MAR; the content of MAR becomes yyyy; 2. Transfer the content of the Accumulator into the MBR; in this way the operand is prepared for further storing in the memory; 3. Initiate a WRITE operation, realising storing of the content from the MAR into the location with the address yyyy. 4. Go to the next FETCH phase. 42
43 EEC Instructions - STORE WRITE 43
44 EEC Instructions - STORE The STORE instruction can present variations by including in the OPCODE a subfield specifying the source register from ALU; in this way, the content of RX1, RX2 or RX3 can be stored in the memory at the specified address given in the instruction: (Memory) ADDRESS (Memory) ADDRESS (Memory) ADDRESS (RX1) (RX2) (RX3) 44
45 EEC Instructions JUMP (1) Unconditional JUMP at the address specified in the instruction transferring the address yyyy from the (IR) ADDRESS into the PC; Instead of using the address (zzzz+1), the address (yyyy) will be used in the next FETCH phase for extracting the next instruction from the memory.; (PC) (IR) ADDRESS Steps: 1. (PC) (IR) ADDRESS ; 2. Go to the next FETCH phase. 45
46 EEC Instructions JUMP (1) 46
47 EEC Instructions JUMP (2) Conditional JUMP tests a condition and if it is true then a jump takes place at the given address in the instruction; Otherwise the normal flow of execution continues the content of PC remains unaltered, so that the next FETCH will take place at the address (zzzz+1); If (condition) go to (address) else (zzzz+1); Steps: 1) Test the flag defined by the OPCODE; 2) If the condition is TRUE then transfer the address from (IR) ADDRESS into the PC, and go to 4); 3) If the condition is FALSE then go to 4); 4) Go to next FETCH phase. 47
48 EEC Instructions JUMP (2) 48
49 EEC Instructions JUMP (2) Test operation: checking a flag (a condition bit) from the Flag Register (FR): ZERO flag: the content of the Accumulator is 0; SIGN flag: reproducing the most significant bit of the Accumulator (0 -> a positive number is in the ACC; 1 -> a negative number is in the ACC); PARITY flag: shows if the number of 1 s in the Accumulator is odd or even; CARRY flag: if after an addition/subtraction operation it was generated a carry from the most significant column. 49
50 EEC Instructions INPUT The address field specifies one Input Register; INPUT Instruction reads the content of the addressed register and transfers it into the CPU, in the Accumulator; ACC (Input Register) ADDRESS Steps: 1. Identify the Input Register from the address stored in (IR) ADDRESS ; 2. READ the addressed Input Register and transfer its content into the ACC; 3. Go to next FETCH phase. 50
51 EEC Instructions INPUT 51
52 EEC Instructions OUTPUT The address field specifies one Output Registers representing the Output Unit; OUTPUT Instruction transfers the content of the ACC to the addressed Output Register and writes it in; (Output Register) ADDRESS ACC; Steps: 1. Identify the Output Register from the address existing in (IR) ADDRESS ; 2. Transfer the operand from ACC to the identified Output Register and write it in the register; 3. Go to next FETCH phase. 52
53 EEC Instructions OUTPUT 53
CS 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 informationComputer Organization II CMSC 3833 Lecture 33
Term MARIE Definition Machine Architecture that is Really Intuitive and Easy 4.8.1 The Architecture Figure s Architecture Characteristics: Binary, two s complement Stored program, fixed word length Word
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 informationCPU ARCHITECTURE. QUESTION 1 Explain how the width of the data bus and system clock speed affect the performance of a computer system.
CPU ARCHITECTURE QUESTION 1 Explain how the width of the data bus and system clock speed affect the performance of a computer system. ANSWER 1 Data Bus Width the width of the data bus determines the number
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 informationOutcomes. Lecture 13 - Introduction to the Central Processing Unit (CPU) Central Processing UNIT (CPU) or Processor
Lecture 13 - Introduction to the Central Processing Unit (CPU) Outcomes What is a CPU? How are instructions prepared by the CPU before execution? What registers and operations are involved in this preparation
More informationAdvanced Parallel Architecture Lesson 3. Annalisa Massini /2015
Advanced Parallel Architecture Lesson 3 Annalisa Massini - Von Neumann Architecture 2 Two lessons Summary of the traditional computer architecture Von Neumann architecture http://williamstallings.com/coa/coa7e.html
More informationWilliam Stallings Computer Organization and Architecture
William Stallings Computer Organization and Architecture Chapter 16 Control Unit Operations Rev. 3.2 (2009-10) by Enrico Nardelli 16-1 Execution of the Instruction Cycle It has many elementary phases,
More informationAS/A Level Computing Syllabus 2011
AS/A Level Computing Syllabus 2011 Section 3 - System Software Mechanisms - - Machine Architecture - - Database Theory - - Programming Paradigms - Chapter 3.3 Computer Architectures & Fetch-Execute Cycle
More informationBasics of Microprocessor
Unit 1 Basics of Microprocessor 1. Microprocessor Microprocessor is a multipurpose programmable integrated device that has computing and decision making capability. This semiconductor IC is manufactured
More informationDepartment of Computer and Mathematical Sciences. Lab 4: Introduction to MARIE
Department of Computer and Mathematical Sciences CS 3401 Assembly Language 4 Lab 4: Introduction to MARIE Objectives: The main objective of this lab is to get you familiarized with MARIE a simple computer
More informationsession 7. Datapath Design
General Objective: Determine the hardware requirement of a digital computer based on its instruction set. Specific Objectives: Describe the general concepts in designing the data path of a digital computer
More informationModule 5 - CPU Design
Module 5 - CPU Design Lecture 1 - Introduction to CPU The operation or task that must perform by CPU is: Fetch Instruction: The CPU reads an instruction from memory. Interpret Instruction: The instruction
More informationElementary Educational Computer
Chapter 5 Elemetary Educatioal Computer. Geeral structure of the Elemetary Educatioal Computer (EEC) The EEC coforms to the 5 uits structure defied by vo Neuma's model (.) All uits are preseted i a simplified
More informationClass Notes. Dr.C.N.Zhang. Department of Computer Science. University of Regina. Regina, SK, Canada, S4S 0A2
Class Notes CS400 Part VI Dr.C.N.Zhang Department of Computer Science University of Regina Regina, SK, Canada, S4S 0A2 C. N. Zhang, CS400 83 VI. CENTRAL PROCESSING UNIT 1 Set 1.1 Addressing Modes and Formats
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 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 informationGeneral purpose registers These are memory units within the CPU designed to hold temporary data.
Von Neumann Architecture Single processor is used Each instruction in a program follows a linear sequence of fetch decode execute cycle Program and data are held in same main memory Stored program Concept
More informationSCRAM Introduction. Philipp Koehn. 19 February 2018
SCRAM Introduction Philipp Koehn 19 February 2018 This eek 1 Fully work through a computer circuit assembly code Simple but Complete Random Access Machine (SCRAM) every instruction is 8 bit 4 bit for op-code:
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 informationComputer Architecture and Organization (CS-507)
Computer Architecture and Organization (CS-507) Muhammad Zeeshan Haider Ali Lecturer ISP. Multan ali.zeeshan04@gmail.com https://zeeshanaliatisp.wordpress.com/ Lecture 4 Basic Computer Function, Instruction
More informationMicrocomputer Architecture and Programming
IUST-EE (Chapter 1) Microcomputer Architecture and Programming 1 Outline Basic Blocks of Microcomputer Typical Microcomputer Architecture The Single-Chip Microprocessor Microprocessor vs. Microcontroller
More informationCPU Structure and Function
CPU Structure and Function Chapter 12 Lesson 17 Slide 1/36 Processor Organization CPU must: Fetch instructions Interpret instructions Fetch data Process data Write data Lesson 17 Slide 2/36 CPU With Systems
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 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 informationWilliam Stallings Computer Organization and Architecture
William Stallings Computer Organization and Architecture Chapter 11 CPU Structure and Function Rev. 3.2.1 (2005-06) by Enrico Nardelli 11-1 CPU Functions CPU must: Fetch instructions Decode instructions
More informationThe functional block diagram of 8085A is shown in fig.4.1.
Lecture-13 Internal Architecture of Intel 05A The functional block diagram of 05A is shown in fig.4.1. INTA INTR RST7.5 RST5.5 RST6.5 TRAP SOD SID INTERRUPT SERIAL I/O (Internal Bus) FR(S) IR() B() C()
More informationThe Stored Program Computer
The Stored Program Computer 1 1945: John von Neumann Wrote a report on the stored program concept, known as the First Draft of a Report on EDVAC also Alan Turing Konrad Zuse Eckert & Mauchly The basic
More informationMicro-Operations. execution of a sequence of steps, i.e., cycles
Micro-Operations Instruction execution execution of a sequence of steps, i.e., cycles Fetch, Indirect, Execute & Interrupt cycles Cycle - a sequence of micro-operations Micro-operations data transfer between
More informationChapter 20 - Microprogrammed Control (9 th edition)
Chapter 20 - Microprogrammed Control (9 th edition) Luis Tarrataca luis.tarrataca@gmail.com CEFET-RJ L. Tarrataca Chapter 20 - Microprogrammed Control 1 / 47 Table of Contents I 1 Motivation 2 Basic Concepts
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 informationProcessing Unit CS206T
Processing Unit CS206T Microprocessors The density of elements on processor chips continued to rise More and more elements were placed on each chip so that fewer and fewer chips were needed to construct
More informationLecture 5: Computer Organization Instruction Execution. Computer Organization Block Diagram. Components. General Purpose Registers.
Lecture 5: Computer Organization Instruction Execution Computer Organization Addressing Buses Fetch-Execute Cycle Computer Organization CPU Control Unit U Input Output Memory Components Control Unit fetches
More informationGeneral Purpose Processors
Calcolatori Elettronici e Sistemi Operativi Specifications Device that executes a program General Purpose Processors Program list of instructions Instructions are stored in an external memory Stored program
More informationASSEMBLY LANGUAGE MACHINE ORGANIZATION
ASSEMBLY LANGUAGE MACHINE ORGANIZATION CHAPTER 3 1 Sub-topics The topic will cover: Microprocessor architecture CPU processing methods Pipelining Superscalar RISC Multiprocessing Instruction Cycle Instruction
More informationComputer Organization. Structure of a Computer. Registers. Register Transfer. Register Files. Memories
Computer Organization Structure of a Computer Computer design as an application of digital logic design procedures Computer = processing unit + memory system Processing unit = control + Control = finite
More informationBasic Processing Unit: Some Fundamental Concepts, Execution of a. Complete Instruction, Multiple Bus Organization, Hard-wired Control,
UNIT - 7 Basic Processing Unit: Some Fundamental Concepts, Execution of a Complete Instruction, Multiple Bus Organization, Hard-wired Control, Microprogrammed Control Page 178 UNIT - 7 BASIC PROCESSING
More informationThe MARIE Architecture
The MARIE Machine Architecture that is Really Intuitive and Easy. We now define the ISA (Instruction Set Architecture) of the MARIE. This forms the functional specifications for the CPU. Basic specifications
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 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 informationWilliam Stallings Computer Organization and Architecture. Chapter 11 CPU Structure and Function
William Stallings Computer Organization and Architecture Chapter 11 CPU Structure and Function CPU Structure CPU must: Fetch instructions Interpret instructions Fetch data Process data Write data Registers
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 information(Advanced) Computer Organization & Architechture. Prof. Dr. Hasan Hüseyin BALIK (3 rd Week)
+ (Advanced) Computer Organization & Architechture Prof. Dr. Hasan Hüseyin BALIK (3 rd Week) + Outline 2. The computer system 2.1 A Top-Level View of Computer Function and Interconnection 2.2 Cache Memory
More informationDC57 COMPUTER ORGANIZATION JUNE 2013
Q2 (a) How do various factors like Hardware design, Instruction set, Compiler related to the performance of a computer? The most important measure of a computer is how quickly it can execute programs.
More informationREGISTER TRANSFER LANGUAGE
REGISTER TRANSFER LANGUAGE The operations executed on the data stored in the registers are called micro operations. Classifications of micro operations Register transfer micro operations Arithmetic micro
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 information4. MICROPROGRAMMED COMPUTERS
Structure of Computer Systems Laboratory No. 4 1 4. MICROPROGRAMMED COMPUTERS This laboratory work presents the principle of microprogrammed computers and an example of microprogrammed architecture, in
More informationComputer Architecture
Computer Architecture Topics: Machine Organization Machine Cycle Program Execution Machine Language Types of Memory & Access Von Neumann Design 1) Two key ideas 1) The stored program concept 1) instructions
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 informationCPU Structure and Function
Computer Architecture Computer Architecture Prof. Dr. Nizamettin AYDIN naydin@yildiz.edu.tr nizamettinaydin@gmail.com http://www.yildiz.edu.tr/~naydin CPU Structure and Function 1 2 CPU Structure Registers
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 informationCISC Processor Design
CISC Processor Design Virendra Singh Indian Institute of Science Bangalore virendra@computer.org Lecture 3 SE-273: Processor Design Processor Architecture Processor Architecture CISC RISC Jan 21, 2008
More informationCHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY COMMUNICATION ENGINEERING REG 2008 TWO MARKS QUESTION AND ANSWERS
CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY B.E.,/B.TECH., ELECTRONICS EC6504 MICROPROCESSORS & MICRO CONTROLLERS COMMUNICATION ENGINEERING REG 2008 TWO MARKS QUESTION AND ANSWERS UNIT 1 AND 2 CS SUBJECT
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 informationChapter 4. MARIE: An Introduction to a Simple Computer
Chapter 4 MARIE: An Introduction to a Simple Computer Chapter 4 Objectives Learn the components common to every modern computer system. Be able to explain how each component contributes to program execution.
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 informationPart A Questions 1. What is an ISP? ISP stands for Instruction Set Processor. This unit is simply called as processor which executes machine instruction and coordinates the activities of other units..
More informationThe Instruction Set. Chapter 5
The Instruction Set Architecture Level(ISA) Chapter 5 1 ISA Level The ISA level l is the interface between the compilers and the hardware. (ISA level code is what a compiler outputs) 2 Memory Models An
More informationA3 Computer Architecture
A3 Computer Architecture Engineering Science 3rd year A3 Lectures Prof David Murray david.murray@eng.ox.ac.uk www.robots.ox.ac.uk/ dwm/courses/3co Michaelmas 2000 1 / 1 2: Introduction to the CPU 3A3 Michaelmas
More informationUNIT- 5. Chapter 12 Processor Structure and Function
UNIT- 5 Chapter 12 Processor Structure and Function CPU Structure CPU must: Fetch instructions Interpret instructions Fetch data Process data Write data CPU With Systems Bus CPU Internal Structure Registers
More informationChapter 3 - Top Level View of Computer Function
Chapter 3 - Top Level View of Computer Function Luis Tarrataca luis.tarrataca@gmail.com CEFET-RJ L. Tarrataca Chapter 3 - Top Level View 1 / 127 Table of Contents I 1 Introduction 2 Computer Components
More informationSTRUCTURE OF DESKTOP COMPUTERS
Page no: 1 UNIT 1 STRUCTURE OF DESKTOP COMPUTERS The desktop computers are the computers which are usually found on a home or office desk. They consist of processing unit, storage unit, visual display
More informationWilliam Stallings Computer Organization and Architecture 10 th Edition Pearson Education, Inc., Hoboken, NJ. All rights reserved.
+ William Stallings Computer Organization and Architecture 10 th Edition 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved. 2 + Chapter 3 A Top-Level View of Computer Function and Interconnection
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 informationREGISTER TRANSFER AND MICROOPERATIONS
REGISTER TRANSFER AND MICROOPERATIONS Register Transfer Language Register Transfer Bus and Memory Transfers Arithmetic Microoperations Logic Microoperations Shift Microoperations Arithmetic Logic Shift
More informationCpE242 Computer Architecture and Engineering Designing a Single Cycle Datapath
CpE242 Computer Architecture and Engineering Designing a Single Cycle Datapath CPE 442 single-cycle datapath.1 Outline of Today s Lecture Recap and Introduction Where are we with respect to the BIG picture?
More informationSAE5C Computer Organization and Architecture. Unit : I - V
SAE5C Computer Organization and Architecture Unit : I - V UNIT-I Evolution of Pentium and Power PC Evolution of Computer Components functions Interconnection Bus Basics of PCI Memory:Characteristics,Hierarchy
More informationCOMPUTER ORGANIZATION
COMPUTER ORGANIZATION INDEX UNIT-II PPT SLIDES Srl. No. Module as per Session planner Lecture No. PPT Slide No. 1. Register Transfer language 2. Register Transfer Bus and memory transfers 3. Arithmetic
More informationCPE 323 MSP430 INSTRUCTION SET ARCHITECTURE (ISA)
CPE 323 MSP430 INSTRUCTION SET ARCHITECTURE (ISA) Aleksandar Milenković Email: milenka@uah.edu Web: http://www.ece.uah.edu/~milenka Objective Introduce MSP430 Instruction Set Architecture (Class of ISA,
More informationRegister Transfer and Micro-operations
Register Transfer Language Register Transfer Bus Memory Transfer Micro-operations Some Application of Logic Micro Operations Register Transfer and Micro-operations Learning Objectives After reading this
More informationSystems Architecture
Systems Architecture Friday, 27 April 2018 Systems Architecture Today s Objectives: 1. To be able to explain the purposes and uses of embedded systems. 2. To be able to describe how the CPU executes instructions
More informationComputer Organization
Computer Organization! Computer design as an application of digital logic design procedures! Computer = processing unit + memory system! Processing unit = control + datapath! Control = finite state machine
More information9/25/ Software & Hardware Architecture
8086 Software & Hardware Architecture 1 INTRODUCTION It is a multipurpose programmable clock drive register based integrated electronic device, that reads binary instructions from a storage device called
More informationComputer Science 324 Computer Architecture Mount Holyoke College Fall Topic Notes: MIPS Instruction Set Architecture
Computer Science 324 Computer Architecture Mount Holyoke College Fall 2009 Topic Notes: MIPS Instruction Set Architecture vonneumann Architecture Modern computers use the vonneumann architecture. Idea:
More informationBlock diagram view. Datapath = functional units + registers
Computer design an application of digital logic design procedures Computer = processing unit + memory system Processing unit = control + datapath Control = finite state machine inputs = machine instruction,
More informationCOMPUTER ARCHITECTURE AND ORGANIZATION Register Transfer and Micro-operations 1. Introduction A digital system is an interconnection of digital
Register Transfer and Micro-operations 1. Introduction A digital system is an interconnection of digital hardware modules that accomplish a specific information-processing task. Digital systems vary in
More informationComputer System. Hiroaki Kobayashi 7/25/2011. Agenda. Von Neumann Model Stored-program instructions and data are stored on memory
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
More informationRunning Applications
Running Applications Computer Hardware Central Processing Unit (CPU) CPU PC IR MAR MBR I/O AR I/O BR To exchange data with memory Brain of Computer, controls everything Few registers PC (Program Counter):
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 informationThe Von Neumann Architecture. Designing Computers. The Von Neumann Architecture. CMPUT101 Introduction to Computing - Spring 2001
The Von Neumann Architecture Chapter 5.1-5.2 Von Neumann Architecture Designing Computers All computers more or less based on the same basic design, the Von Neumann Architecture! CMPUT101 Introduction
More informationObjective now How are such control statements registers and other components Managed to ensure proper execution of each instruction
Control and Control Components Introduction Software application similar to familiar nested Russian dolls As we ve observed earlier Application written in some high level programming language C, C++, C#,
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 informationWilliam Stallings Computer Organization and Architecture
William Stallings Computer Organization and Architecture Chapters 1 & 3 System Architecture Rev. 3.1.2 (2011-12) by Enrico Nardelli 1&3-1 Le persone che scoprono la potenza e la bellezza di idee di alto
More informationCMPUT101 Introduction to Computing - Summer 2002
7KH9RQ1HXPDQQ$UFKLWHFWXUH Chapter 5.1-5.2 Von Neumann Architecture 'HVLJQLQJ&RPSXWHUV All computers more or less based on the same basic design, the Von Neumann Architecture! CMPUT101 Introduction to Computing
More informationMARIE: An Introduction to a Simple Computer
MARIE: An Introduction to a Simple Computer Outline Learn the components common to every modern computer system. Be able to explain how each component contributes to program execution. Understand a simple
More informationDesigning Computers. The Von Neumann Architecture. The Von Neumann Architecture. The Von Neumann Architecture
Chapter 5.1-5.2 Designing Computers All computers more or less based on the same basic design, the Von Neumann Architecture! Von Neumann Architecture CMPUT101 Introduction to Computing (c) Yngvi Bjornsson
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 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 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 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 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 informationHardware Revision. AQA Computing AS-Level COMP2. 63 minutes. 60 marks. Page 1 of 24
Hardware Revision AQA Computing AS-Level COMP2 204 63 minutes 60 marks Page of 24 Q. The diagram below shows some of the components of a computer system. (a) Suggest names for the components numbered to
More informationComputer Architecture and Data Manipulation. Von Neumann Architecture
Computer Architecture and Data Manipulation Chapter 3 Von Neumann Architecture Today s stored-program computers have the following characteristics: Three hardware systems: A central processing unit (CPU)
More informationLecture-12 INTERNAL ARCHITECTURE OF INTEL 8085: The Functional Block Diagram Of 8085 Is Shown In Fig 16.
Lecture-12 INTERNAL ARCHITECTURE OF INTEL 8085: The Functional Block Diagram Of 8085 Is Shown In Fig 16. It consists of five essential blocks. (1) ARITHMEDIC LOGIC SECTION (2) REGISTER SECTION (3) THE
More informationThe MIPS Processor Datapath
The MIPS Processor Datapath Module Outline MIPS datapath implementation Register File, Instruction memory, Data memory Instruction interpretation and execution. Combinational control Assignment: Datapath
More informationREGISTER TRANSFER AND MICROOPERATIONS
1 REGISTER TRANSFER AND MICROOPERATIONS Register Transfer Language Register Transfer Bus and Memory Transfers Arithmetic Microoperations Logic Microoperations Shift Microoperations Arithmetic Logic Shift
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 informationCPU Structure and Function. Chapter 12, William Stallings Computer Organization and Architecture 7 th Edition
CPU Structure and Function Chapter 12, William Stallings Computer Organization and Architecture 7 th Edition CPU must: CPU Function Fetch instructions Interpret/decode instructions Fetch data Process data
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 informationUNIVERSITY OF CALIFORNIA, DAVIS Department of Electrical and Computer Engineering. EEC180B DIGITAL SYSTEMS II Fall 1999
UNIVERSITY OF CALIFORNIA, DAVIS Department of Electrical and Computer Engineering EEC180B DIGITAL SYSTEMS II Fall 1999 Lab 7-10: Micro-processor Design: Minimal Instruction Set Processor (MISP) Objective:
More information