Hello, I am working on a basic implementation of a scratchpad memory. For those who do not know how they work, basically these memories are meant to allocate the data you want on them for, in example, reuse code or allocate temporal data for intermediate results. Their area ocuppies the same as a L2 cache.
On the other side, we can compare them with caches. They would work as caches without misses, because we access to them providing an address reserved on memory map for them. In example, we could make a scratchpad malloc. On the other hand, they do not have coherence protocol or something similar. My question is, would it be better to inherit from BaseCache and create "my own" scratchpad memory cache based excluding parameters and functions not mean to them or would it be better to inherit from MemObject and create all parameters and functions? -- Marcos Horro Varela Representante de alumnos Dpto. Electrónica y Sistemas Universidade da Coruña +34 618 626 737 _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
