ok but I can not find that in cache_impl.hh On 12/29/11, Nilay Vaish <[email protected]> wrote: > On Thu, 29 Dec 2011, Mahmood Naderan wrote: > >> But I can not see that the read data is written to load_inst->memData. >> >> On 12/29/11, Nilay Vaish <[email protected]> wrote: >>> On Thu, 29 Dec 2011, Mahmood Naderan wrote: >>> >>>> Hi, >>>> What is the purpose of this statment >>>> >>>> load_inst->memData = new uint8_t[64]; >>>> >>>> I see this in lsq_unit.hh and have no idea what does it do. >>>> Any suggestion? >>>> >>> >>> It seems that the data that would be read from the cache / memory would >>> be >>> stored in the space being allocated. >>> > > You may note that the packet that is sent to the caches uses memData as > the pointer for storing the data. The actual write will occur in the files > related to the caches. > > -- > Nilay > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
-- -- // Naderan *Mahmood; _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
