some questions about pulpissimo L1 memory
#3
Photo 
(11-26-2024, 06:44 PM)kgf Wrote: I think the naming might be a bit confusing. Our main research projects do not use traditional data cache. We use a local (smaller) memory that is able to respond within a cycle. The higher level hierarchies are then managed differently (either through a DMA, i.e. software controlled). In short L1 refers to the level1 memory, and is not necessarily interpreted as L1 cache. Note that the instruction cache in these systems works in a traditional way.

Conflict between instruction and data memory reads in such systems are handled by multiple physical banks (the logarithmic or tcdm interconnect would allow the system to access two parallel reads from different memory banks) The conflicts are reduced by placing the code and data to physically distinct memory blocks. In some systems where there are also acceleerators this leads to more elaborate banking designs. They differ from application to application so it is not a generic method, we have some projects where we are more or less aggressive with these tricks.

Our Ariane/CVA6 based systems use traditional L1 data caches.

Hope that clarifies some questions

Thank you for your reply! I’ve understood that "the conflicts are reduced by placing the code and data into physically distinct memory blocks." However, I still have a few questions that I’d like to confirm with you:
  1. In the image below, is the I$ on the left (in the riscy core) the smaller local memory you described for caching data, while Ibuf represents the traditional instruction cache? And do these two data paths communicate with the L2 memory via the TCDM interconnect, corresponding to the
    s_lint_fc_data_bus and  s_lint_fc_instr_bus signals in the code?
  2. Unlike Pulpissimo, does the multicore system on the right have a specific data cache (TCDM) and instruction cache, and these two then exchange data with the L2 cache via the SoC bus? Is my understanding correct?
    I would greatly appreciate it if you could reply.    
Reply


Messages In This Thread
RE: some questions about pulpissimo L1 memory - by jsen_che11 - 11-27-2024, 12:57 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)