1 / 30

Circuitos Digitales II

Departamento de Ingeniería Electrónica Facultad de Ingeniería. Circuitos Digitales II. The General Computer Architecture The MIPS single- cycle datapath Semana No.8 Semestre 2008-2 Prof. Eugenio Duque eaduque@udea.edu.co Prof. Gustavo Patiño gpatino@udea.edu.co.

mills
Download Presentation

Circuitos Digitales II

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Departamento de Ingeniería Electrónica Facultad de Ingeniería Circuitos Digitales II The General ComputerArchitecture The MIPS single-cycledatapath Semana No.8 Semestre 2008-2 Prof. Eugenio Duque eaduque@udea.edu.co Prof. Gustavo Patiño gpatino@udea.edu.co

  2. The General Computer Architecture An overview of the cpu’s Datapath unit: The single-cycle datapath as an introduction to the multicycle (pipeline) datapath.

  3. General Computer Architecture Having studied numbers, combinational and sequential logic, and assembly language programming, we begin the study of the overall computer system.

  4. The ALU orDataPath

  5. The Central Processor Unit (CPU)

  6. The ALU

  7. The MIPS computer : Anexample of “Bit-Slicing” The MIPS 32-bit ALU processing unit is simply an amalgam 0f 32 1-bit processors.

  8. ALU components

  9. ALU components (…cont)

  10. The Program Counter Architecture

  11. More ALU components

  12. ALU Arquitecture for Processing

  13. More ALU components – Data Memory

  14. The Sign Extender

  15. Data Bus Connection in a Load Instruction

  16. Data Bus Connection in a Store Instruction

  17. Branch Instructions

  18. Conditional Branch Circuit

  19. Jump Instruction

  20. Jump ALU Path

  21. Combining the Elements to Make a Complete ALU

  22. Data Buses and ALU Register/Register Functions

  23. Load/Store Functions (Read or Write)

  24. Adding the Instruction Fetch Circuit

  25. Completing ALU Design

  26. The “Single-Cycle” ALU What we have accomplished in this “ALU design” isto come up with all the processing hardware necessary to implement theMIPS instruction set. Note that we have NOT considered the control circuits (that tell the ALU what to do), and will cover those next lecture. This basic MIPS processor design is referred to as the “single cycle ALU”(or sometimes the “single cycle CPU”). Why is this? The reason is that this MIPS CPU (more or less the original implementation of the MIPS instructions) is designed so that ANY instruction can be processed in one cycle of the CPU clock. Lets consider how this “single cycle” CPU works.

  27. The “Single-Cycle” ALU (…cont) • Since the ALU is basically combinational logic, the “ tick” of the clock governs ALU register behavior, which times the process. • A single clock cycle is from rising to rising or falling to falling edge of the clock. Let us use falling to falling as the reference (remember: a master-slave ff’s output changes on the falling edge of the lock). • Consider what happens when the clock “ ticks.” • The PC is already updated. • The instruction at memory location [PC] is retrieved. [PC] →[PC+4] • Instruction is decoded/registers are identified (operands). • Register output buses send data into ALU; ALU function is identified. • Register data “flows through” the ALU and is processed. • (In loads/stores, data memory is accessed for load or store.) • The memory or ALU results are stored back in a register, if necessary.

  28. Single Cycle Timing

  29. Single Cycle Timing (…cont)

  30. ALU Design Summary

More Related