systemc: Report an error if an sc_event_finder is used on an unbound port.
authorGabe Black <gabeblack@google.com>
Fri, 5 Oct 2018 22:09:31 +0000 (15:09 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 16 Oct 2018 00:55:52 +0000 (00:55 +0000)
commitf4a671e1eb534b9cf3e33af581adc364c577c57b
tree68dcf38aea81e4d79e90f808cfd7804301048cec
parent224e28c32bb937f5ad37a31138a5fa4cae247871
systemc: Report an error if an sc_event_finder is used on an unbound port.

Rather than assuming the port is bound, check and report an error.

Change-Id: I4af89d104bc6de9932ff044740446833732d01d9
Reviewed-on: https://gem5-review.googlesource.com/c/13300
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/systemc/ext/core/sc_event.hh