Docsity

Lecture Slides on Tracking Progress - Computer Architecture | CSE 141L, Study notes of Computer Architecture and Organization

Partial preview of the text

Download Lecture Slides on Tracking Progress - Computer Architecture | CSE 141L and more Study notes Computer Architecture and Organization in PDF only on Docsity!

Week 6 Update

CSE 141L

November 7, 2008

Announcements

  • Lab 2, Part B was due today
    • Go over answers today
  • Lab 3, Part A due in 1 week
    • Create datapath of exec unit
      • Based on your ISA… anyone not have one?
    • Work with your partner on this

Tracking “progress”

  • How to track “time” in CPU
    • Q: How can I tell when X cycles have passed since signal Y was asserted?
    • A: X flip-flops in a row load_store_valid load_store_valid_r^ load_data_ready

“Test” testbench

  • Is a fetch unit affected by load or store operations?
    • How do we tell?

Implementation Result

  • My results (from Xilinx 9.1):
    • 5.517ns Cycle Time
    • 181.26MHz
  • Quick Poll:
    • Who got a better result?

The Critical Path

Before we move on to Lab 3…

  • Any questions?

Back to the Future: 141L

Edition

Register File

  • Read : combinational logic
  • Write : sequential logic
  • Easily implemented by using flip-flops
  • Sample interface: module regfile#(parameter SEL_WIDTH = 4, D_WIDTH = 34) { input clk, input we, input [SEL_WIDTH-1 : 0] read_sel, input [SEL_WIDTH-1 : 0] write_sel, input [D_WIDTH-1 : 0] din, output [D_WIDTH-1 : 0] dout }

Data Memory

  • Use ‘CORE Generator’
    • Optimized implementation
    • Initialize with your ‘*.coe’ file
    • 8K addresses, 34-bit words
    • Tutorial is available on class website
  • Wrapper
    • Provides general interface
    • Read XOR Write
    • ‘refused’ signal?
      • Must try req again

The Backend Datapath

I/O Interface

Backend … … … …

Questions?