Stating it more clearly, I need to recognize whether the packet is about to 
occupy a system bus or a bus connecting L1 and L2 cache. I ahve two buses in my 
system. toL2Bus and membus !

---- Original message ----
>Date: Sun, 25 Nov 2007 18:31:04 -0600
>From: Ali Saidi <[EMAIL PROTECTED]>  
>Subject: Re: [m5-users] Adding Parameters to Objects  
>To: M5 users mailing list <[email protected]>
>
>In short yes. It what way does it not work?
>
>Ali
>
>On Nov 25, 2007, at 6:03 PM, Shoaib Akram wrote:
>
>> I want to add parameter to bus.h so i can recognize when a declared  
>> bus in python script is system bus other than a toL2bus etc. I  
>> declared a variable in bus.h, used it in bus.cc, and added the  
>> following statement in m5.objects in bus.py.   
>> system_bus=Param.Bool(False,"System bus?")....it doesnot seem to  
>> work ! Is this the right way to do it??
>> _______________________________________________
>> m5-users mailing list
>> [email protected]
>> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
>>
>
>_______________________________________________
>m5-users mailing list
>[email protected]
>http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to