8.11 Instrumentation 9 Next Steps
Getting Started  /  8 Tutorials  / 

8.12 Using a cache model

Let us now show a simple example of how to use simple cache model. By default, the Intel Simics simulator does not model any cache system. It uses its own memory system to achieve high speed simulation and modelling a hardware cache model would only slow it down. However, via the instrumentation framework, the flow of memory operations coming from the processor can be captured, and this allows modelling caches.

Here is an example of using instrumentation to connect a simple cache model.

Source code for cache model is in the base package under: src/extensions/simple-cache-tool.

8.11 Instrumentation 9 Next Steps