A configurable cache simulator for the MIPS architecture