port.hh (13288:f1c04129f709) | port.hh (13319:94ab5f67a8c3) |
---|---|
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 --- 154 unchanged lines hidden (view full) --- 163 void sensitive(StaticSensitivityPort *port); 164 void sensitive(StaticSensitivityFinder *finder); 165 void addReset(Reset *reset); 166 167 void finalize(); 168 void regPort(); 169 170 int size() { return _size; } | 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 --- 154 unchanged lines hidden (view full) --- 163 void sensitive(StaticSensitivityPort *port); 164 void sensitive(StaticSensitivityFinder *finder); 165 void addReset(Reset *reset); 166 167 void finalize(); 168 void regPort(); 169 170 int size() { return _size; } |
171 int maxSize() { return _maxSize; } | 171 int maxSize() { return _maxSize ? _maxSize : _size; } |
172}; 173 174} // namespace sc_gem5 175 176#endif // __SYSTEMC_CORE_PORT_HH__ | 172}; 173 174} // namespace sc_gem5 175 176#endif // __SYSTEMC_CORE_PORT_HH__ |