systemc: Implement sc_hierarchical_name_exists.
authorGabe Black <gabeblack@google.com>
Tue, 2 Oct 2018 23:59:46 +0000 (16:59 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 16 Oct 2018 00:47:36 +0000 (00:47 +0000)
commit7ddf2336fec1540935ac5771e6fdd50e45473e23
tree8a0bcd1c9c784bb695a4c137d6dd8d2f35ff18b7
parent3e92388fd56170c6a7f828a1505e24314ec8bf4c
systemc: Implement sc_hierarchical_name_exists.

This function checks the top level collection of events and objects
to find if one with a particular name exists.

Change-Id: Icf539b502fa9c7401be907ee975eb24a47e79a87
Reviewed-on: https://gem5-review.googlesource.com/c/13206
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/systemc/core/sc_module.cc