Mahmood,
do you use "grep"? It is a really powerful tool for finding a string in a
set of files. In your case, I would try:
grep -rn "memData" src/*

That should list all the files that contain the memData string.

Also, lots of people like to use a tool called CScope as wel.

On Fri, Dec 30, 2011 at 8:37 AM, Mahmood Naderan <[email protected]>wrote:

> 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
>



-- 
- Korey
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to