Computer Architecture

Size: px
Start display at page:

Download "Computer Architecture"

Transcription

1 Computer Architecture Slide Sets WS 2013/2014 Prof. Dr. Uwe Brinkschulte M.Sc. Benjamin Betting Part 3 Fundamentals in Computer Architecture Computer Architecture Part 3 page 1 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

2 Basic definitions Computer Architecture defines the behavior and the attributes of a computer as seen by the programmer and user, no internal structural or organization details Computer Organization the internal organization (datapaths, memory structures, input/output structures, e.g.) of a computer Computer Architecture Part 3 page 2 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

3 Basic definitions Processor Architecture Microarchitecture Operation Principle part of Computer Architecture, defines the view of the processor visible to the programmer or compiler developer, interface between hard- and software, no implementation details defines the concrete implementation of a processor architecture, several implementations of the same processor architecture might exist (e.g. Intel IA32) defines the way the processor processes instructions and data Computer Architecture Part 3 page 3 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

4 Basic definitions Software Hardware Memory Computer Architecture Processor Architecture Processor Microarchitecture Input/ Output Computer Organization Operation Principle Computer Architecture Part 3 page 4 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

5 Basic definitions Instruction Set defines the set of instructions executable by the given processor architecture Instruction Set Architecture often used as a synonym to processor (ISA) architecture Instruction Format defines the way operands are accessed by instructions, instructions usually are divided into an opcode (tells what to do) and one ore more operands (tells on what to apply the opcode) Computer Architecture Part 3 page 5 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

6 Basic instruction formats 3-Address-Format 2-Address-Format 1-Address-Format 0-Address-Format Opcode, Dest, Src1, Src2 e.g. add C, B, A (C = A + B) Opcode, Dest/Src1, Src2 e.g. add B, A (B = A + B) Opcode, Src e.g. add B (Accu = Accu + B) a special accumulator register (Accu) is used Opcode e.g. push A (C = A + B) push B add pop C Stack based architecture Computer Architecture Part 3 page 6 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

7 More basic definitions Central Processing Unit (CPU, Processor) central unit of a computer, controls all computer operations consists of a control unit and a functional unit Instructions (command) operands (data) control unit functional unit (datapath) The operation principle of a processor can be a sequential or a parallel processing of instructions (the program) The processing in one or more functional units is controlled by the control unit. results Computer Architecture Part 3 page 7 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

8 More basic definitions Microprocessor a CPU on a single chip Microprocessor-System a technical system containing at least one microprocessor (may not be a computer, e.g. a phone) Microcomputer a computer build from one or more micropressors, contains also memory, input/output (IO) and a connection system (bus) Microcomputer-System a microcomputer with attached peripherals (e.g. keyboard, screen, mouse, printer, etc.) Computer Architecture Part 3 page 8 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

9 More basic definitions Microcomputer Microprocessor, CPU control unit functional unit (datapath) connection (bus) memory (program, data) input/output peripherals Microcomputer-System Computer Architecture Part 3 page 9 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

10 More basic definitions Memory consists of a linear set of memory cells memory cells mostly have uniform size (e.g. a byte) memory cells are identified by an address Input/Output interface to the peripherals like memory, IO units are identified by an address address data address data memory Computer Architecture Part 3 page 10 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting IO

11 More basic definitions Bus Data Bus Address Bus Control Bus connection system between CPU, memory and IO unit part of the bus where data (instructions or operands) is transfered (usually bidirectional) part of the bus where address information (memory or IO addresses) is transfered (usual unidirectional) part of the bus where control and status signals are transferred (partly unidirectional, partly bidirectional) Data Bus Bus Address Bus Control Bus CPU side Computer Architecture Part 3 page 11 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting memory/io side

12 The Von-Neumann-Architecture The operation principle of a Von-Neumann-architecture defines that instructions are processed sequentially. Instructions and data are stored in the same main memory The opcode is to be applied to the operands. Depending on the opcode, the operands are interpreted as data or memory addresses of data. In the latter case, the instruction is applied to the content of the addressed memory cell. Computer Architecture Part 3 page 12 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

13 The Von-Neumann-Architecture An operand may also be interpreted as a jump pointer to an instruction. Since instructions and data reside in the same memory, a memory address may contain a data value or an instruction. Interpretation of a memory cell s content depends on the opcode of the instruction only. CPU address data code main memory Computer Architecture Part 3 page 13 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

14 The Von-Neumann-Architecture program and data memory processor addresses of data or commands control signals control unit micro commands condition codes datapath Shared memory for program and data, sequential access. Von-Neumann- Architecture: simple structure (only one memory) program and data must access the memory one after another data and instructions Computer Architecture Part 3 page 14 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

15 Operation Principle of Von-Neumann-Architecture Demonstration data address instruction operand main memory instruction operand result address control unit decode result functional unit (datapath) execute control Von-Neumann bottleneck! Computer Architecture Part 3 page 15 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

16 The Von-Neumann-Architecture - necessary sequential steps to execute an instruction 1. Send instruction i address 2. Fetch instruction i 3. Decode instruction i 4. Send operand address i 5. Fetch operand i 6. Execute instruction i 7. Send result address & result i 8. Send instruction address i step cycle Computer Architecture Part 3 page 16 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

17 The Harvard-Architecture program memory data memory processor instructions control signals instruction address control unit (program counter, instruction register, control register) condition codes micro instructions function unit (data path) (data register, ALU, shifter, MUX, DEMUX) results operands control signals The processor is augmented by a program memory which stores the program to be executed. Data is stored in a second memory, the data memory. Harvard-Architecture: complex structure (two memories) program and data can access their memories at the same time Computer Architecture Part 3 page 17 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

18 Operation Principle of Havard-Architecture Demonstration data address instruction program memory instruction operand result address address control unit decode result functional unit (datapath) execute operand data memory control Computer Architecture Part 3 page 18 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

19 The Havard-Architecture - necessary sequential steps to execute an instruction 1. Send instruction i address 2. Fetch instruction i 3. Decode instruction i 4. Send operand address i 5. Fetch operand i send instruction i+1 address 6. Execute instruction i fetch instruction i+1 7. Send result address & result i decode instruction i+1 8. Send operand address i+1 9. Fetch operand i+1 send instruction i+2 address 10. Execute instruction i+1 fetch instruction i Send result address & result i+1 decode instruction i i overlap 4 step cycle i+1 Computer Architecture Part 3 page 19 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

20 The microprocessor receives the instructions in sequential order from the main memory. Therefore, the control unit contains a program counter (PC) to address the instructions It decodes each instruction and executes an operation on the content of the memory cell addressed by the instruction. In Von-Neumann-Architecture, the interpretation of the memory cell s content (data or instruction) depends only on the information in the instruction. Data and instructions are stored in the main memory in the same way and are indistinguishable from memory side therefore. The memory cells themselves don t keep track of the type of their content. The only structuring is the size of the smallest addressable unit given by the bit width (8, 16, 32, or 64). Computer Architecture Part 3 page 20 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

21 The computer executes three phases which may overlap: In the instruction retrieval phase the content of a memory cell which is addressed by the program counter is fetched. In the decode phase the content of the retrieved memory cell is interpreted as an instruction. In the execution phase the contents of one or two memory cells are fetched and processed depending on the command given by the opcode. It is thereby assumed that the memory cells contain data which are conform to the given preconditions. Computer Architecture Part 3 page 21 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

22 Sequential execution of a program program control unit instruction instr. 1 instr. 2 instr. 3 instr. 4 Interpretation of the instruction control commands Computer Architecture Part 3 page 22 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

23 Computer: CPU + Memory Model: Bus complexity: b Bits (word length) bus lines = #b + ld(w) + #control Timing: CPU address control W Words memory clock address address valid data read/write control data bus data valid memory access Computer Architecture Part 3 page 23 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

24 CPU as FSMD model (Finite State Machine with Datapath) control flow data flow instruction (program) data in state register data register next state output function data path control functional units control unit data path control commands data out Computer Architecture Part 3 page 24 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

25 Data path (bus oriented) e.g. 2 functional units operand registers Register 1 Register 2 Register 3 control lines switches (tri state) FU1 FU2 bus lines functional units Computer Architecture Part 3 page 25 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

26 Instruction cycle based on FSMD model Fetch: IR <= databus; PC <= PC + 1; nextstate <= decode;... Execute_sub1... Execute_add1: accu<=accu + d0; -- prepare fetch nextstate <= fetch; addressbus <= PC; Decode: case IR is when add: nextstate <= Execute_add1; when sub: nextstate <= Execute_sub1; when load: nextstate<= Execute_load1; when store: nextstate <= Execute_store1: end case; Computer Architecture Part 3 page 26 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

27 To execute an instruction, it is loaded into the instruction register IR and decoded. The decoding is done by the FSM control unit (CU). Decoding the instruction yields the control signals for the arithmetic logic units (ALU) in the datapath. It furthermore selects up to three register two for reading and one for writing (three-ported register file). It also provides the write enable signals for the write operations The ALU combines two operands, which are taken from the register file or from the instruction itself. Computer Architecture Part 3 page 27 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

28 In case of a LOAD instruction, the ALU calculates the effective address. Then, the contents of the addressed memory cell is loaded into the register file. On a STORE-Instruction the calculation of the effective address is also necessary. The operand to store must be made available at the same time. Furthermore, the ALU generates flags (CC: condition codes), which can be evaluated by the control unit. The program counter (PC) holds the address of the instruction to be executed next. It is normally incremented automatically (+). Computer Architecture Part 3 page 28 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

29 Instruction cycle of an existing sequential processor in pseudocode 1: forever { 2: npc = pc + 1 3: instr = prog [pc] 4: opcode 5: a = data [source addr1] 6: b = data [source addr2] 7: d = dest addr +1 8: case (opcode) { PC instruc -tion memory data memory ALU 9: ADD: data [d] = a + b 10: SUB: data [d] = a - b 11: : 12: BEQ: if (a == b) npc = d instruction decoder 13: : 14: } 15: pc = npc 16: } Computer Architecture Part 3 page 29 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

30 Instruction cycle of an existing sequential processor Executing a sample instruction: Add content of data memory at address 10 to content of data memory at address F0, store the result at address 10 (2-address format) Instruction in fictive assembler mnemonics: ADD (F0),(10) Instruction in fictive machine code: 7A F0 10 Instruction address in instruction memory: 50 Content of data memory at address 10: 05 Content of data memory at address F0: 02 Computer Architecture Part 3 page 30 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

31 Instruction cycle of an existing sequential processor Fetching the Instruction +1 PC 50 instruc -tion memory data memory ALU instruction decoder Computer Architecture Part 3 page 31 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

32 Instruction cycle of an existing sequential processor Decoding the Instruction +1 PC 50 instruc -tion memory 7A F0 10 data memory ALU instruction decoder Computer Architecture Part 3 page 32 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

33 Instruction cycle of an existing sequential processor Fetching the Operands +1 PC 50 instruc -tion memory 7A F0 10 F0 10 data memory ALU instruction decoder Computer Architecture Part 3 page 33 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

34 Instruction cycle of an existing sequential processor Executing the Instruction +1 PC 50 instruc -tion memory 7A F0 10 F0 10 data memory instruction decoder ALU 7A Computer Architecture Part 3 page 34 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

35 Instruction cycle of an existing sequential processor Storing the Result +1 PC 50 instruc -tion memory 7A F0 10 F0 10 data memory instruction decoder ALU 07 7A Computer Architecture Part 3 page 35 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

36 Instruction cycle of an existing sequential processor Incrementing the PC PC 50 instruc -tion memory data memory ALU instruction decoder Computer Architecture Part 3 page 36 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

37 Multiplexer based 3 address Load-Store architecture for a CPU Computer Architecture Part 3 page 37 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

38 The hardware cost of the Von-Neumann-principle is minimal. It had its value in times when the hardware components were the biggest cost factor of a computer and optimal memory utilization was the most important design goal. However, in the last three decades the cost situation has changed fundamentally due to the development of semiconductor technology. As shown, particularly the connection between main memory and processor proves to be a bottleneck, as all data and instructions have to be transported by it. Computer Architecture Part 3 page 38 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

39 Today, the processor s instruction execution is significantly faster than the memory access, which even worsens the situation. Processor techniques like instruction pipelining, superscalar principle, multithreading and multicores increased the data requirements considerably. Therefore, the pure Von-Neumann-Architecture principle is dropped in modern microprocessors. Cache-based Harvard-Architectures in combination with time and spatial parallelism can be found Computer Architecture Part 3 page 39 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

40 Classifications As seen, an instruction cycle consists of the part cycles: 1. instruction fetch 2. decode 3. instruction execute. In each instruction cycle at most one instruction is fetched from the main memory and then executed. This results in a sequential control flow. This computer class is called SISD: Single Instruction Single Data Computer Architecture Part 3 page 40 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

41 Flynn Classification SISD Single Instruction Single Data Von-Neumann SIMD Single Instruction Multiple Data Array- or Vectorprocessors, Multimedia Extensions MISD Multiple Instruction Single Data Fault-Tolerance (controversial) MIMD Multiple Instruction Multiple Data GRID, Cloud, Multicore, Supercomputers Computer Architecture Part 3 page 41 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

42 Classification by Control Unit There are basically two possible structures for the control unit: direct (hardwired) control micro programmed control The hardwired solution is mainly used in RISC designs whereas microprogramming is more common among CISC. The hardwired solution uses a FSM consisting of a hardwired combinatorial circuit to decode the instructions. This requires simple and regular instructions such as it is given by a RISC-ISA. Complex instructions, which are common in CISC, are interpreted using a micro programmed control. Computer Architecture Part 3 page 42 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

43 Hardwired control data hardwired control opcode; addr. etc. instruction register (IR) ALU complex combinatorial network state register control signals Computer Architecture Part 3 page 43 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

44 Processor (CPU) with hardwired control unit program complex comb. network state register control status Functionalunit multiplexer data register Computer Architecture Part 3 page 44 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

45 Implementation of a microprogrammed FSM next state vector control vector word lines x t Decoder bit lines z t+1 y t+1 z t register clock y t Computer Architecture Part 3 page 45 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

46 Adding the datapath to the microprogrammed FSM Instruction (program) decoder microprogram memory control path C next address state register C ALU control register operands ALU result data path Computer Architecture Part 3 page 46 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

47 Adding a sequencer to allow more comfortable microprogram operations Instruction (program) decoder microprogram memory control path Sequencer, µp counter C sequencer control operands C ALU control register ALU result data path Computer Architecture Part 3 page 47 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

48 Microprogrammed control (micro) status information from ALU (FLAG) instruction data bus µbz µps sequencer opcode addr. etc. mapping ROM D start address micro instruction counter instruction register microprogram micro program memory µir address part micro instruction register control part Computer Architecture Part 3 page 48 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting control signals

49 Processor (CPU) with micro programmed control unit program Sequencer Micro program state register control status Functionalunit multiplexer data register Computer Architecture Part 3 page 49 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

50 The most important parts of micro programmed instruction decoding are: micro program memory (µpm) mapping -ROM micro instruction counter µbz micro instruction register µir sequencer IR is the instruction register that holds the current instruction to be executed. A decoder or mapping -ROM(D) maps opcodes to micro program address. The control unit interprets each instruction using a microprogram subroutine, which is stored in the micro program memory. Computer Architecture Part 3 page 50 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

51 A microprogram consists of a series of discrete microprogram instructions (micro instructions). When an instruction is executed, the sequence of micro instructions, whose start address is determined from the opcode, is processed. The start address is loaded into the µbz. The addressed micro instruction is loaded into the micro instruction register. The micro program sequencer determines the address of the next micro instruction according to the control and address codes of the current one as well as the status flags of the ALU. This micro instruction is loaded into the micro instruction register. Selecting the next micro instruction and controlling the data path is done in parallel. Computer Architecture Part 3 page 51 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

52 Horizontal microprogramming is characterized by a direct mapping of the bits of the micro instruction onto the control signals (micro order). microprogram memory register... sequencer control ALU control bus control fully parallel Computer Architecture Part 3 page 52 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

53 Quasi-horizontal microprogramming differs therein that each micro instruction is grouped in bit fields, which have to be decoded. microprogram memory register field select decoder... partly parallel sequencer control ALU control bus control These fields may hold the address of the next micro instruction, the micro order for the ALU, numbers of registers or control signals for multiplexers. The associated decoders are usually part of the data path. The width of a microprogram word is shrinked while parallelism is reduced Computer Architecture Part 3 page 53 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

54 If the micro instructions are being decoded using firmware, this is called nanoprogramming. microprogram memory register field select nanoprogram memory partly sequential register... sequencer control ALU control bus control Computer Architecture Part 3 page 54 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

55 SISD computers are usually classified based on: The number of separate paths for instructions and operands (Von- Neumann and Harvard architecture respectively) The instruction set architecture (CISC/RISC) The location, where operands are placed for processing: - memory-memory machine: The operands are loaded directly from the main memory. Fast registers as buffers for operands are abandoned. - virtual-register machine: A part of the main memory is used like a register file. - register-register or load/store machine: The operands have to be placed in registers before processing. This kind of architecture is going to be described in detail in the following. Computer Architecture Part 3 page 55 of 55 Prof. Dr. Uwe Brinkschulte, M.Sc. Benjamin Betting

omputer Design Concept adao Nakamura

omputer Design Concept adao Nakamura omputer Design Concept adao Nakamura akamura@archi.is.tohoku.ac.jp akamura@umunhum.stanford.edu 1 1 Pascal s Calculator Leibniz s Calculator Babbage s Calculator Von Neumann Computer Flynn s Classification

More information

Advanced Parallel Architecture Lesson 3. Annalisa Massini /2015

Advanced 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 information

Advanced Parallel Architecture Lesson 3. Annalisa Massini /2015

Advanced 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 information

EE 3170 Microcontroller Applications

EE 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 information

RISC Processors and Parallel Processing. Section and 3.3.6

RISC Processors and Parallel Processing. Section and 3.3.6 RISC Processors and Parallel Processing Section 3.3.5 and 3.3.6 The Control Unit When a program is being executed it is actually the CPU receiving and executing a sequence of machine code instructions.

More information

COMPUTER STRUCTURE AND ORGANIZATION

COMPUTER 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 information

Microcomputer Architecture and Programming

Microcomputer 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 information

CC312: Computer Organization

CC312: 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 information

Processing Unit CS206T

Processing 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 information

Digital System Design Using Verilog. - Processing Unit Design

Digital System Design Using Verilog. - Processing Unit Design Digital System Design Using Verilog - Processing Unit Design 1.1 CPU BASICS A typical CPU has three major components: (1) Register set, (2) Arithmetic logic unit (ALU), and (3) Control unit (CU) The register

More information

ASSEMBLY LANGUAGE MACHINE ORGANIZATION

ASSEMBLY 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 information

Computer Architecture 2/26/01 Lecture #

Computer 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 information

MARIE: An Introduction to a Simple Computer

MARIE: 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 information

3.1 Description of Microprocessor. 3.2 History of Microprocessor

3.1 Description of Microprocessor. 3.2 History of Microprocessor 3.0 MAIN CONTENT 3.1 Description of Microprocessor The brain or engine of the PC is the processor (sometimes called microprocessor), or central processing unit (CPU). The CPU performs the system s calculating

More information

Lecture1: introduction. Outline: History overview Central processing unite Register set Special purpose address registers Datapath Control unit

Lecture1: introduction. Outline: History overview Central processing unite Register set Special purpose address registers Datapath Control unit Lecture1: introduction Outline: History overview Central processing unite Register set Special purpose address registers Datapath Control unit 1 1. History overview Computer systems have conventionally

More information

Computer Architecture Dr. Charles Kim Howard University

Computer Architecture Dr. Charles Kim Howard University EECE416 Microcomputer Fundamentals Computer Architecture Dr. Charles Kim Howard University 1 Computer Architecture Computer Architecture Art of selecting and interconnecting hardware components to create

More information

CPU 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. 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 information

Introduction to Computers - Chapter 4

Introduction to Computers - Chapter 4 Introduction to Computers - Chapter 4 Since the invention of the transistor and the first digital computer of the 1940s, computers have been increasing in complexity and performance; however, their overall

More information

MARIE: An Introduction to a Simple Computer

MARIE: 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 information

SISTEMI EMBEDDED. Computer Organization Central Processing Unit (CPU) Federico Baronti Last version:

SISTEMI EMBEDDED. Computer Organization Central Processing Unit (CPU) Federico Baronti Last version: SISTEMI EMBEDDED Computer Organization Central Processing Unit (CPU) Federico Baronti Last version: 20170516 Processing Unit A processor reads program instructions from the computer s memory and executes

More information

Instruction Register. Instruction Decoder. Control Unit (Combinational Circuit) Control Signals (These signals go to register) The bus and the ALU

Instruction Register. Instruction Decoder. Control Unit (Combinational Circuit) Control Signals (These signals go to register) The bus and the ALU Hardwired and Microprogrammed Control For each instruction, the control unit causes the CPU to execute a sequence of steps correctly. In reality, there must be control signals to assert lines on various

More information

Micro computer Organization

Micro computer Organization Micro computer Organization I Base Basic Components CPU SYSTEM BUSES VDD CLK RESET 1 MPU vs MCU Microprocessor Unit (MPU) CPU (called Microprocessor) is a die All components external to die Basically on

More information

Register-Level Design

Register-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 information

Computer Organization Question Bank

Computer Organization Question Bank Id 1 Question Mass produced first working machine (50 copies) was invented by A C D Answer Wilhelm Schickhard laise Pascal Gottfried Liebniz Charles abbage Id 2 Question Father of Modern Computer A Wilhelm

More information

THE MICROPROCESSOR Von Neumann s Architecture Model

THE 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 information

Computer Systems. Binary Representation. Binary Representation. Logical Computation: Boolean Algebra

Computer 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 information

DC57 COMPUTER ORGANIZATION JUNE 2013

DC57 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 information

CPU Structure and Function

CPU 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 information

5 Computer Organization

5 Computer Organization 5 Computer Organization 5.1 Foundations of Computer Science ã Cengage Learning Objectives After studying this chapter, the student should be able to: q List the three subsystems of a computer. q Describe

More information

Computer Architecture

Computer Architecture Computer Architecture Slide Sets WS 2013/2014 Prof. Dr. Uwe Brinkschulte M.Sc. Benjamin Betting Part 10 Thread and Task Level Parallelism Computer Architecture Part 10 page 1 of 36 Prof. Dr. Uwe Brinkschulte,

More information

General Purpose Processors

General 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 information

Chapter 1 : Introduction

Chapter 1 : Introduction Chapter 1 Introduction 1.1 Introduction A Microprocessor is a multipurpose programmable, clock driven, register based electronic device that reads binary instructions from a storage device called memory,

More information

Chapter 4. MARIE: An Introduction to a Simple Computer

Chapter 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 information

Computer Architecture

Computer Architecture Computer Architecture Lecture 1: Digital logic circuits The digital computer is a digital system that performs various computational tasks. Digital computers use the binary number system, which has two

More information

Computer Organization + DIGITAL DESIGN

Computer Organization + DIGITAL DESIGN Computer Organization + DIGITAL DESIGN SUKHENDU DAS www.cse.iitm.ac.in/~sdas in/~sdas sdas@iitm.ac.in Computer Level Hierarchy Program Execution Translation: The entire high level program is translated

More information

Memory General R0 Registers R1 R2. Input Register 1. Input Register 2. Program Counter. Instruction Register

Memory 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 information

Micro-programmed Control Ch 15

Micro-programmed Control Ch 15 Micro-programmed Control Ch 15 Micro-instructions Micro-programmed Control Unit Sequencing Execution Characteristics 1 Hardwired Control (4) Complex Fast Difficult to design Difficult to modify Lots of

More information

Fig 1. Block diagram of a microcomputer

Fig 1. Block diagram of a microcomputer Computer: A computer is a multipurpose programmable machine that reads binary instructions from its memory, accepts binary data as input,processes the data according to those instructions and provides

More information

Machine Instructions vs. Micro-instructions. Micro-programmed Control Ch 15. Machine Instructions vs. Micro-instructions (2) Hardwired Control (4)

Machine Instructions vs. Micro-instructions. Micro-programmed Control Ch 15. Machine Instructions vs. Micro-instructions (2) Hardwired Control (4) Micro-programmed Control Ch 15 Micro-instructions Micro-programmed Control Unit Sequencing Execution Characteristics 1 Machine Instructions vs. Micro-instructions Memory execution unit CPU control memory

More information

CHAPTER 4 MARIE: An Introduction to a Simple Computer

CHAPTER 4 MARIE: An Introduction to a Simple Computer CHAPTER 4 MARIE: An Introduction to a Simple Computer 4.1 Introduction 177 4.2 CPU Basics and Organization 177 4.2.1 The Registers 178 4.2.2 The ALU 179 4.2.3 The Control Unit 179 4.3 The Bus 179 4.4 Clocks

More information

Micro-programmed Control Ch 15

Micro-programmed Control Ch 15 Micro-programmed Control Ch 15 Micro-instructions Micro-programmed Control Unit Sequencing Execution Characteristics 1 Hardwired Control (4) Complex Fast Difficult to design Difficult to modify Lots of

More information

Chapter 3 : Control Unit

Chapter 3 : Control Unit 3.1 Control Memory Chapter 3 Control Unit The function of the control unit in a digital computer is to initiate sequences of microoperations. When the control signals are generated by hardware using conventional

More information

What Are The Main Differences Between Program Counter Pc And Instruction Register Ir

What Are The Main Differences Between Program Counter Pc And Instruction Register Ir What Are The Main Differences Between Program Counter Pc And Instruction Register Ir and register-based instructions - Anatomy on a CPU - Program Counter (PC): holds memory address of next instruction

More information

CS 101, Mock Computer Architecture

CS 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 information

Micro-programmed Control Ch 17

Micro-programmed Control Ch 17 Micro-programmed Control Ch 17 Micro-instructions Micro-programmed Control Unit Sequencing Execution Characteristics Course Summary 1 Hardwired Control (4) Complex Fast Difficult to design Difficult to

More information

Computer Hardware Requirements for ERTSs: Microprocessors & Microcontrollers

Computer Hardware Requirements for ERTSs: Microprocessors & Microcontrollers Lecture (4) Computer Hardware Requirements for ERTSs: Microprocessors & Microcontrollers Prof. Kasim M. Al-Aubidy Philadelphia University-Jordan DERTS-MSc, 2015 Prof. Kasim Al-Aubidy 1 Lecture Outline:

More information

Hardwired Control (4) Micro-programmed Control Ch 17. Micro-programmed Control (3) Machine Instructions vs. Micro-instructions

Hardwired Control (4) Micro-programmed Control Ch 17. Micro-programmed Control (3) Machine Instructions vs. Micro-instructions Micro-programmed Control Ch 17 Micro-instructions Micro-programmed Control Unit Sequencing Execution Characteristics Course Summary Hardwired Control (4) Complex Fast Difficult to design Difficult to modify

More information

CREATED BY M BILAL & Arslan Ahmad Shaad Visit:

CREATED BY M BILAL & Arslan Ahmad Shaad Visit: CREATED BY M BILAL & Arslan Ahmad Shaad Visit: www.techo786.wordpress.com Q1: Define microprocessor? Short Questions Chapter No 01 Fundamental Concepts Microprocessor is a program-controlled and semiconductor

More information

CPU Structure and Function

CPU 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 information

Chapter 4. Chapter 4 Objectives

Chapter 4. Chapter 4 Objectives 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 information

COSC 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 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 information

COMPUTER ORGANIZATION AND ARCHITECTURE

COMPUTER ORGANIZATION AND ARCHITECTURE Page 1 1. Which register store the address of next instruction to be executed? A) PC B) AC C) SP D) NONE 2. How many bits are required to address the 128 words of memory? A) 7 B) 8 C) 9 D) NONE 3. is the

More information

Segment 1A. Introduction to Microcomputer and Microprocessor

Segment 1A. Introduction to Microcomputer and Microprocessor Segment 1A Introduction to Microcomputer and Microprocessor 1.1 General Architecture of a Microcomputer System: The term microcomputer is generally synonymous with personal computer, or a computer that

More information

Chapter 4. Chapter 4 Objectives. MARIE: An Introduction to a Simple Computer

Chapter 4. Chapter 4 Objectives. 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 information

MICROCONTROLLERS 8051

MICROCONTROLLERS 8051 MICROCONTROLLERS 8051 PART A Unit 1: Microprocessor and Microcontroller. Introduction, Microprocessor and Microcontrollers, A Microcontroller survey. RISC & CISC CPU Architectures, Harvard & Von Neumann

More information

Micro-Operations. execution of a sequence of steps, i.e., cycles

Micro-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 information

Chapter 4. MARIE: An Introduction to a Simple Computer 4.8 MARIE 4.8 MARIE A Discussion on Decoding

Chapter 4. MARIE: An Introduction to a Simple Computer 4.8 MARIE 4.8 MARIE A Discussion on Decoding 4.8 MARIE This is the MARIE architecture shown graphically. Chapter 4 MARIE: An Introduction to a Simple Computer 2 4.8 MARIE MARIE s Full Instruction Set A computer s control unit keeps things synchronized,

More information

EE 4980 Modern Electronic Systems. Processor Advanced

EE 4980 Modern Electronic Systems. Processor Advanced EE 4980 Modern Electronic Systems Processor Advanced Architecture General Purpose Processor User Programmable Intended to run end user selected programs Application Independent PowerPoint, Chrome, Twitter,

More information

New Advances in Micro-Processors and computer architectures

New Advances in Micro-Processors and computer architectures New Advances in Micro-Processors and computer architectures Prof. (Dr.) K.R. Chowdhary, Director SETG Email: kr.chowdhary@jietjodhpur.com Jodhpur Institute of Engineering and Technology, SETG August 27,

More information

Basics of Microprocessor

Basics 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 information

Microprogrammed Control Approach

Microprogrammed Control Approach Microprogrammed Control Approach Considering the FSM for our MIPS subset has 10 states, the complete MIPS instruction set, which contains more than 100 instructions, and considering that these instructions

More information

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE:

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE: 1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE: A microprocessor is a programmable electronics chip that has computing and decision making capabilities similar to central processing unit

More information

CPE300: Digital System Architecture and Design

CPE300: Digital System Architecture and Design CPE300: Digital System Architecture and Design Fall 2011 MW 17:30-18:45 CBC C316 Layered View of the Computer http://www.egr.unlv.edu/~b1morris/cpe300/ 2 Outline Recap Assembly/Machine Programmer View

More information

William Stallings Computer Organization and Architecture. Chapter 11 CPU Structure and Function

William 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 information

INTRODUCTION OF MICROPROCESSOR& INTERFACING DEVICES Introduction to Microprocessor Evolutions of Microprocessor

INTRODUCTION OF MICROPROCESSOR& INTERFACING DEVICES Introduction to Microprocessor Evolutions of Microprocessor Course Title Course Code MICROPROCESSOR & ASSEMBLY LANGUAGE PROGRAMMING DEC415 Lecture : Practical: 2 Course Credit Tutorial : 0 Total : 5 Course Learning Outcomes At end of the course, students will be

More information

Microprogrammed Control

Microprogrammed Control Microprogrammed Control Chapter 17 Lesson 21 Slide 1/24 From chapter 16 Implementation of the control unit: Hardwired Essentially a combinatorial circuit Microprogrammed An alternative to a hardwired implementation.

More information

EC-801 Advanced Computer Architecture

EC-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 information

Computer Organization

Computer Organization INF 101 Fundamental Information Technology Computer Organization Assistant Prof. Dr. Turgay ĐBRĐKÇĐ Course slides are adapted from slides provided by Addison-Wesley Computing Fundamentals of Information

More information

In this tutorial, we will discuss the architecture, pin diagram and other key concepts of microprocessors.

In this tutorial, we will discuss the architecture, pin diagram and other key concepts of microprocessors. About the Tutorial A microprocessor is a controlling unit of a micro-computer, fabricated on a small chip capable of performing Arithmetic Logical Unit (ALU) operations and communicating with the other

More information

Microprocessors and Microcontrollers. Assignment 1:

Microprocessors and Microcontrollers. Assignment 1: Microprocessors and Microcontrollers Assignment 1: 1. List out the mass storage devices and their characteristics. 2. List the current workstations available in the market for graphics and business applications.

More information

5 Computer Organization

5 Computer Organization 5 Computer Organization 5.1 Foundations of Computer Science Cengage Learning Objectives After studying this chapter, the student should be able to: List the three subsystems of a computer. Describe the

More information

William Stallings Computer Organization and Architecture

William 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 information

Latches. IT 3123 Hardware and Software Concepts. Registers. The Little Man has Registers. Data Registers. Program Counter

Latches. IT 3123 Hardware and Software Concepts. Registers. The Little Man has Registers. Data Registers. Program Counter IT 3123 Hardware and Software Concepts Notice: This session is being recorded. CPU and Memory June 11 Copyright 2005 by Bob Brown Latches Can store one bit of data Can be ganged together to store more

More information

Computer Organization CS 206 T Lec# 2: Instruction Sets

Computer 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 information

Computer Systems Organization

Computer Systems Organization The IAS (von Neumann) Machine Computer Systems Organization Input Output Equipment Stored Program concept Main memory storing programs and data ALU operating on binary data Control unit interpreting instructions

More information

EMBEDDED SYSTEM DESIGN (10EC74)

EMBEDDED SYSTEM DESIGN (10EC74) UNIT 2 The Hardware Side: An Introduction, The Core Level, Representing Information, Understanding Numbers, Addresses, Instructions, Registers-A First Look, Embedded Systems-An Instruction Set View, Embedded

More information

Computer Architecture

Computer Architecture Computer Architecture Context and Motivation To better understand a software system, it is mandatory understand two elements: - The computer as a basic building block for the application - The operating

More information

Computer Organization and Technology Processor and System Structures

Computer Organization and Technology Processor and System Structures Computer Organization and Technology Processor and System Structures Assoc. Prof. Dr. Wattanapong Kurdthongmee Division of Computer Engineering, School of Engineering and Resources, Walailak University

More information

Grundlagen Microcontroller Processor Core. Günther Gridling Bettina Weiss

Grundlagen Microcontroller Processor Core. Günther Gridling Bettina Weiss Grundlagen Microcontroller Processor Core Günther Gridling Bettina Weiss 1 Processor Core Architecture Instruction Set Lecture Overview 2 Processor Core Architecture Computes things > ALU (Arithmetic Logic

More information

2 MARKS Q&A 1 KNREDDY UNIT-I

2 MARKS Q&A 1 KNREDDY UNIT-I 2 MARKS Q&A 1 KNREDDY UNIT-I 1. What is bus; list the different types of buses with its function. A group of lines that serves as a connecting path for several devices is called a bus; TYPES: ADDRESS BUS,

More information

Outcomes. Lecture 13 - Introduction to the Central Processing Unit (CPU) Central Processing UNIT (CPU) or Processor

Outcomes. 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 information

The von Neumann Architecture. IT 3123 Hardware and Software Concepts. The Instruction Cycle. Registers. LMC Executes a Store.

The 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 information

COURSE DESCRIPTION. CS 232 Course Title Computer Organization. Course Coordinators

COURSE DESCRIPTION. CS 232 Course Title Computer Organization. Course Coordinators COURSE DESCRIPTION Dept., Number Semester hours CS 232 Course Title Computer Organization 4 Course Coordinators Badii, Joseph, Nemes 2004-2006 Catalog Description Comparative study of the organization

More information

Class Notes. Dr.C.N.Zhang. Department of Computer Science. University of Regina. Regina, SK, Canada, S4S 0A2

Class 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 information

Chapter 5. Computer Architecture Organization and Design. Computer System Architecture Database Lab, SANGJI University

Chapter 5. Computer Architecture Organization and Design. Computer System Architecture Database Lab, SANGJI University Chapter 5. Computer Architecture Organization and Design Computer System Architecture Database Lab, SANGJI University Computer Architecture Organization and Design Instruction Codes Computer Registers

More information

Machine code. Nils Jansen December 12, 2017

Machine code. Nils Jansen December 12, 2017 Machine code Nils Jansen December 12, 2017 Overview So far Circuits Memory ALU Data Path Fetch-Decode-Execute Cycle Fetch-decode-execute cycle Today Machine code Stack 2 Recap: Execute-phase: Computation

More information

CS 24: INTRODUCTION TO. Spring 2018 Lecture 3 COMPUTING SYSTEMS

CS 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 information

Chapter 2: Instructions How we talk to the computer

Chapter 2: Instructions How we talk to the computer Chapter 2: Instructions How we talk to the computer 1 The Instruction Set Architecture that part of the architecture that is visible to the programmer - instruction formats - opcodes (available instructions)

More information

Lecture 8: RISC & Parallel Computers. Parallel computers

Lecture 8: RISC & Parallel Computers. Parallel computers Lecture 8: RISC & Parallel Computers RISC vs CISC computers Parallel computers Final remarks Zebo Peng, IDA, LiTH 1 Introduction Reduced Instruction Set Computer (RISC) is an important innovation in computer

More information

Chapter 16. Control Unit Operation. Yonsei University

Chapter 16. Control Unit Operation. Yonsei University Chapter 16 Control Unit Operation Contents Micro-Operation Control of the Processor Hardwired Implementation 16-2 Micro-Operations Micro-Operations Micro refers to the fact that each step is very simple

More information

Where Does The Cpu Store The Address Of The

Where Does The Cpu Store The Address Of The Where Does The Cpu Store The Address Of The Next Instruction To Be Fetched The three most important buses are the address, the data, and the control buses. The CPU always knows where to find the next instruction

More information

CN310 Microprocessor Systems Design

CN310 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 information

Computer Architecture Dr. Charles Kim Howard University

Computer Architecture Dr. Charles Kim Howard University EECE416 Microcomputer Fundamentals & Design Computer Architecture Dr. Charles Kim Howard University 1 Computer Architecture Computer Architecture Art of selecting and interconnecting hardware components

More information

CPU 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 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 information

Microprocessor Architecture Dr. Charles Kim Howard University

Microprocessor Architecture Dr. Charles Kim Howard University EECE416 Microcomputer Fundamentals Microprocessor Architecture Dr. Charles Kim Howard University 1 Computer Architecture Computer System CPU (with PC, Register, SR) + Memory 2 Computer Architecture ALU

More information

CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY COMPUTER ARCHITECURE- III YEAR EEE-6 TH SEMESTER 16 MARKS QUESTION BANK UNIT-1

CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY COMPUTER ARCHITECURE- III YEAR EEE-6 TH SEMESTER 16 MARKS QUESTION BANK UNIT-1 CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY COMPUTER ARCHITECURE- III YEAR EEE-6 TH SEMESTER 16 MARKS QUESTION BANK UNIT-1 Data representation: (CHAPTER-3) 1. Discuss in brief about Data types, (8marks)

More information

Chapter 4. MARIE: An Introduction to a Simple Computer. Chapter 4 Objectives. 4.1 Introduction. 4.2 CPU Basics

Chapter 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 ARCHITECTURE TWO MARKS WITH ANSWERS

ADVANCED COMPUTER ARCHITECTURE TWO MARKS WITH ANSWERS ADVANCED COMPUTER ARCHITECTURE TWO MARKS WITH ANSWERS 1.Define Computer Architecture Computer Architecture Is Defined As The Functional Operation Of The Individual H/W Unit In A Computer System And The

More information

Computer organization and architecture UNIT-I 2 MARKS

Computer organization and architecture UNIT-I 2 MARKS Computer organization and architecture UNIT-I 1. What are the functional units? 2. what is meant by input unit? 3. What is meant by memory unit? 4. What are the operations in ALU? 5. What is meant by output

More information

Architectures & instruction sets R_B_T_C_. von Neumann architecture. Computer architecture taxonomy. Assembly language.

Architectures & instruction sets R_B_T_C_. von Neumann architecture. Computer architecture taxonomy. Assembly language. Architectures & instruction sets Computer architecture taxonomy. Assembly language. R_B_T_C_ 1. E E C E 2. I E U W 3. I S O O 4. E P O I von Neumann architecture Memory holds data and instructions. Central

More information