Thks for your quick answer.
In the code, i have found that "WIRE_WIDTH_SPACING" has no effect on the static 
or dynamic power of a link. So, what's the useness of "WIRE_WIDTH_SPACING" in 
the simulator?

lyh




At 2011-10-24 13:45:04,"Tushar Krishna" <[email protected]> wrote:
>Hi Lyh,
>The orion parameters are defined here: src/mem/ruby/network/orion/router.cfg
>LINK_LENGTH is the length of each link.
>
>For orion, an important file to look at is:
>src/mem/ruby/network/orion/NetworkPower.cc
>
>OrionLink has no direct relationship with BasicLink.
>BasicLink is the base class for links in garnet and simple network.
>
>When the garnet simulation completes, each link in garnet calls the 
>calculate_power() function.
>This function creates objects of the class OrionLink which are used to 
>estimate power for the links based on activity and link model.
>
>There is no direct provision to specify different wire spacings for 
>different links in the network since all links use the spacing specified 
>in router.cfg.
>[The init() function in OrionLink.cc does the following: const string& 
>width_spacing_model_str = 
>m_orion_cfg_ptr->get<string>("WIRE_WIDTH_SPACING");]
>If you want to model different spacings, I suggest modifying this 
>function to set different spacing models for different links.
>
>- Tushar
>
>
>On 10/24/2011 1:27 AM, lyh wrote:
>> Hi,
>> How do i set "len" of OrionLink ?
>> What's the relationship between OrionLink and BasicLink?
>> Now there are four width_spacing_models for wire,i.e.  
>> SWIDTH_SSPACE,SWIDTH_DSPACE,DWIDTH_SSPACE,DWIDTH_DSPACE. If i want to set 
>> each link a different width_spacing_model for a network, what should I do? 
>> In other words, where should i do configuration?
>>
>> lyh
>> _______________________________________________
>> 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
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to