6533b874fe1ef96bd12d60e9

RESEARCH PRODUCT

Spim-Cache: A Pedagogical Tool for Teaching Cache Memories Through Code-Based Exercises

Salvador PetitJulio SahuquilloAna PontN. Tomas

subject

MultimediaCPU cacheComputer sciencecomputer.software_genreEducationIdentification (information)ComputingMilieux_COMPUTERSANDEDUCATIONCode (cryptography)CacheElectrical and Electronic EngineeringArchitectureComputer aided instructioncomputerPencil (mathematics)

description

Cache memories represent a core topic in all computer organization and architecture courses offered at universities around the world. As a consequence, educational proposals and textbooks address important efforts to this topic. A valuable pedagogical help when studying cache memories is to perform exercises based on simple algorithms, which allow the identification of cache accesses, for instance, a program accessing the elements of an array. These exercises, referred to as code-based exercises, have a good acceptance among instructors of computer organization courses. Nevertheless, no tool (e.g., simulator) has been developed to be used in undergraduate courses working with this kind of exercises; therefore, students perform such exercises by means of the classic paper and pencil methodology. To fill this gap, this paper proposes a new pedagogical tool, namely Spim-cache. A laboratory example is also presented for illustrative purposes.

https://doi.org/10.1109/te.2007.900021