csee 3827 fundamentals of computer systems
play

CSEE 3827: Fundamentals of Computer Systems Lecture 18, 19, & 20 - PowerPoint PPT Presentation

CSEE 3827: Fundamentals of Computer Systems Lecture 18, 19, & 20 April 2009 Martha Kim martha@cs.columbia.edu Outline We will examine two MIPS implementations A single-cycle version A pipelined version Simple subset of


  1. CSEE 3827: Fundamentals of Computer Systems Lecture 18, 19, & 20 April 2009 Martha Kim martha@cs.columbia.edu

  2. Outline • We will examine two MIPS implementations • A single-cycle version • A pipelined version • Simple subset of MIPS, showing most aspects • Memory reference: lw, sw • Arithmetic/logical: add, sub, and, or, slt • Control transfer: beq, j • CPU performance factors • Instruction count (determined by ISA and compiler) • Cycles per instruction and cycle time (determined by CPU hardware) CSEE 3827, Spring 2009 Martha Kim 2

  3. Instruction Execution • PC → instruction memory, fetch instruction • Register numbers → register file, read registers • Depending on instruction class: • Use ALU to calculate: • Arithmetic or logical result • Memory address for load/store • Branch target address • Access data for load/store • PC ← target address or PC + 4 CSEE 3827, Spring 2009 Martha Kim 3

  4. ��������฀� ��� ���� �� ������� ����������� ����������� ������ ��������� ������� �����฀������฀�����฀���฀������฀��฀����������฀����฀����฀��������฀�����฀���฀���������฀��฀���฀��������฀��฀�฀���฀ ���� ���� ������ ��� ��� � ��������฀� ��������฀� �����฀���฀�����฀������฀���������฀�฀����฀���������฀����฀���฀������฀��������� ฀����฀ ��������฀��������฀����฀����฀��������฀����฀���฀��฀��������฀��฀��฀�������฀�฀������฀�������฀����฀�฀����฀��฀ �����฀�������฀��฀��������฀��������฀���฀������฀���฀����฀��฀�����฀���฀������฀��฀�������฀���฀�����������฀� ��������������������������������������������������������������� ���฀������������฀�����฀��฀�����฀ ���฀���฀ ����฀�������฀��฀������฀���฀�����������฀�������฀��฀���฀�����������฀�������฀�����฀���฀�����������฀��฀ ��������฀���฀��������฀��������฀����฀��฀��฀�����������฀���฀������ ฀��฀��฀� ฀����฀��฀����฀������������฀����฀���฀ �������฀��฀�������฀��฀����������฀������฀����฀��฀�������฀������������������฀�������������฀��฀�฀�������฀����฀�฀ ��������฀��฀���฀�����������฀��฀��฀������������������฀������������฀���฀������฀����฀���฀���฀����฀��฀�������฀��฀ �฀���������฀��฀���฀���������฀��฀�฀����฀��฀������฀���฀���฀������฀��฀����฀��฀��฀�������฀��฀������฀�����฀�฀�����฀����฀ ���฀���������฀��฀����฀�฀�����฀����฀������฀����฀���฀����������฀���฀������฀����฀���฀���฀��฀������฀��฀�������฀ ����฀����฀���฀��������฀� ฀���฀��������฀�������฀���฀���฀��฀���฀���฀������฀��฀���������฀���฀����฀�����������฀ ��������฀�����฀�����฀������฀����฀���฀���฀������฀���฀��฀���฀������฀������฀���฀�������฀��฀����฀��฀�����฀ ����฀����������฀���฀�������฀��฀��฀��฀���฀�����฀�����฀���������������฀���฀����������฀�����฀���������฀������฀ ������� ���� ��� ��������� ����� ��� ���� ��������������� ��� ���� ����� ������� �������� ���� CPU Overview CSEE 3827, Spring 2009 Martha Kim 4

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend