systemc: Fill out some error reporting in sc_port.
authorGabe Black <gabeblack@google.com>
Thu, 4 Oct 2018 23:41:32 +0000 (16:41 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 16 Oct 2018 00:53:23 +0000 (00:53 +0000)
commitf39a68fcca3643a0bda2ca965c432ad70402fbd9
tree2a6abbd2ac3daef906d6e609a3af3694b27a933a
parent1618220d6d37e8ee8b374699898e5c5d3c5da0ed
systemc: Fill out some error reporting in sc_port.

Rather than just asserting some invariants are true, report errors if
they aren't.

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