Oh okay. will do that. Thx. I have one more doubt I am trying to print
address of the location of L1 and L2 being used

I realized that L2 Physical Address can be accessed from
pkt->req->getPaddr() and L1 Physical Address  can be extracted from
pkt->req->getAddr(). I am not sure where to put the print statements
should I do that in base.cc ? also should that be inside
BaseCache::init() ? I am not very familiar with gem5. Will appreciate
your help.


*Regards,*
*Kassan Unda*

*Doctoral Candidate*
*Computer Engineering*
*Missouri S&T (Formerly University of Missouri Rolla)*
*WebPage: http://web.mst.edu/~kutx9 <http://web.mst.edu/~kutx9>*

*"Do not go where the path may lead, go instead where there is no path  and
leave a trail."* Ralph Waldo Emerson


On Tue, Jun 2, 2015 at 2:57 PM, Andreas Hansson <[email protected]>
wrote:

>  The scons check relies on pkg-config, so ensure that you have set that
> up correctly.
>
>  Note that you need LIBRARY_FLAG for the compilation part, and
> LD_LIBRARY_PATH when you actually run the binary.
>
>  Andreas
>
>   From: kassan unda <[email protected]>
> Reply-To: gem5 users mailing list <[email protected]>
> Date: Tuesday, 2 June 2015 14:55
> To: gem5 users mailing list <[email protected]>
> Subject: Re: [gem5-users] protobuf inline header not defined
>
>   Hi Andreas thanks for quick reply,
>  I dont have root access, so i installed the protobuf locally and added
> the path to the LD_LIBRARY_PATH. But this error doesnt goes. i also defined
> protobuf_inline_header in it by my self gave it a value 0 but then the gem5
> binary generated gives error.
>
>    *Regards,*
> *Kassan Unda*
>
> *Doctoral Candidate *
> *Computer Engineering*
> *Missouri S&T (Formerly University of Missouri Rolla)*
> *WebPage: http://web.mst.edu/~kutx9 <http://web.mst.edu/~kutx9>*
>
>  *"Do not go where the path may lead, go instead where there is no path
> and leave a trail."* Ralph Waldo Emerson
>
>
> On Tue, Jun 2, 2015 at 2:17 PM, Andreas Hansson <[email protected]>
> wrote:
>
>>  Hi Kassan,
>>
>>  You should not have to change anything in gem5, assuming you have
>> installed protobuf properly.
>>
>>  Andreas
>>
>>   From: kassan unda <[email protected]>
>> Reply-To: gem5 users mailing list <[email protected]>
>> Date: Tuesday, 2 June 2015 14:14
>> To: gem5 users mailing list <[email protected]>
>> Subject: [gem5-users] protobuf inline header not defined
>>
>>   Hi all,
>>  I am trying to use the commMonitor buyt I realised I dont have protobuf.
>> After I installed the protobuf and set the paths now I get error saying
>> "protobuf inline header not defined" and now i cant compile gem5. Any
>> suggestions?
>>    *Regards,*
>> *Kassan Unda*
>>
>> *Doctoral Candidate *
>> *Computer Engineering*
>> *Missouri S&T (Formerly University of Missouri Rolla)*
>> *WebPage: http://web.mst.edu/~kutx9 <http://web.mst.edu/~kutx9>*
>>
>>  *"Do not go where the path may lead, go instead where there is no path
>> and leave a trail."*Ralph Waldo Emerson
>>
>>
>> -- IMPORTANT NOTICE: The contents of this email and any attachments are
>> confidential and may also be privileged. If you are not the intended
>> recipient, please notify the sender immediately and do not disclose the
>> contents to any other person, use it for any purpose, or store or copy the
>> information in any medium. Thank you.
>>
>> ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ,
>> Registered in England & Wales, Company No: 2557590
>> ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ,
>> Registered in England & Wales, Company No: 2548782
>>
>> _______________________________________________
>> gem5-users mailing list
>> [email protected]
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>
>
> -- IMPORTANT NOTICE: The contents of this email and any attachments are
> confidential and may also be privileged. If you are not the intended
> recipient, please notify the sender immediately and do not disclose the
> contents to any other person, use it for any purpose, or store or copy the
> information in any medium. Thank you.
>
> ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ,
> Registered in England & Wales, Company No: 2557590
> ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ,
> Registered in England & Wales, Company No: 2548782
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to