mem: Use address range to find the destination port in the xbar
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Mon, 4 Jun 2018 15:20:47 +0000 (16:20 +0100)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Tue, 19 Jun 2018 14:24:25 +0000 (14:24 +0000)
commit6cb46ba839b2bf535e294fde9179e2aff6095814
tree16cf3f355db2d378b0213406c84de968d51f01fc
parente27448fd0e21dbf4ef77a8bbb33a4053e31cb67d
mem: Use address range to find the destination port in the xbar

Previously the xbar used the start address to lookup the port map and
determine the right destination of an incoming packet. This change
uses the full address range to correctly determine the right master.

Change-Id: I5118712c43ae65aba64e71bf030bca5c99770bdd
Reviewed-on: https://gem5-review.googlesource.com/11117
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/mem/coherent_xbar.cc
src/mem/noncoherent_xbar.cc
src/mem/xbar.cc
src/mem/xbar.hh