Ethernet.py (11263:8dcc6b40f164) | Ethernet.py (11290:1640dd68b0a4) |
---|---|
1# Copyright (c) 2015 ARM Limited 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 44 unchanged lines hidden (view full) --- 53 cxx_header = "dev/net/etherlink.hh" 54 int0 = SlavePort("interface 0") 55 int1 = SlavePort("interface 1") 56 delay = Param.Latency('0us', "packet transmit delay") 57 delay_var = Param.Latency('0ns', "packet transmit delay variability") 58 speed = Param.NetworkBandwidth('1Gbps', "link speed") 59 dump = Param.EtherDump(NULL, "dump object") 60 | 1# Copyright (c) 2015 ARM Limited 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 44 unchanged lines hidden (view full) --- 53 cxx_header = "dev/net/etherlink.hh" 54 int0 = SlavePort("interface 0") 55 int1 = SlavePort("interface 1") 56 delay = Param.Latency('0us', "packet transmit delay") 57 delay_var = Param.Latency('0ns', "packet transmit delay variability") 58 speed = Param.NetworkBandwidth('1Gbps', "link speed") 59 dump = Param.EtherDump(NULL, "dump object") 60 |
61class MultiEtherLink(EtherObject): 62 type = 'MultiEtherLink' 63 cxx_header = "dev/net/multi_etherlink.hh" | 61class DistEtherLink(EtherObject): 62 type = 'DistEtherLink' 63 cxx_header = "dev/net/dist_etherlink.hh" |
64 int0 = SlavePort("interface 0") 65 delay = Param.Latency('0us', "packet transmit delay") 66 delay_var = Param.Latency('0ns', "packet transmit delay variability") 67 speed = Param.NetworkBandwidth('1Gbps', "link speed") 68 dump = Param.EtherDump(NULL, "dump object") | 64 int0 = SlavePort("interface 0") 65 delay = Param.Latency('0us', "packet transmit delay") 66 delay_var = Param.Latency('0ns', "packet transmit delay variability") 67 speed = Param.NetworkBandwidth('1Gbps', "link speed") 68 dump = Param.EtherDump(NULL, "dump object") |
69 multi_rank = Param.UInt32('0', "Rank of the this gem5 process (multi run)") 70 sync_start = Param.Latency('5200000000000t', "first multi sync barrier") 71 sync_repeat = Param.Latency('10us', "multi sync barrier repeat") | 69 dist_rank = Param.UInt32('0', "Rank of this gem5 process (dist run)") 70 dist_size = Param.UInt32('1', "Number of gem5 processes (dist run)") 71 sync_start = Param.Latency('5200000000000t', "first dist sync barrier") 72 sync_repeat = Param.Latency('10us', "dist sync barrier repeat") |
72 server_name = Param.String('localhost', "Message server name") 73 server_port = Param.UInt32('2200', "Message server port") | 73 server_name = Param.String('localhost', "Message server name") 74 server_port = Param.UInt32('2200', "Message server port") |
75 is_switch = Param.Bool(False, "true if this a link in etherswitch") 76 num_nodes = Param.UInt32('2', "Number of simulate nodes") |
|
74 75class EtherBus(EtherObject): 76 type = 'EtherBus' 77 cxx_header = "dev/net/etherbus.hh" 78 loopback = Param.Bool(True, "send packet back to the sending interface") 79 dump = Param.EtherDump(NULL, "dump object") 80 speed = Param.NetworkBandwidth('100Mbps', "bus speed in bits per second") 81 --- 164 unchanged lines hidden --- | 77 78class EtherBus(EtherObject): 79 type = 'EtherBus' 80 cxx_header = "dev/net/etherbus.hh" 81 loopback = Param.Bool(True, "send packet back to the sending interface") 82 dump = Param.EtherDump(NULL, "dump object") 83 speed = Param.NetworkBandwidth('100Mbps', "bus speed in bits per second") 84 --- 164 unchanged lines hidden --- |