BasicLink.py (11663:cf870cd20cfc) | BasicLink.py (11664:2365e9e396f7) |
---|---|
1# Copyright (c) 2011 Advanced Micro Devices, Inc. 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 32 unchanged lines hidden (view full) --- 41 bandwidth_factor = Param.Int("generic bandwidth factor, usually in bytes") 42 weight = Param.Int(1, "used to restrict routing in shortest path analysis") 43 44class BasicExtLink(BasicLink): 45 type = 'BasicExtLink' 46 cxx_header = "mem/ruby/network/BasicLink.hh" 47 ext_node = Param.RubyController("External node") 48 int_node = Param.BasicRouter("ID of internal node") | 1# Copyright (c) 2011 Advanced Micro Devices, Inc. 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 32 unchanged lines hidden (view full) --- 41 bandwidth_factor = Param.Int("generic bandwidth factor, usually in bytes") 42 weight = Param.Int(1, "used to restrict routing in shortest path analysis") 43 44class BasicExtLink(BasicLink): 45 type = 'BasicExtLink' 46 cxx_header = "mem/ruby/network/BasicLink.hh" 47 ext_node = Param.RubyController("External node") 48 int_node = Param.BasicRouter("ID of internal node") |
49 bandwidth_factor = 16 | 49 bandwidth_factor = 16 # only used by simple network |
50 51class BasicIntLink(BasicLink): 52 type = 'BasicIntLink' 53 cxx_header = "mem/ruby/network/BasicLink.hh" 54 src_node = Param.BasicRouter("Router on src end") 55 dst_node = Param.BasicRouter("Router on dst end") | 50 51class BasicIntLink(BasicLink): 52 type = 'BasicIntLink' 53 cxx_header = "mem/ruby/network/BasicLink.hh" 54 src_node = Param.BasicRouter("Router on src end") 55 dst_node = Param.BasicRouter("Router on dst end") |
56 57 # only used by Garnet. 58 src_outport = Param.String("", "Outport direction at src router") 59 dst_inport = Param.String("", "Inport direction at dst router") 60 61 # only used by simple network |
|
56 bandwidth_factor = 16 | 62 bandwidth_factor = 16 |