systemc: Add an error check whether an interface is alread bound to a port.
authorGabe Black <gabeblack@google.com>
Sat, 15 Sep 2018 23:20:27 +0000 (16:20 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 16 Oct 2018 00:23:20 +0000 (00:23 +0000)
commit509b1b8439050231f50ae12397b59aa06df5fba9
treef06efc693700752567868762f12c5757932c009b
parent170b9f90c2d2b40114da8b95fd0a2562013353cf
systemc: Add an error check whether an interface is alread bound to a port.

Change-Id: I06e3484176c0c06daa28f7be0ed8437b3b15ddb2
Reviewed-on: https://gem5-review.googlesource.com/c/12816
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/systemc/core/port.hh
src/systemc/tests/systemc/communication/ports/test05/expected_returncode [new file with mode: 0644]