csee 3827 fundamentals of computer systems
play

CSEE 3827: Fundamentals of Computer Systems Single Cycle MIPS - PowerPoint PPT Presentation

CSEE 3827: Fundamentals of Computer Systems Single Cycle MIPS Implementation Outline We will examine two MIPS implementations A single-cycle version A pipelined version Simple subset of MIPS, showing most aspects Memory


  1. CSEE 3827: Fundamentals of Computer Systems Single Cycle MIPS Implementation

  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 • Next unit: CPU performance factors • Instruction count (determined by ISA and compiler) • Cycles per instruction and cycle time (determined by CPU hardware) 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 3

  4. �������� � ���� ����������� ����������� ������ ��������� ��� ������� ���� �� ������ ��� ��� � �������� � �������� � ������� ���� � ��������� �� ��� ��������� �� � ���� �� ������ ��� ��� ������ �� ���� �� �� ������� �� ������ ����� � ����� ���� ������� ���� ��� ��������� ����� ��� ���� ��������������� ��� ���� ����� ������� �������� ���� ����� ������ ����� ��� ������ �� ���������� ���� ���� �������� ����� ��� ��������� �� ��� �������� �� � ��� ����� ������� �� �������� �������� ��� ������ ��� ���� �� ����� ��� ������ �� ������� ��� ����������� ����� ���� ���������� ��� ������� �� �� �� ��� ����� ����� ��������������� ��� ���������� ����� ��������� ������ �������� ����� ����� ������ ���� ��� ��� ������ ��� �� ��� ������ ������ ��� ������� �� ���� �� ����� ���� ���� ��� �������� ���� �������� ������� ��� ��� �� ��� ��� ������ �� ��������� ��� ���� ����������� ��� ��������� �� ���� � ����� ���� ������ ���� ��� ���������� ��� ������ ���� ��� ��� �� ������ �� ������� ����� ��� ����� ������ ��������� � ���� ��������� ���� ��� ������ ��������� �������� �� ��� ����������� �� �� ������������������ ������������ ��� ������ ���� ��� ��� ���� �� ������� �� ������� �� ������� �� ���������� ������ ���� �� ������� ������������������ ������������� �� � ������� ���� � �������� �������� ���� ���� �������� ���� ��� �� �������� �� �� ������� � ������ ������� ���� � ���� �� �������� ��� �������� �������� ���� �� �� ����������� ��� �������� �� ����� �� ���� ������������ ���� ��� ��� ������� ������� �� ������ ��� ����������� ������� �� ��� ����������� ������� ����� ��� ����������� �� ��������������������������������������������������������������� ��� ������������ ����� �� ����� CPU Overview 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