SimpleNetwork.hh (9117:49116b947194) | SimpleNetwork.hh (9302:c2e70a9bc340) |
---|---|
1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 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; --- 72 unchanged lines hidden (view full) --- 81 bool isReconfiguration); 82 void makeInternalLink(SwitchID src, SwitchID dest, BasicLink* link, 83 LinkDirection direction, 84 const NetDest& routing_table_entry, 85 bool isReconfiguration); 86 87 void print(std::ostream& out) const; 88 | 1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 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; --- 72 unchanged lines hidden (view full) --- 81 bool isReconfiguration); 82 void makeInternalLink(SwitchID src, SwitchID dest, BasicLink* link, 83 LinkDirection direction, 84 const NetDest& routing_table_entry, 85 bool isReconfiguration); 86 87 void print(std::ostream& out) const; 88 |
89 bool functionalRead(Packet *pkt); 90 uint32_t functionalWrite(Packet *pkt); 91 |
|
89 private: 90 void checkNetworkAllocation(NodeID id, bool ordered, int network_num); 91 void addLink(SwitchID src, SwitchID dest, int link_latency); 92 void makeLink(SwitchID src, SwitchID dest, 93 const NetDest& routing_table_entry, int link_latency); 94 SwitchID createSwitch(); 95 void makeTopology(); 96 void linkTopology(); --- 29 unchanged lines hidden --- | 92 private: 93 void checkNetworkAllocation(NodeID id, bool ordered, int network_num); 94 void addLink(SwitchID src, SwitchID dest, int link_latency); 95 void makeLink(SwitchID src, SwitchID dest, 96 const NetDest& routing_table_entry, int link_latency); 97 SwitchID createSwitch(); 98 void makeTopology(); 99 void linkTopology(); --- 29 unchanged lines hidden --- |