TuAtAu
Advanced Member level 4
Hi all, I am designing a processor core in for FPGA by using VHDL.
currently, I m doing pipelining and all instruction complete in 1 clock cycle (CC).
The core can support up to 100MHz CC speed.
Unfortunately, the flash that I planning to use to store Instructions/code can read fastest in 33ns, which is approximate 30MHz CC.
Since my core(100MHz) want to read instruction for each CC from the Flash(30MHz), the core have to keep waiting for the Flash.
So I decided to implement cache into my core, BUT the PROBLEM is:
cache read the memory also need 33ns, after go to cache then CORE read from cache again... it is seems like meaningless...
Or I dont know how to implement the cache to increase the overall system speed.
Anyone can give me any idea about to implement the cache in this situation?
Does cache able to help in this situation? :sad:
currently, I m doing pipelining and all instruction complete in 1 clock cycle (CC).
The core can support up to 100MHz CC speed.
Unfortunately, the flash that I planning to use to store Instructions/code can read fastest in 33ns, which is approximate 30MHz CC.
Since my core(100MHz) want to read instruction for each CC from the Flash(30MHz), the core have to keep waiting for the Flash.
So I decided to implement cache into my core, BUT the PROBLEM is:
cache read the memory also need 33ns, after go to cache then CORE read from cache again... it is seems like meaningless...
Or I dont know how to implement the cache to increase the overall system speed.
Anyone can give me any idea about to implement the cache in this situation?
Does cache able to help in this situation? :sad:
Last edited: