Computer Organization Datapath Design. No. 11-1

Size: px
Start display at page:

Download "Computer Organization Datapath Design. No. 11-1"

Transcription

1 Computer Organization Datapath Design No. 11-1

2 Motivation Computer Design as an application of digital logic design procedure Computer = Processing Unit + Memory System + I/O Units Processing Unit = Control + Datapath Control = Finite State Machine Inputs = Machine Instruction, Datapath Conditions Outputs = Register Transfer Control Signals Instruction Interpretation = Instruction Fetch, Decode, Execute Datapath = Functional Units + Registers Functional Units = LU, Multipliers, Dividers, etc. Registers = Program Counter, Shifters, Storage Registers No. 11-2

3 Chapter Overview Design of Datapaths and Processor Control Units Datapath interconnection strategies: Point-to-Point, Single Bus, Multiple Busses No. 11-3

4 Structure of a Computer Von Neumann rchitecture Basic Computer Organization Processing Unit =LU + Registers CPU = Control Unit + Processing Unit No. 11-4

5 Structure of a Computer Block Diagram View Central Processing Unit (CPU) Processor ddress Read/Write Data Memory System Control Control Signals Data Inputs Datapath Instruction Unit Instruction fetch and interpretation FSM Execution Unit Functional Units and Registers No. 11-5

6 Structure of a Computer Typical Instruction Formats No. 11-6

7 Structure of a Computer Core organization of a typical single-address computer No. 11-7

8 Structure of a Computer Example of Instruction Sequencing Instruction: dd Rx to Ry and place result in Rz Step 1: Fetch the dd instruction from Memory to Instruction Register (IR) Step 2: Decode Instruction Instruction in IR is an DD Source operands are Rx, Ry Destination operand is Rz Step 3: Execute Instruction Move Rx and Ry to LU Set up LU to perform DD function DD Rx to Ry Move LU result to Rz No. 11-8

9 Structure of a Computer Instruction Types Data Manipulation dd, Subtract, etc. Data Staging Load/Store data to/from memory Register-to-register move Control Conditional/unconditional branches subroutine call and return No. 11-9

10 Structure of a Computer Control Elements of the Control Unit (Instruction Unit): Standard FSM: State Register Next State Logic Output Logic (datapath control signaling) Plus dditional "Control" Registers: Instruction Register (IR) Program Counter (PC) No

11 Structure of a Computer Control 0 Reset Control State Diagram Reset Fetch Instruction Decode Execute Instructions partitioned into three classes: Branch Load/Store Register-to-Register Branch Branch Taken XEQ Instr. Branch Not Taken Load/ Store Fetch Instr. XEQ Instr. Incr. PC Initialize Machine Registerto-Register Different Sequence for Each Instruction Type XEQ Instr. Housekeeping No

12 Structure of a Computer Datapath LU Block Diagram B LU Operation 32 Cout S No

13 Structure of a Computer Block Diagram/Register Transfer View Single ccumulator Machine C := C <op> Mem "single address instructions" C implicit operand Control Flow Data Flow FSM Opcode IR C LU S Store Path B Load Path Memory ddress MR PC Memory N bits wide M words Instruction Path rrowhead Lines represent dataflow others are control flow Memory ddress Register Hold address during memory accesses No

14 Structure of a Computer Block Diagram/Register Transfer View Placement of Data and Instructions in Memory: Data and instructions mixed in memory: Princeton rchitecture Data and instructions in separate memory: Harvard rchitecture Princeton architecture simpler to implement Harvard architecture has certain performance advantages: overlap instruction fetch with operand fetch We assume the more common Princeton architecture throughout No

15 Structure of a Computer Core Organization of a Typical Single-ddress computer No

16 Structure of a Computer Block Diagram/Register Transfer View Trace an instruction: C := C + Mem<address> 1. Instruction Fetch: Move PC to MR Initiate a memory read sequence Move data from memory to IR MR PC; MD M<MR>; IR MD; 2. Instruction Decode: Op code bits of IR are input to control FSM Rest of IR bits encode the operand address No

17 Structure of a Computer Block Diagram/Register Transfer View Trace an instruction: C := C + Mem<address> 3. Operand Fetch: Move operand address from IR to MR Initiate a memory read sequence MR IR<addr>; MD M<MR>; 4. Instruction Execute: Data available on load path Move data to LU input Configure LU to perform DD operation Move S result to C C S; 5. Housekeeping: Increment PC to point at next instruction PC PC+1; No

18 Structure of a Computer Block Diagram/Register Transfer View Control: Transfer data from one register to another ssert appropriate control signals Register transfer notation Register to Register moves Ifetch: MR PC; MD M<MR>; IR MD; -- move PC to MR -- assert Memory RED signal -- load IR from Memory Instruction Decode: IF IR<op code> = DD_FROM_MEMORY THEN Instruction Execution: MR IR<addr>; MD M<MR>; -- move operand addr to MR -- assert Memory RED signal ssert Control Signal Route MD to LU B; Route C to LU ; S = DD(,B); C S; -- gate MD to LU B -- gate C to LU -- instruct LU to perform DD -- gate LU result to C PC PC+1; -- increment PC No

19 Structure of a Computer R R Core Organization of a Typical Single-ddress Computer No

20 Structure of a Computer Memory Interface More Realistic Block Diagram: Issue memory request Is it a read or a write? Memory asks CPU to wait PC IR Request Read/Write Wait LD/ST Data Instructions M R M D R Memory Decouple memory system from internal processor operation Memory Buffer Register No

21 Structure of a Computer Memory Interface No common clock between CPU and memory Follow asynchronous 4-cycle handshake request/wait (ack) protocol 1. Request sserted Request 2. Wait Unasserted Read/Write 3. Request Unasserted Data From Memory To Memory 4. Wait sserted Wait Read Cycle Write Cycle Memory cannot make request unless Wait signal is asserted Hi-to-Low transition on Wait implies that data is ready (read) or data has been latched by memory (write) No

22 Structure of a Computer I/O Interface Memory-Mapped I/O I/O devices share the memory address space Control registers manipulated just like memory word Read/write signal is used to initiate I/O operation dv. No special I/O instructions I/O and memory operations use the same bus Less expensive and easy to implement Disadv.: Slow Isolated I/O (Independent I/O) ddress space for memory and I/O are separate Special I/O instructions (e.g. IN, OUT) are used to manipulate I/O dv.: Fast No

23 Polling Program periodically checks whether I/O has completed its operation Interrupts I/O device signals CPU when operation is complete Software must take over to handle the data transfers from the device Check for interrupt pending before fetching next instruction Save PC & vector to special memory location for next instruction Instruction set includes a "return from interrupt" instruction No

24 Busing Strategies Register-to-Register Coummunications Point-to-point Single shared bus Multiple special purpose busses Tradeoffs between datapath/control complexity and amount of parallelism supported by the hardware Case study: Four general purpose registers that must be able to exchange their contents Swap instruction must be supported: SWP(Ri, Rj) Ri Rj Rj; Ri; No

25 Bussing Schemes Point-to-Point Connection Scheme S0<1:0> MUX S1<1:0> MUX S2<1:0> MUX S3<1:0> MUX LD0 R0 LD1 R1 LD2 R2 LD3 R3 Four registers interconnected via 4:1 Mux's and point-to-point connections Edge-triggered N bit registers controlled by LDi signals N x 4:1 MUXes per register, controlled by Si<1:0> signals No

26 Bussing Schemes Point-to-point Connections Example: Register transfers R0 R1 and R3 R2 Register transfer operations: S0<1:0> 01; S3<1:0> 10; LD0 1; LD3 1; Enable path from R1 to R0 Enable path from R2 to R3 ssert load for R0 ssert load for R3 No

27 Bussing Strategies Single Bus Interconnection S0<1:0> MUX S1<1:0> MUX S2<1:0> MUX S3<1:0> MUX LD0 R0 LD1 R1 LD2 R2 LD3 R3 S<1:0> MUX Single Bus LD0 R0 LD1 R1 LD2 R2 LD3 R3 per register MUX block replaced by single block 25% hardware cost of previous alternative shared set of pathways is called a BUS Single bus becomes a critical resource -- used by only one transfer at a time No

28 Bussing Strategies Single Bus Interconnection SWP Operation special TEMP register must be introduced ("Register 4") MUX's become 5:1 rather than 4:1 State X: State Y: State Z: (R1 R4) 001 S<2:0>; 1 LD4; (R2 R1) 010 S<2:0>; 1 LD1; (R4 R2) 100 S<2:0> 1 LD2; Three states are required rather than one! plus extra register and wider mux More More control states states because this this datapath supports less less parallel activity Engineering choices made based on how frequently multiple transfers take place at the same time No

29 Bussing Strategies Multiple Busses Real datapaths are a compromise between the two extremes Register Transfer Diagram Single Bus Design Memory ddress Bus M R P C I R C BUS B M B R Memory Data Bus Register transfer operations: PC BUS IR BUS C BUS MBR BUS LU Result BUS BUS PC BUS IR BUS C BUS MBR BUS LU B BUS MR C LU ("hardwired") No

30 Bussing Strategies Multiple Busses Memory ddress Bus M R P C I R C BUS B M B R Memory Data Bus Example Register Transfer for Single Bus Design Instruction Interpretation for "DD Mem[X]" Fetch Operand Cycle 1: IR<operand address> BUS; BUS MR; Cycle 2: Memory Read; Databus MBR; Perform DD Cycle 3: Write Result Cycle 4: MBR BUS; BUS LU B; C LU ; DD; LU Result BUS; BUS C; Requires latch for LU Result No

31 Bussing Strategies Multiple Busses Three Bus Design -- Supports more parallelism ddress Bus Result Bus Memory ddress Bus M R P C I R C B M B R Memory Data Bus Memory Bus Single bus replaced by three busses: Memory Bus (MBUS) Result Bus (RBUS) ddress Bus (BUS) No

32 Bussing Strategies Multiple Busses Memory ddress Bus M R ddress Bus P C I R C Result Bus B M B R Memory Data Bus Memory Bus Instruction Interpretation for "DD Mem[X]" Fetch Operand Cycle 1: IR<operand address> BUS; BUS MR; Cycle 2: Memory Read; Databus MBR; Perform DD Cycle 3: MBR MBUS; MBUS LU B; C LU ; DD; Implemented in three cycles rather than four Write Result LU Result RBUS; RBUS C; dvantage of separate BUS: overlap PC MR with instruction execution No

33 Design of CPUs 1. Develop the state diagram (SM chart) and associated register transfer operations for the CPU assuming point-to-point connections 2. Identify the register interconnections that are not used at the same time in any control state. These can be replaced by a BUS-type interconnections. 3. Revise the state diagram to reflect the the register transfer operations supported by the modified datapath 4. Determine how to implement the register transfer operations by detailed control signal sequence. Revise the state diagram to assert these signals in the desired sequences No

34 Finite State Machines for Simple CPUs State Diagram and Datapath Derivation Processor Specification: Instruction Format: ddress Op Code 00 = LD 01 = ST 10 = DD 11 = BRN Load from memory: Mem[XXX] C; Store to memory: C Mem[XXX]; dd from memory: C + Mem[XXX] C; Branch if accumulator is negative: C < 0 XXX PC; Memory Interface: M R M B R 14 Request Read/Write Wait 16 Memory 14 [0:2-1] <15:0> No

35 Finite State Machines for Simple CPUs Deriving the State Diagram and Datapath First pass state diagram: Reset Instruction Fetch Operation Decode LD ST DD BRN Operation Execution No

36 Finite State Machines for Simple CPUs Deriving the State Diagram and Datapath ssume Synchronous Mealy Machine: Transitions associated with arcs rather than states Reset Reset State State (State (State 0) 0) and and Instruction Fetch Fetch Sequence On Reset: zero the PC Mem Request unasserted Mem asserts Wait signal Instruction Fetch: issue read request 4 cycle handshake on Wait signal Note: No explicit mention of the busses being used to implement register transfers! Reset/ Wait/ Wait/ 1 Read/Write, 1 Request, MR Memory Wait/ RES IF0 IF1 IF2 Reset/ PC MR, PC + 1 PC Reset/0 PC Wait/ MR Memory, 1 Read/Write, 1 Request Wait/Mem MBR Wait/MBR IR No

37 Finite State Machines for Simple CPUs Deriving the State Diagram and Datapath Operation Decode State OD IR<15:14>= LD0 ST0 D0 BR0 Four Way Next State Branch based on opcode bits No

38 Finite State Machines for Simple CPUs Deriving the State Diagram and Datapath Execution Sequences Load Sequence like IFetch, except that operand address comes from IR and data should be loaded into C Wait/ OD LD0 IR<15:14>=00/ IR<13:0> MR Wait/ 1 Read/Write, 1 Request, MR Memory LD1 Wait/ MR Memory, 1 Read/Write, 1 Request Wait/Mem MBR Wait/ LD2 Wait/MBR C RES No

39 Finite State Machines for Simple CPUs Deriving the State Diagram and Datapath Store Execution Sequence Memory write sequence OD Wait/ Wait/ 0 Read/Write, 1 Request, MR Memory, MBR Memory ST0 ST1 IR<15:14>=01/ IR<13:0> MR, C MBR Wait/ MR Memory, MBR Memory, 0 Read/Write, 1 Request Wait/ ST2 Wait/ RES Wait/ No

40 Finite State Machines for Simple CPUs Deriving the State Diagram and Datapath dd Execution Sequence Similar to Load sequence dd MBR, C rather than simply transfer MBR to C OD IR<15:14>=10/ IR<13:0> MR Wait/ Wait/ 1 Read/Write, 1 Request, MR Memory D0 D1 Wait/ MR Memory, 1 Read/Write, 1 Request Wait/Mem MBR Wait/ D2 RES Wait/ MBR + C C No

41 Finite State Machines for Simple CPUs Deriving the State Diagram and Datapath Branch Execution Sequence OD IR<15:14> = 11/ BR0 C<15> = 1/ IR<13:0> PC C<15> = 0/ Replace PC with Operand ddress if C < 0 RES Otherwise, do nothing No

42 Simplify Wait Looping Eliminate some Wait states t this point, Wait must be asserted, so why loop on Wait? Why loop on Wait when resync will take place at state IF0? No

43 Finite State Machines for Simple CPUs Deriving the State Diagram and Datapath State Machines Inputs and Outputs so far: Inputs: Reset Wait IR<15:14> C<15> Outputs: 0 PC PC + 1 PC PC MR MR Memory ddress Bus Memory Data Bus MBR MBR Memory Data Bus MBR IR MBR C C MBR C + MBR C IR<13:0> MR IR<13:0> PC 1 Read/Write 0 Read/Write 1 Request No

44 Finite State Machines for Simple CPUs Processor Signal Flow Memory Reset Wait Mem ddr Bus Mem Data Bus C O N T R O L Read/Write Request 0 PC PC + 1 PC PC MR MR Memory ddress Bus Memory Data Bus MBR MBR Memory Data Bus MBR IR MBR C C MBR C + MBR C IR<13:0> MR IR<13:0> PC IR<15:14> C<15> D T P T H No

45 Finite State Machines for Simple CPUs Mapping onto Datapath Control Specification so far is independent of bussing strategy Implied transfers: Operand Fetch IFetch Branch Store dd Memory ddress Bus M R P C I R C dd B M B R Memory Data Bus dd Load IFetch This is the point-to-point connection scheme No

46 Finite State Machines for Simple CPUs Mapping onto Datapath Operations Observe that instruction fetch and operand fetch take place at different times This implies that IR, PC, and MR transfers can be implemented by single bus (ddress Bus) Combine MBR, IR, LU B, and C connections (Memory Bus) Combine LU, C, and MBR connections (Result Bus) Three bus architecture: C + MBR C implemented in single state No

47 Finite State Machines for Simple CPUs Mapping onto Datapath Operations ddress Bus Result Bus Memory ddress Bus M R P C I R C B M B R Memory Data Bus Memory Bus C has two inputs, RBUS and MBUS (Other registers except MBR have single input and output) Dual ported configuration is more complex Better idea: reuse existing paths were possible MBR C transfer implemented by PSS B LU operation No

48 Finite State Machines for Simple CPUs Mapping onto Datapath Operations Detailed implementation of register transfer operations More detailed control operations are called microoperations One register transfer operation = several microoperations Some operations directly implemented by functional units: e.g., DD, Pass B, 0 PC, PC + 1 PC Some operations require multiple control operations: e.g., PC MR implemented as PC BUS and BUS MR No

49 Finite State Machines for Simple CPUs Mapping onto Datapath Operations Relationship between register transfer and microoperations: Register Transfer Microoperations 0 PC 0 PC (delayed); PC + 1 PC PC + 1 PC (delayed); PC MR PC BUS (immediate), BUS MR (delayed); MR ddress Bus MR ddress Bus (immediate); Data Bus MBR Data Bus MBR (delayed); MBR Data Bus MBR Data Bus (immediate); MBR IR MBR BUS (immediate), BUS IR (delayed); MBR C MBR MBUS (immediate), MBUS LU B (immediate), LU PSS B (immediate), LU Result RBUS (immediate), RBUS C (delayed); No

50 Finite State Machines for Simple CPUs Mapping onto Datapath Operations Relationship between register transfer and microoperations: Register Transfer Microoperations C MBR C + MBR C IR<13:0> MR IR<13:0> PC C RBUS (immediate), RBUS MBR (delayed); C LU (immediate), MBR MBUS (immediate), MBUS LU B (immediate), LU DD (immediate), LU Result RBUS (immediate), RBUS C (delayed); IR BUS (immediate), BUS IR (delayed); IR BUS (immediate), BUS PC (delayed); 1 Read/Write Read (immediate); 0 Read/Write Write (immediate); 1 Request Request (immediate); Special microoperations for C LU and LU Result RBUS not strictly necessary since these connections can be hardwired No

51 Finite State Machines for Simple CPUs Mapping onto Datapath Operations Revised microoperation signal flow Memory Reset Wait Mem ddr Bus Mem Data Bus Read/Write Request C O N T R O L 0 PC PC + 1 PC PC BUS IR BUS BUS MR BUS PC MR Memory ddress Bus Memory Data Bus MBR MBR Memory Data Bus MBR MBUS D T P T H 5 inputs make sure that Reset and Wait are synchronized 16 datapath control lines 2 memory control lines MBUS IR MBUS LUB RBUS C RBUS MBR LU DD LU PSS B IR<15:14> C<15> No

52 Controller Implementation Chapter Summary Basic organization of the Von Neumann computer Separation of processor and memory Datapath connectivity Control Unit Organization Register transfer operation No

Computer organization

Computer organization Computer organization Computer design an application of digital logic design procedures Computer = processing unit + memory system Processing unit = control + datapath Control = finite state machine inputs

More information

Instruction Set Architecture. Datapath & Control. Instruction. LC-3 Overview: Memory and Registers. CIT 595 Spring 2010

Instruction Set Architecture. Datapath & Control. Instruction. LC-3 Overview: Memory and Registers. CIT 595 Spring 2010 Instruction Set Architecture Micro-architecture Datapath & Control CIT 595 Spring 2010 ISA =Programmer-visible components & operations Memory organization Address space -- how may locations can be addressed?

More information

CPU Organisation and Operation

CPU Organisation and Operation CPU Organisation and Operation The Fetch-Execute Cycle The operation of the CPU 1 is usually described in terms of the Fetch-Execute cycle. 2 Fetch-Execute Cycle Fetch the Instruction Increment the Program

More information

(Refer Slide Time: 00:01:16 min)

(Refer Slide Time: 00:01:16 min) Digital Computer Organization Prof. P. K. Biswas Department of Electronic & Electrical Communication Engineering Indian Institute of Technology, Kharagpur Lecture No. # 04 CPU Design: Tirning & Control

More information

150127-Microprocessor & Assembly Language

150127-Microprocessor & Assembly Language Chapter 3 Z80 Microprocessor Architecture The Z 80 is one of the most talented 8 bit microprocessors, and many microprocessor-based systems are designed around the Z80. The Z80 microprocessor needs an

More information

Chapter 4 Register Transfer and Microoperations. Section 4.1 Register Transfer Language

Chapter 4 Register Transfer and Microoperations. Section 4.1 Register Transfer Language Chapter 4 Register Transfer and Microoperations Section 4.1 Register Transfer Language Digital systems are composed of modules that are constructed from digital components, such as registers, decoders,

More information

Chapter 9 Computer Design Basics!

Chapter 9 Computer Design Basics! Logic and Computer Design Fundamentals Chapter 9 Computer Design Basics! Part 2 A Simple Computer! Charles Kime & Thomas Kaminski 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode)

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 195 4.2 CPU Basics and Organization 195 4.2.1 The Registers 196 4.2.2 The ALU 197 4.2.3 The Control Unit 197 4.3 The Bus 197 4.4 Clocks

More information

Central Processing Unit (CPU)

Central Processing Unit (CPU) Central Processing Unit (CPU) CPU is the heart and brain It interprets and executes machine level instructions Controls data transfer from/to Main Memory (MM) and CPU Detects any errors In the following

More information

Let s put together a Manual Processor

Let s put together a Manual Processor Lecture 14 Let s put together a Manual Processor Hardware Lecture 14 Slide 1 The processor Inside every computer there is at least one processor which can take an instruction, some operands and produce

More information

Central Processing Unit

Central Processing Unit Chapter 4 Central Processing Unit 1. CPU organization and operation flowchart 1.1. General concepts The primary function of the Central Processing Unit is to execute sequences of instructions representing

More information

UNIVERSITY OF CALIFORNIA, DAVIS Department of Electrical and Computer Engineering. EEC180B Lab 7: MISP Processor Design Spring 1995

UNIVERSITY OF CALIFORNIA, DAVIS Department of Electrical and Computer Engineering. EEC180B Lab 7: MISP Processor Design Spring 1995 UNIVERSITY OF CALIFORNIA, DAVIS Department of Electrical and Computer Engineering EEC180B Lab 7: MISP Processor Design Spring 1995 Objective: In this lab, you will complete the design of the MISP processor,

More information

BASIC COMPUTER ORGANIZATION AND DESIGN

BASIC COMPUTER ORGANIZATION AND DESIGN 1 BASIC COMPUTER ORGANIZATION AND DESIGN Instruction Codes Computer Registers Computer Instructions Timing and Control Instruction Cycle Memory Reference Instructions Input-Output and Interrupt Complete

More information

A s we saw in Chapter 4, a CPU contains three main sections: the register section,

A s we saw in Chapter 4, a CPU contains three main sections: the register section, 6 CPU Design A s we saw in Chapter 4, a CPU contains three main sections: the register section, the arithmetic/logic unit (ALU), and the control unit. These sections work together to perform the sequences

More information

CHAPTER 7: The CPU and Memory

CHAPTER 7: The CPU and Memory CHAPTER 7: The CPU and Memory The Architecture of Computer Hardware, Systems Software & Networking: An Information Technology Approach 4th Edition, Irv Englander John Wiley and Sons 2010 PowerPoint slides

More information

Addressing The problem. When & Where do we encounter Data? The concept of addressing data' in computations. The implications for our machine design(s)

Addressing The problem. When & Where do we encounter Data? The concept of addressing data' in computations. The implications for our machine design(s) Addressing The problem Objectives:- When & Where do we encounter Data? The concept of addressing data' in computations The implications for our machine design(s) Introducing the stack-machine concept Slide

More information

The 104 Duke_ACC Machine

The 104 Duke_ACC Machine The 104 Duke_ACC Machine The goal of the next two lessons is to design and simulate a simple accumulator-based processor. The specifications for this processor and some of the QuartusII design components

More information

MICROPROCESSOR AND MICROCOMPUTER BASICS

MICROPROCESSOR AND MICROCOMPUTER BASICS Introduction MICROPROCESSOR AND MICROCOMPUTER BASICS At present there are many types and sizes of computers available. These computers are designed and constructed based on digital and Integrated Circuit

More information

What is a bus? A Bus is: Advantages of Buses. Disadvantage of Buses. Master versus Slave. The General Organization of a Bus

What is a bus? A Bus is: Advantages of Buses. Disadvantage of Buses. Master versus Slave. The General Organization of a Bus Datorteknik F1 bild 1 What is a bus? Slow vehicle that many people ride together well, true... A bunch of wires... A is: a shared communication link a single set of wires used to connect multiple subsystems

More information

Computer Architecture Lecture 2: Instruction Set Principles (Appendix A) Chih Wei Liu 劉 志 尉 National Chiao Tung University cwliu@twins.ee.nctu.edu.

Computer Architecture Lecture 2: Instruction Set Principles (Appendix A) Chih Wei Liu 劉 志 尉 National Chiao Tung University cwliu@twins.ee.nctu.edu. Computer Architecture Lecture 2: Instruction Set Principles (Appendix A) Chih Wei Liu 劉 志 尉 National Chiao Tung University cwliu@twins.ee.nctu.edu.tw Review Computers in mid 50 s Hardware was expensive

More information

Advanced Computer Architecture-CS501. Computer Systems Design and Architecture 2.1, 2.2, 3.2

Advanced Computer Architecture-CS501. Computer Systems Design and Architecture 2.1, 2.2, 3.2 Lecture Handout Computer Architecture Lecture No. 2 Reading Material Vincent P. Heuring&Harry F. Jordan Chapter 2,Chapter3 Computer Systems Design and Architecture 2.1, 2.2, 3.2 Summary 1) A taxonomy of

More information

Pipeline Hazards. Structure hazard Data hazard. ComputerArchitecture_PipelineHazard1

Pipeline Hazards. Structure hazard Data hazard. ComputerArchitecture_PipelineHazard1 Pipeline Hazards Structure hazard Data hazard Pipeline hazard: the major hurdle A hazard is a condition that prevents an instruction in the pipe from executing its next scheduled pipe stage Taxonomy of

More information

Summary of the MARIE Assembly Language

Summary of the MARIE Assembly Language Supplement for Assignment # (sections.8 -. of the textbook) Summary of the MARIE Assembly Language Type of Instructions Arithmetic Data Transfer I/O Branch Subroutine call and return Mnemonic ADD X SUBT

More information

CS101 Lecture 26: Low Level Programming. John Magee 30 July 2013 Some material copyright Jones and Bartlett. Overview/Questions

CS101 Lecture 26: Low Level Programming. John Magee 30 July 2013 Some material copyright Jones and Bartlett. Overview/Questions CS101 Lecture 26: Low Level Programming John Magee 30 July 2013 Some material copyright Jones and Bartlett 1 Overview/Questions What did we do last time? How can we control the computer s circuits? How

More information

what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored?

what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored? Inside the CPU how does the CPU work? what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored? some short, boring programs to illustrate the

More information

Systems I: Computer Organization and Architecture

Systems I: Computer Organization and Architecture Systems I: Computer Organization and Architecture Lecture 9 - Register Transfer and Microoperations Microoperations Digital systems are modular in nature, with modules containing registers, decoders, arithmetic

More information

LSN 2 Computer Processors

LSN 2 Computer Processors LSN 2 Computer Processors Department of Engineering Technology LSN 2 Computer Processors Microprocessors Design Instruction set Processor organization Processor performance Bandwidth Clock speed LSN 2

More information

Chapter 2 Logic Gates and Introduction to Computer Architecture

Chapter 2 Logic Gates and Introduction to Computer Architecture Chapter 2 Logic Gates and Introduction to Computer Architecture 2.1 Introduction The basic components of an Integrated Circuit (IC) is logic gates which made of transistors, in digital system there are

More information

MACHINE ARCHITECTURE & LANGUAGE

MACHINE ARCHITECTURE & LANGUAGE in the name of God the compassionate, the merciful notes on MACHINE ARCHITECTURE & LANGUAGE compiled by Jumong Chap. 9 Microprocessor Fundamentals A system designer should consider a microprocessor-based

More information

MICROPROCESSOR. Exclusive for IACE Students www.iace.co.in iacehyd.blogspot.in Ph: 9700077455/422 Page 1

MICROPROCESSOR. Exclusive for IACE Students www.iace.co.in iacehyd.blogspot.in Ph: 9700077455/422 Page 1 MICROPROCESSOR A microprocessor incorporates the functions of a computer s central processing unit (CPU) on a single Integrated (IC), or at most a few integrated circuit. It is a multipurpose, programmable

More information

EE282 Computer Architecture and Organization Midterm Exam February 13, 2001. (Total Time = 120 minutes, Total Points = 100)

EE282 Computer Architecture and Organization Midterm Exam February 13, 2001. (Total Time = 120 minutes, Total Points = 100) EE282 Computer Architecture and Organization Midterm Exam February 13, 2001 (Total Time = 120 minutes, Total Points = 100) Name: (please print) Wolfe - Solution In recognition of and in the spirit of the

More information

TIMING DIAGRAM O 8085

TIMING DIAGRAM O 8085 5 TIMING DIAGRAM O 8085 5.1 INTRODUCTION Timing diagram is the display of initiation of read/write and transfer of data operations under the control of 3-status signals IO / M, S 1, and S 0. As the heartbeat

More information

ECE410 Design Project Spring 2008 Design and Characterization of a CMOS 8-bit Microprocessor Data Path

ECE410 Design Project Spring 2008 Design and Characterization of a CMOS 8-bit Microprocessor Data Path ECE410 Design Project Spring 2008 Design and Characterization of a CMOS 8-bit Microprocessor Data Path Project Summary This project involves the schematic and layout design of an 8-bit microprocessor data

More information

Sequential Logic. (Materials taken from: Principles of Computer Hardware by Alan Clements )

Sequential Logic. (Materials taken from: Principles of Computer Hardware by Alan Clements ) Sequential Logic (Materials taken from: Principles of Computer Hardware by Alan Clements ) Sequential vs. Combinational Circuits Combinatorial circuits: their outputs are computed entirely from their present

More information

Instruction Set Architecture. or How to talk to computers if you aren t in Star Trek

Instruction Set Architecture. or How to talk to computers if you aren t in Star Trek Instruction Set Architecture or How to talk to computers if you aren t in Star Trek The Instruction Set Architecture Application Compiler Instr. Set Proc. Operating System I/O system Instruction Set Architecture

More information

CSCI 4717 Computer Architecture. Function. Data Storage. Data Processing. Data movement to a peripheral. Data Movement

CSCI 4717 Computer Architecture. Function. Data Storage. Data Processing. Data movement to a peripheral. Data Movement CSCI 4717/5717 Computer Architecture Topic: Functional View & History Reading: Sections 1.2, 2.1, & 2.3 Function All computer functions are comprised of four basic operations: Data processing Data storage

More information

COMPUTER HARDWARE. Input- Output and Communication Memory Systems

COMPUTER HARDWARE. Input- Output and Communication Memory Systems COMPUTER HARDWARE Input- Output and Communication Memory Systems Computer I/O I/O devices commonly found in Computer systems Keyboards Displays Printers Magnetic Drives Compact disk read only memory (CD-ROM)

More information

A New Paradigm for Synchronous State Machine Design in Verilog

A New Paradigm for Synchronous State Machine Design in Verilog A New Paradigm for Synchronous State Machine Design in Verilog Randy Nuss Copyright 1999 Idea Consulting Introduction Synchronous State Machines are one of the most common building blocks in modern digital

More information

Chapter 1 Computer System Overview

Chapter 1 Computer System Overview Operating Systems: Internals and Design Principles Chapter 1 Computer System Overview Eighth Edition By William Stallings Operating System Exploits the hardware resources of one or more processors Provides

More information

1 Classical Universal Computer 3

1 Classical Universal Computer 3 Chapter 6: Machine Language and Assembler Christian Jacob 1 Classical Universal Computer 3 1.1 Von Neumann Architecture 3 1.2 CPU and RAM 5 1.3 Arithmetic Logical Unit (ALU) 6 1.4 Arithmetic Logical Unit

More information

Serial Communications

Serial Communications Serial Communications 1 Serial Communication Introduction Serial communication buses Asynchronous and synchronous communication UART block diagram UART clock requirements Programming the UARTs Operation

More information

PART B QUESTIONS AND ANSWERS UNIT I

PART B QUESTIONS AND ANSWERS UNIT I PART B QUESTIONS AND ANSWERS UNIT I 1. Explain the architecture of 8085 microprocessor? Logic pin out of 8085 microprocessor Address bus: unidirectional bus, used as high order bus Data bus: bi-directional

More information

CS:APP Chapter 4 Computer Architecture. Wrap-Up. William J. Taffe Plymouth State University. using the slides of

CS:APP Chapter 4 Computer Architecture. Wrap-Up. William J. Taffe Plymouth State University. using the slides of CS:APP Chapter 4 Computer Architecture Wrap-Up William J. Taffe Plymouth State University using the slides of Randal E. Bryant Carnegie Mellon University Overview Wrap-Up of PIPE Design Performance analysis

More information

Instruction Set Design

Instruction Set Design Instruction Set Design Instruction Set Architecture: to what purpose? ISA provides the level of abstraction between the software and the hardware One of the most important abstraction in CS It s narrow,

More information

Systems I: Computer Organization and Architecture

Systems I: Computer Organization and Architecture Systems I: Computer Organization and Architecture Lecture : Microprogrammed Control Microprogramming The control unit is responsible for initiating the sequence of microoperations that comprise instructions.

More information

Chapter 01: Introduction. Lesson 02 Evolution of Computers Part 2 First generation Computers

Chapter 01: Introduction. Lesson 02 Evolution of Computers Part 2 First generation Computers Chapter 01: Introduction Lesson 02 Evolution of Computers Part 2 First generation Computers Objective Understand how electronic computers evolved during the first generation of computers First Generation

More information

Chapter 2 Basic Structure of Computers. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan

Chapter 2 Basic Structure of Computers. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan Chapter 2 Basic Structure of Computers Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan Outline Functional Units Basic Operational Concepts Bus Structures Software

More information

Instruction Set Architecture (ISA)

Instruction Set Architecture (ISA) Instruction Set Architecture (ISA) * Instruction set architecture of a machine fills the semantic gap between the user and the machine. * ISA serves as the starting point for the design of a new machine

More information

Central Processing Unit Simulation Version v2.5 (July 2005) Charles André University Nice-Sophia Antipolis

Central Processing Unit Simulation Version v2.5 (July 2005) Charles André University Nice-Sophia Antipolis Central Processing Unit Simulation Version v2.5 (July 2005) Charles André University Nice-Sophia Antipolis 1 1 Table of Contents 1 Table of Contents... 3 2 Overview... 5 3 Installation... 7 4 The CPU

More information

Notes on Assembly Language

Notes on Assembly Language Notes on Assembly Language Brief introduction to assembly programming The main components of a computer that take part in the execution of a program written in assembly code are the following: A set of

More information

The WIMP51: A Simple Processor and Visualization Tool to Introduce Undergraduates to Computer Organization

The WIMP51: A Simple Processor and Visualization Tool to Introduce Undergraduates to Computer Organization The WIMP51: A Simple Processor and Visualization Tool to Introduce Undergraduates to Computer Organization David Sullins, Dr. Hardy Pottinger, Dr. Daryl Beetner University of Missouri Rolla Session I.

More information

Learning Outcomes. Simple CPU Operation and Buses. Composition of a CPU. A simple CPU design

Learning Outcomes. Simple CPU Operation and Buses. Composition of a CPU. A simple CPU design Learning Outcomes Simple CPU Operation and Buses Dr Eddie Edwards eddie.edwards@imperial.ac.uk At the end of this lecture you will Understand how a CPU might be put together Be able to name the basic components

More information

COMPUTER ARCHITECTURE. Input/Output

COMPUTER ARCHITECTURE. Input/Output HUMBOLDT-UNIVERSITÄT ZU BERLIN INSTITUT FÜR INFORMATIK COMPUTER ARCHITECTURE Lecture 17 Input/Output Sommersemester 2002 Leitung: Prof. Dr. Miroslaw Malek www.informatik.hu-berlin.de/rok/ca CA - XVII -

More information

ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-12: ARM

ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-12: ARM ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-12: ARM 1 The ARM architecture processors popular in Mobile phone systems 2 ARM Features ARM has 32-bit architecture but supports 16 bit

More information

Microprocessor/Microcontroller. Introduction

Microprocessor/Microcontroller. Introduction Microprocessor/Microcontroller Introduction Microprocessor/Microcontroller microprocessor - also known as a CU or central processing unit - is a complete computation engine that is fabricated on a single

More information

Lizy Kurian John Electrical and Computer Engineering Department, The University of Texas as Austin

Lizy Kurian John Electrical and Computer Engineering Department, The University of Texas as Austin BUS ARCHITECTURES Lizy Kurian John Electrical and Computer Engineering Department, The University of Texas as Austin Keywords: Bus standards, PCI bus, ISA bus, Bus protocols, Serial Buses, USB, IEEE 1394

More information

Computer Organization. and Instruction Execution. August 22

Computer Organization. and Instruction Execution. August 22 Computer Organization and Instruction Execution August 22 CSC201 Section 002 Fall, 2000 The Main Parts of a Computer CSC201 Section Copyright 2000, Douglas Reeves 2 I/O and Storage Devices (lots of devices,

More information

StrongARM** SA-110 Microprocessor Instruction Timing

StrongARM** SA-110 Microprocessor Instruction Timing StrongARM** SA-110 Microprocessor Instruction Timing Application Note September 1998 Order Number: 278194-001 Information in this document is provided in connection with Intel products. No license, express

More information

Programming Logic controllers

Programming Logic controllers Programming Logic controllers Programmable Logic Controller (PLC) is a microprocessor based system that uses programmable memory to store instructions and implement functions such as logic, sequencing,

More information

INSTRUCTION LEVEL PARALLELISM PART VII: REORDER BUFFER

INSTRUCTION LEVEL PARALLELISM PART VII: REORDER BUFFER Course on: Advanced Computer Architectures INSTRUCTION LEVEL PARALLELISM PART VII: REORDER BUFFER Prof. Cristina Silvano Politecnico di Milano cristina.silvano@polimi.it Prof. Silvano, Politecnico di Milano

More information

Memory Elements. Combinational logic cannot remember

Memory Elements. Combinational logic cannot remember Memory Elements Combinational logic cannot remember Output logic values are function of inputs only Feedback is needed to be able to remember a logic value Memory elements are needed in most digital logic

More information

COMPUTERS ORGANIZATION 2ND YEAR COMPUTE SCIENCE MANAGEMENT ENGINEERING UNIT 5 INPUT/OUTPUT UNIT JOSÉ GARCÍA RODRÍGUEZ JOSÉ ANTONIO SERRA PÉREZ

COMPUTERS ORGANIZATION 2ND YEAR COMPUTE SCIENCE MANAGEMENT ENGINEERING UNIT 5 INPUT/OUTPUT UNIT JOSÉ GARCÍA RODRÍGUEZ JOSÉ ANTONIO SERRA PÉREZ COMPUTERS ORGANIZATION 2ND YEAR COMPUTE SCIENCE MANAGEMENT ENGINEERING UNIT 5 INPUT/OUTPUT UNIT JOSÉ GARCÍA RODRÍGUEZ JOSÉ ANTONIO SERRA PÉREZ Tema 5. Unidad de E/S 1 I/O Unit Index Introduction. I/O Problem

More information

Building a computer. Electronic Numerical Integrator and Computer (ENIAC)

Building a computer. Electronic Numerical Integrator and Computer (ENIAC) Building a computer Electronic Numerical Integrator and Computer (ENIAC) CSCI 255: Introduc/on to Embedded Systems Keith Vertanen Copyright 2011 Layers of abstrac

More information

Architectures and Platforms

Architectures and Platforms Hardware/Software Codesign Arch&Platf. - 1 Architectures and Platforms 1. Architecture Selection: The Basic Trade-Offs 2. General Purpose vs. Application-Specific Processors 3. Processor Specialisation

More information

8-Bit Flash Microcontroller for Smart Cards. AT89SCXXXXA Summary. Features. Description. Complete datasheet available under NDA

8-Bit Flash Microcontroller for Smart Cards. AT89SCXXXXA Summary. Features. Description. Complete datasheet available under NDA Features Compatible with MCS-51 products On-chip Flash Program Memory Endurance: 1,000 Write/Erase Cycles On-chip EEPROM Data Memory Endurance: 100,000 Write/Erase Cycles 512 x 8-bit RAM ISO 7816 I/O Port

More information

Chapter 4 Lecture 5 The Microarchitecture Level Integer JAVA Virtual Machine

Chapter 4 Lecture 5 The Microarchitecture Level Integer JAVA Virtual Machine Chapter 4 Lecture 5 The Microarchitecture Level Integer JAVA Virtual Machine This is a limited version of a hardware implementation to execute the JAVA programming language. 1 of 23 Structured Computer

More information

1. Computer System Structure and Components

1. Computer System Structure and Components 1 Computer System Structure and Components Computer System Layers Various Computer Programs OS System Calls (eg, fork, execv, write, etc) KERNEL/Behavior or CPU Device Drivers Device Controllers Devices

More information

An Overview of Stack Architecture and the PSC 1000 Microprocessor

An Overview of Stack Architecture and the PSC 1000 Microprocessor An Overview of Stack Architecture and the PSC 1000 Microprocessor Introduction A stack is an important data handling structure used in computing. Specifically, a stack is a dynamic set of elements in which

More information

Digital Logic Design. Basics Combinational Circuits Sequential Circuits. Pu-Jen Cheng

Digital Logic Design. Basics Combinational Circuits Sequential Circuits. Pu-Jen Cheng Digital Logic Design Basics Combinational Circuits Sequential Circuits Pu-Jen Cheng Adapted from the slides prepared by S. Dandamudi for the book, Fundamentals of Computer Organization and Design. Introduction

More information

EC 362 Problem Set #2

EC 362 Problem Set #2 EC 362 Problem Set #2 1) Using Single Precision IEEE 754, what is FF28 0000? 2) Suppose the fraction enhanced of a processor is 40% and the speedup of the enhancement was tenfold. What is the overall speedup?

More information

Chapter 7. Registers & Register Transfers. J.J. Shann. J. J. Shann

Chapter 7. Registers & Register Transfers. J.J. Shann. J. J. Shann Chapter 7 Registers & Register Transfers J. J. Shann J.J. Shann Chapter Overview 7- Registers and Load Enable 7-2 Register Transfers 7-3 Register Transfer Operations 7-4 A Note for VHDL and Verilog Users

More information

Chapter 02: Computer Organization. Lesson 04: Functional units and components in a computer organization Part 3 Bus Structures

Chapter 02: Computer Organization. Lesson 04: Functional units and components in a computer organization Part 3 Bus Structures Chapter 02: Computer Organization Lesson 04: Functional units and components in a computer organization Part 3 Bus Structures Objective: Understand the IO Subsystem and Understand Bus Structures Understand

More information

CSE2102 Digital Design II - Topics CSE2102 - Digital Design II

CSE2102 Digital Design II - Topics CSE2102 - Digital Design II CSE2102 Digital Design II - Topics CSE2102 - Digital Design II 6 - Microprocessor Interfacing - Memory and Peripheral Dr. Tim Ferguson, Monash University. AUSTRALIA. Tel: +61-3-99053227 FAX: +61-3-99053574

More information

How It All Works. Other M68000 Updates. Basic Control Signals. Basic Control Signals

How It All Works. Other M68000 Updates. Basic Control Signals. Basic Control Signals CPU Architectures Motorola 68000 Several CPU architectures exist currently: Motorola Intel AMD (Advanced Micro Devices) PowerPC Pick one to study; others will be variations on this. Arbitrary pick: Motorola

More information

l C-Programming l A real computer language l Data Representation l Everything goes down to bits and bytes l Machine representation Language

l C-Programming l A real computer language l Data Representation l Everything goes down to bits and bytes l Machine representation Language 198:211 Computer Architecture Topics: Processor Design Where are we now? C-Programming A real computer language Data Representation Everything goes down to bits and bytes Machine representation Language

More information

CPU Organization and Assembly Language

CPU Organization and Assembly Language COS 140 Foundations of Computer Science School of Computing and Information Science University of Maine October 2, 2015 Outline 1 2 3 4 5 6 7 8 Homework and announcements Reading: Chapter 12 Homework:

More information

Computer Organization and Components

Computer Organization and Components Computer Organization and Components IS5, fall 25 Lecture : Pipelined Processors ssociate Professor, KTH Royal Institute of Technology ssistant Research ngineer, University of California, Berkeley Slides

More information

An Introduction to the ARM 7 Architecture

An Introduction to the ARM 7 Architecture An Introduction to the ARM 7 Architecture Trevor Martin CEng, MIEE Technical Director This article gives an overview of the ARM 7 architecture and a description of its major features for a developer new

More information

OAMulator. Online One Address Machine emulator and OAMPL compiler. http://myspiders.biz.uiowa.edu/~fil/oam/

OAMulator. Online One Address Machine emulator and OAMPL compiler. http://myspiders.biz.uiowa.edu/~fil/oam/ OAMulator Online One Address Machine emulator and OAMPL compiler http://myspiders.biz.uiowa.edu/~fil/oam/ OAMulator educational goals OAM emulator concepts Von Neumann architecture Registers, ALU, controller

More information

Computer Organization & Architecture Lecture #19

Computer Organization & Architecture Lecture #19 Computer Organization & Architecture Lecture #19 Input/Output The computer system s I/O architecture is its interface to the outside world. This architecture is designed to provide a systematic means of

More information

ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-17: Memory organisation, and types of memory

ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-17: Memory organisation, and types of memory ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-17: Memory organisation, and types of memory 1 1. Memory Organisation 2 Random access model A memory-, a data byte, or a word, or a double

More information

Computer Performance. Topic 3. Contents. Prerequisite knowledge Before studying this topic you should be able to:

Computer Performance. Topic 3. Contents. Prerequisite knowledge Before studying this topic you should be able to: 55 Topic 3 Computer Performance Contents 3.1 Introduction...................................... 56 3.2 Measuring performance............................... 56 3.2.1 Clock Speed.................................

More information

Pipeline Hazards. Arvind Computer Science and Artificial Intelligence Laboratory M.I.T. Based on the material prepared by Arvind and Krste Asanovic

Pipeline Hazards. Arvind Computer Science and Artificial Intelligence Laboratory M.I.T. Based on the material prepared by Arvind and Krste Asanovic 1 Pipeline Hazards Computer Science and Artificial Intelligence Laboratory M.I.T. Based on the material prepared by and Krste Asanovic 6.823 L6-2 Technology Assumptions A small amount of very fast memory

More information

A Lab Course on Computer Architecture

A Lab Course on Computer Architecture A Lab Course on Computer Architecture Pedro López José Duato Depto. de Informática de Sistemas y Computadores Facultad de Informática Universidad Politécnica de Valencia Camino de Vera s/n, 46071 - Valencia,

More information

Application Note 195. ARM11 performance monitor unit. Document number: ARM DAI 195B Issued: 15th February, 2008 Copyright ARM Limited 2007

Application Note 195. ARM11 performance monitor unit. Document number: ARM DAI 195B Issued: 15th February, 2008 Copyright ARM Limited 2007 Application Note 195 ARM11 performance monitor unit Document number: ARM DAI 195B Issued: 15th February, 2008 Copyright ARM Limited 2007 Copyright 2007 ARM Limited. All rights reserved. Application Note

More information

Finite State Machine. RTL Hardware Design by P. Chu. Chapter 10 1

Finite State Machine. RTL Hardware Design by P. Chu. Chapter 10 1 Finite State Machine Chapter 10 1 Outline 1. Overview 2. FSM representation 3. Timing and performance of an FSM 4. Moore machine versus Mealy machine 5. VHDL description of FSMs 6. State assignment 7.

More information

Von der Hardware zur Software in FPGAs mit Embedded Prozessoren. Alexander Hahn Senior Field Application Engineer Lattice Semiconductor

Von der Hardware zur Software in FPGAs mit Embedded Prozessoren. Alexander Hahn Senior Field Application Engineer Lattice Semiconductor Von der Hardware zur Software in FPGAs mit Embedded Prozessoren Alexander Hahn Senior Field Application Engineer Lattice Semiconductor AGENDA Overview Mico32 Embedded Processor Development Tool Chain HW/SW

More information

Overview. CISC Developments. RISC Designs. CISC Designs. VAX: Addressing Modes. Digital VAX

Overview. CISC Developments. RISC Designs. CISC Designs. VAX: Addressing Modes. Digital VAX Overview CISC Developments Over Twenty Years Classic CISC design: Digital VAX VAXÕs RISC successor: PRISM/Alpha IntelÕs ubiquitous 80x86 architecture Ð 8086 through the Pentium Pro (P6) RJS 2/3/97 Philosophy

More information

Modbus RTU Communications RX/WX and MRX/MWX

Modbus RTU Communications RX/WX and MRX/MWX 15 Modbus RTU Communications RX/WX and MRX/MWX In This Chapter.... Network Slave Operation Network Master Operation: RX / WX Network Master Operation: DL06 MRX / MWX 5 2 D0 Modbus Network Slave Operation

More information

Router Architectures

Router Architectures Router Architectures An overview of router architectures. Introduction What is a Packet Switch? Basic Architectural Components Some Example Packet Switches The Evolution of IP Routers 2 1 Router Components

More information

Q. Consider a dynamic instruction execution (an execution trace, in other words) that consists of repeats of code in this pattern:

Q. Consider a dynamic instruction execution (an execution trace, in other words) that consists of repeats of code in this pattern: Pipelining HW Q. Can a MIPS SW instruction executing in a simple 5-stage pipelined implementation have a data dependency hazard of any type resulting in a nop bubble? If so, show an example; if not, prove

More information

INPUT/OUTPUT ORGANIZATION

INPUT/OUTPUT ORGANIZATION INPUT/OUTPUT ORGANIZATION Accessing I/O Devices I/O interface Input/output mechanism Memory-mapped I/O Programmed I/O Interrupts Direct Memory Access Buses Synchronous Bus Asynchronous Bus I/O in CO and

More information

EE 42/100 Lecture 24: Latches and Flip Flops. Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad

EE 42/100 Lecture 24: Latches and Flip Flops. Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad A. M. Niknejad University of California, Berkeley EE 100 / 42 Lecture 24 p. 1/20 EE 42/100 Lecture 24: Latches and Flip Flops ELECTRONICS Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad University of California,

More information

Memory unit. 2 k words. n bits per word

Memory unit. 2 k words. n bits per word 9- k address lines Read n data input lines Memory unit 2 k words n bits per word n data output lines 24 Pearson Education, Inc M Morris Mano & Charles R Kime 9-2 Memory address Binary Decimal Memory contents

More information

Digitale Signalverarbeitung mit FPGA (DSF) Soft Core Prozessor NIOS II Stand Mai 2007. Jens Onno Krah

Digitale Signalverarbeitung mit FPGA (DSF) Soft Core Prozessor NIOS II Stand Mai 2007. Jens Onno Krah (DSF) Soft Core Prozessor NIOS II Stand Mai 2007 Jens Onno Krah Cologne University of Applied Sciences www.fh-koeln.de jens_onno.krah@fh-koeln.de NIOS II 1 1 What is Nios II? Altera s Second Generation

More information

8085 INSTRUCTION SET

8085 INSTRUCTION SET DATA TRANSFER INSTRUCTIONS Opcode Operand Description 8085 INSTRUCTION SET INSTRUCTION DETAILS Copy from source to destination OV Rd, Rs This instruction copies the contents of the source, Rs register

More information

Modeling Sequential Elements with Verilog. Prof. Chien-Nan Liu TEL: 03-4227151 ext:34534 Email: jimmy@ee.ncu.edu.tw. Sequential Circuit

Modeling Sequential Elements with Verilog. Prof. Chien-Nan Liu TEL: 03-4227151 ext:34534 Email: jimmy@ee.ncu.edu.tw. Sequential Circuit Modeling Sequential Elements with Verilog Prof. Chien-Nan Liu TEL: 03-4227151 ext:34534 Email: jimmy@ee.ncu.edu.tw 4-1 Sequential Circuit Outputs are functions of inputs and present states of storage elements

More information

Technical Note. Micron NAND Flash Controller via Xilinx Spartan -3 FPGA. Overview. TN-29-06: NAND Flash Controller on Spartan-3 Overview

Technical Note. Micron NAND Flash Controller via Xilinx Spartan -3 FPGA. Overview. TN-29-06: NAND Flash Controller on Spartan-3 Overview Technical Note TN-29-06: NAND Flash Controller on Spartan-3 Overview Micron NAND Flash Controller via Xilinx Spartan -3 FPGA Overview As mobile product capabilities continue to expand, so does the demand

More information

WEEK 8.1 Registers and Counters. ECE124 Digital Circuits and Systems Page 1

WEEK 8.1 Registers and Counters. ECE124 Digital Circuits and Systems Page 1 WEEK 8.1 egisters and Counters ECE124 igital Circuits and Systems Page 1 Additional schematic FF symbols Active low set and reset signals. S Active high set and reset signals. S ECE124 igital Circuits

More information