Path: utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!decwrl!purdue!bu-cs!bloom-beacon!mit-eddie!uw-beaver!cornell!rochester!pt.cs.cmu.edu!fas.ri.cmu.edu!schmitz From: schmitz@fas.ri.cmu.edu (Donald Schmitz) Newsgroups: comp.sys.m68k Subject: Re: MC68020 instruction cache ?? Keywords: help info cache Message-ID: <3601@pt.cs.cmu.edu> Date: 17 Nov 88 14:51:37 GMT References: <10940@dartvax.Dartmouth.EDU> Organization: Carnegie-Mellon University, CS/RI Lines: 19 In article <10940@dartvax.Dartmouth.EDU> kurash@eleazar.dartmouth.edu (Mark Valence) writes: >Where can I get technical info on the instruction cache of the MC68020? >I am trying the Freeware BBS, and thought someone here might be able to help. > >Specifically, I need info on > >1) how the cache is filled. >2) how cache misses are handled. > Chapter 7 of the 68020 data book describes the I-cache. Its operation is very simple (chapter 7 has only 4 pages). Basically, address bits 2-7 are used as an index into the cache (it is 64 entries long), and if the top 24 bits of the address match the cache entry tag, the instruction is fetched from the cache, otherwise it is fetched from memory and the cache entry is updated to contain the newly fetched instruction. A cache control register allows you to turn enable, disable, clear and freeze the cache. Don Schmitz --