Change-Id: Ie7d704547bb8523a3c44479a89d2af4fcce6e8b6
Reviewed-on: https://gem5-review.googlesource.com/c/13326
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
resets.clear();
+ if (size() > maxSize()) {
+ std::ostringstream ss;
+ ss << size() << " binds exceeds maximum of " << maxSize() <<
+ " allowed";
+ portBase->report_error(
+ "(E109) complete binding failed", ss.str().c_str());
+ }
+
switch (portBase->_portPolicy()) {
case sc_core::SC_ONE_OR_MORE_BOUND:
if (size() == 0)