GarnetLink.py (11666:10d59d546ea2) | GarnetLink.py (13665:9c7fe3811b88) |
---|---|
1# Copyright (c) 2008 Princeton University 2# Copyright (c) 2009 Advanced Micro Devices, Inc. 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions are 7# met: redistributions of source code must retain the above copyright 8# notice, this list of conditions and the following disclaimer; --- 16 unchanged lines hidden (view full) --- 25# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 26# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27# 28# Authors: Steve Reinhardt 29# Brad Beckmann 30 31from m5.params import * 32from m5.proxy import * | 1# Copyright (c) 2008 Princeton University 2# Copyright (c) 2009 Advanced Micro Devices, Inc. 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions are 7# met: redistributions of source code must retain the above copyright 8# notice, this list of conditions and the following disclaimer; --- 16 unchanged lines hidden (view full) --- 25# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 26# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27# 28# Authors: Steve Reinhardt 29# Brad Beckmann 30 31from m5.params import * 32from m5.proxy import * |
33from ClockedObject import ClockedObject 34from BasicLink import BasicIntLink, BasicExtLink | 33from m5.objects.ClockedObject import ClockedObject 34from m5.objects.BasicLink import BasicIntLink, BasicExtLink |
35 36class NetworkLink(ClockedObject): 37 type = 'NetworkLink' 38 cxx_header = "mem/ruby/network/garnet2.0/NetworkLink.hh" 39 link_id = Param.Int(Parent.link_id, "link id") 40 link_latency = Param.Cycles(Parent.latency, "link latency") 41 vcs_per_vnet = Param.Int(Parent.vcs_per_vnet, 42 "virtual channels per virtual network") --- 37 unchanged lines hidden --- | 35 36class NetworkLink(ClockedObject): 37 type = 'NetworkLink' 38 cxx_header = "mem/ruby/network/garnet2.0/NetworkLink.hh" 39 link_id = Param.Int(Parent.link_id, "link id") 40 link_latency = Param.Cycles(Parent.latency, "link latency") 41 vcs_per_vnet = Param.Int(Parent.vcs_per_vnet, 42 "virtual channels per virtual network") --- 37 unchanged lines hidden --- |