1 / 7

CSCI2510 Tutorial 5

CSCI2510 Tutorial 5. Introduction to Cache Zong Wen wzong@cse.cuhk.edu.hk. Cache. Cache was the name chosen to represent the level of the memory hierarchy between the processor and main memory in the first commercial computer to have this extra level. Direct Mapping Cache. Terms.

orrin
Download Presentation

CSCI2510 Tutorial 5

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. CSCI2510 Tutorial 5 Introduction to Cache Zong Wen wzong@cse.cuhk.edu.hk

  2. Cache • Cache was the name chosen to represent the level of the memory hierarchy between the processor and main memory in the first commercial computer to have this extra level

  3. Direct Mapping Cache

  4. Terms • cache block - The basic unit for cache storage. May contain multiple bytes/words of data. • cache line - Same as cache block. • tag - A unique identifier for a group of data. Because different regions of memory may be mapped into a block, the tag is used to differentiate between them. • valid bit - A bit of information that indicates whether the data in a block is valid (1) or not (0)

  5. Address decomposition

  6. Accessing the cache

  7. Reference • Computer Organization and Design, The Hardware Software Interface, 3rd Edition

More Related