Hi there,
I have a more general question about processor design, hope that is alright ;)
I am just implementing some kind of MIPS core, and I am about to integrate the memory hiarchy with instruction and data cache which is linked to a SRAM that contains the binary. So I was thinking of having one module for each the data and instruction cache which are both connected to the SRAM module. In this case I need two datawrite, dataread signals, one from each cache to the memory is that right? In addition, when a cache miss occurs I was thinking of stalling the pipeline for 2 clock cycles until the cache has been updated with the memory content. Is this a proper approach?
Cheers, Roman