port.cc (13260:4d18f1d20093) | port.cc (13273:af60ddcf2a32) |
---|---|
1/* 2 * Copyright 2018 Google, Inc. 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 --- 106 unchanged lines hidden (view full) --- 115 else 116 finalizeReset(s->reset); 117 delete s; 118 } 119 120 sensitivities.clear(); 121} 122 | 1/* 2 * Copyright 2018 Google, Inc. 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 --- 106 unchanged lines hidden (view full) --- 115 else 116 finalizeReset(s->reset); 117 delete s; 118 } 119 120 sensitivities.clear(); 121} 122 |
123void 124Port::regPort() 125{ 126 if (!regPortNeeded) 127 return; 128 129 for (int i = 0; i < size(); i++) 130 getInterface(i)->register_port(*portBase, portBase->_ifTypeName()); 131} 132 |
|
123std::list<Port *> allPorts; 124 125} // namespace sc_gem5 | 133std::list<Port *> allPorts; 134 135} // namespace sc_gem5 |