Lec2Datapath

Lec2Datapath - Datapath and Control 5.1-5.3 Goal Build an...

Info iconThis preview shows pages 1–20. Sign up to view the full content.

View Full Document Right Arrow Icon
Datapath and Control 5.1-5.3
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Goal Build an architecture to support the following instructions Arithmetic: add, sub, addi,slt Memory references: lw, sw Branches: jump, beq, bne
Background image of page 2
Process 1. Design basic framework that is needed by all instructions 2. Build a computer for each individually 3. Add MUXes to choose between different operations 4. Add control signals to control the MUXes
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
MIPS trends Get an ____________ from memory using the ______________ (___) Read ____ to _____ registers each instruction One register: Two registers: All instructions use ______ after reading regs Some instructions also access _______ Write result to ________
Background image of page 4
MIPS trends Get an instruction from memory using the ______________ (___) Read ____ to _____ registers each instruction One register: Two registers: All instructions use ______ after reading regs Some instructions also access _______ Write result to ________
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
MIPS trends Get an instruction from memory using the Program Counter (PC) Read ____ to _____ registers each instruction One register: Two registers: All instructions use ______ after reading regs Some instructions also access _______ Write result to ________
Background image of page 6
MIPS trends Get an instruction from memory using the Program Counter (PC) Read zero to two registers each instruction One register: Two registers: All instructions use ______ after reading regs Some instructions also access _______ Write result to ________
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
MIPS trends Get an instruction from memory using the Program Counter (PC) Read zero to two registers each instruction One register: addi, lw Two registers: All instructions use ______ after reading regs Some instructions also access _______ Write result to ________
Background image of page 8
MIPS trends Get an instruction from memory using the Program Counter (PC) Read zero to two registers each instruction One register: addi, lw Two registers: add, sub, slt, sw, beq All instructions use ______ after reading regs Some instructions also access _______ Write result to ________
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
MIPS trends Get an instruction from memory using the Program Counter (PC) Read zero to two registers each instruction One register: addi, lw Two registers: add, sub, slt, sw, beq All instructions use ALU after reading regs Some instructions also access _______ Write result to ________
Background image of page 10
MIPS trends Get an instruction from memory using the Program Counter (PC) Read zero to two registers each instruction One register: addi, lw Two registers: add, sub, slt, sw, beq All instructions use ALU after reading regs Some instructions also access Memory Write result to ________
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
MIPS trends Get an instruction from memory using the Program Counter (PC) Read zero to two registers each instruction One register: addi, lw Two registers: add, sub, slt, sw, beq All instructions use ALU after reading regs Some instructions also access Memory Write result to Register file
Background image of page 12
Framework
Background image of page 13

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Get instructio n from memory Framework
Background image of page 14
Read from register file Get instructio n from memory Framework
Background image of page 15

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Read from register file Use ALU Get instructio n from memory Framework
Background image of page 16
Read from register file Use ALU Get instructio n from memory Access memory Framework
Background image of page 17

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Read from register file Use ALU Get instructio n from memory Access memory Framework Write register file
Background image of page 18
What *exactly* is memory?
Background image of page 19

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 20
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/27/2011 for the course CMPSC 154 taught by Professor Franklin during the Fall '09 term at UCSB.

Page1 / 121

Lec2Datapath - Datapath and Control 5.1-5.3 Goal Build an...

This preview shows document pages 1 - 20. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online