diff options
author | Gabe Black <gabeblack@google.com> | 2018-10-04 17:45:34 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-10-16 00:54:06 +0000 |
commit | a61426dcc4a7f775f0902ba272501e926aeec13f (patch) | |
tree | 72097c296d16592301e5318dd7d4882d1e44a963 /src/systemc/core/module.hh | |
parent | f39a68fcca3643a0bda2ca965c432ad70402fbd9 (diff) | |
download | gem5-a61426dcc4a7f775f0902ba272501e926aeec13f.tar.xz |
systemc: Keep track of progress when positionally binding.
Positionally binding more than once (like with the deprecated comma or
<< operators) should pick up where it left off the last time instead
of starting again from the beginning.
Change-Id: Ifc33520d6ce40544bd0ad80a5657b1a38a7914e4
Reviewed-on: https://gem5-review.googlesource.com/c/13297
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/core/module.hh')
-rw-r--r-- | src/systemc/core/module.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/systemc/core/module.hh b/src/systemc/core/module.hh index 695f30565..8d6df81e6 100644 --- a/src/systemc/core/module.hh +++ b/src/systemc/core/module.hh @@ -125,6 +125,8 @@ class Module std::vector<::sc_core::sc_port_base *> ports; std::vector<::sc_core::sc_export_base *> exports; + int bindingIndex; + void beforeEndOfElaboration(); void endOfElaboration(); void startOfSimulation(); |