python: Always throw TypeError on slave-slave connections
authorNicholas Lindsay <nicholas.lindsay@arm.com>
Mon, 2 Jul 2018 15:07:31 +0000 (16:07 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 25 Jan 2019 12:46:15 +0000 (12:46 +0000)
commit48f38293c00e0b4e6b575a5cd5ce71cc076a60d5
treeb7f4cae8afd8ffa3146f0892ce35d91b4515f474
parentdb190b8e68c1b3230ac45b75bf74da41a94c7ca2
python: Always throw TypeError on slave-slave connections

params.py checks the validity of memory port-port connections before
they are instantiated in C++. This commit ensures that attempting to
connect two slave ports together will cause a TypeError.

Change-Id: Ia7d0a15df28b96c7bf5e568c4f4917d21a19b824
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/15896
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/python/m5/params.py