Thanks! It does seem to catch the cases where addTwoLevelCache from the BaseCPU 
is used. However, there are also quite a few cases that currently do the same 
thing "by hand". I suppose the first step would be to update those regression 
scripts to call the convenience function.

To be continued...

Andreas

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of 
Steve Reinhardt
Sent: 06 July 2012 18:37
To: gem5 Developer List
Subject: Re: [gem5-dev] Review Request: Bus: Make the default bus width 8 bytes 
instead of 64

If you use Parent.clock() it will delay the resolution until instantiation
time... could you see if that works?

On Fri, Jul 6, 2012 at 10:32 AM, Andreas Hansson <[email protected]>wrote:

> A bit of an update...the additional complication is that quite often the
> CPU clock is set _after_ everything is connected up. Hence, the self.clock
> doesn't work as intended.
>
> Suggestions? Push the patch as is with the associated updates or change
> something additionally before bumping the stats?
>
> Andreas
>
> -----Original Message-----
> From: Andreas Hansson
> Sent: 06 July 2012 16:02
> To: 'gem5 Developer List'
> Subject: RE: [gem5-dev] Review Request: Bus: Make the default bus width 8
> bytes instead of 64
>
> Hi Ali,
>
> Are you suggesting to change the BaseCPU.py addTwoLevelCacheHierarchy and
> pass a width and clock on the line:
> self.toL2Bus = CoherentBus()
>
> If so, setting the bus clock to self.clock?
>
> What about the width? 128-bits?
>
> Andreas
>
> -----Original Message-----
> From: Ali Saidi [mailto:[email protected]]
> Sent: 06 July 2012 15:30
> To: gem5 Developer List
> Cc: Default; Andreas Hansson
> Subject: Re: [gem5-dev] Review Request: Bus: Make the default bus width 8
> bytes instead of 64
>
> Also, it's not completely clear to me that the l1 l2 bus would be that
> narrow/slow  Otherwise it seems like a good. It's probably at least worth
> defaulting the l1to@2 bus freq to be the CPU freq.
>
> Ali
>
> Sent from my ARM powered mobile device
>
> On Jul 6, 2012, at 9:10 AM, "Steve Reinhardt" <[email protected]> wrote:
>
> > Yes, I suppose since the performance will be changing due to the new bus
> architecture, now is as good a time as any to make the change.  An
> announcement on gem5-users is definitely in order.
>
>
> -- 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.
>
> _______________________________________________
> gem5-dev mailing list
> [email protected]
> http://m5sim.org/mailman/listinfo/gem5-dev
>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev


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

_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to