Steam-powered Turing Machine University of Washington Computer Science & Engineering
 CSE 378 Fall 2006
  CSE Home     CSE 378 Fall 2006  About Us    Search    Contact Info 

 Home
Administrative
 Syllabus
 Office Hours
 Mailing List
Assignments
 Reading
 Homework
 Labs
 Exams
Resources
 Lecture Slides
 Handouts
 Wiki
 MIPS Resources
 AHDL Resources
Anonymous Feedback
 Feedback Form
   

Caches

Module: ICache_4Word

This is an instruction cache with one 4 word line designed to be used in a pipelined processor with caching. The cache operates by sending a request to memory, then waiting for the main memory to respond that it has completed the request before moving on. To prevent this cache and the data cache from accessing memory at the same time, this cache is capable of stalling the entire pipeline while it reads from memory.

Port Description:

 
Name Dir Width Description
CLK In 1 Clock signal for the cache, should be the same as the processor clock.
CacheInvalidAddress In 1 Signals the cache if the address requested is invalid. Not currently in use.
CacheLine In 128 Data requested from memory
CacheValid In 1 Signal from memory to indicate data provided is now valid
InstrAddr In 32 The address of the instruction requested by the processor
Reset In 1 Resets the cache
CacheAddress Out 28 Address of data requested from memory
CacheReadRequest Out 1 Notifies memory that the cache is requesting data
Instruction Out 32 The current instruction as specified by the InstrAddr value
InvalidAddress Out 1 Signal by the cache that it has received an invalid address
Stall Out 1 Signal to the processor to stall while the cache is fetching data.

Symbols:

 
 

Module: ICache_1Word

This is an instruction cache with one 1 word line designed to be used in a pipelined processor with caching. The cache operates by sending a request to memory, then waiting for the main memory to respond that it has completed the request before moving on. To prevent this cache and the data cache from accessing memory at the same time, this cache is capable of stalling the entire pipeline while it reads from memory.

Port Description:

 
Name Dir Width Description
CLK In 1 Clock signal for the cache, should be the same as the processor clock.
CacheInvalidAddress In 1 Signals the cache if the address requested is invalid. Not currently in use.
CacheLine In 32 Data requested from memory
CacheValid In 1 Signal from memory to indicate data provided is now valid
InstrAddr In 32 The address of the instruction requested by the processor
Reset In 1 Resets the cache
CacheAddress Out 28 Address of data requested from memory
CacheReadRequest Out 1 Notifies memory that the cache is requesting data
Instruction Out 32 The current instruction as specified by the InstrAddr value
InvalidAddress Out 1 Signal by the cache that it has received an invalid address
Stall Out 1 Signal to the processor to stall while the cache is fetching data.

Symbols:

 
 


CSE logo Computer Science & Engineering
University of Washington
Box 352350
Seattle, WA  98195-2350
(206) 543-1695 voice, (206) 543-2969 FAX
[comments to Course Staff]