cpu-o3: Fix bug in LSQUnit(uint32_t, uint32_t) ctor
authorTony Gutierrez <anthony.gutierrez@amd.com>
Tue, 11 Dec 2018 00:20:06 +0000 (19:20 -0500)
committerAnthony Gutierrez <anthony.gutierrez@amd.com>
Tue, 11 Dec 2018 00:40:00 +0000 (00:40 +0000)
commit866b200c202dded37fdd857a1a42ec149bd109c9
treeb0771c077b40c64ce34a90c2174a750168a1ba75
parent9c1b329bc62ebf693cc4b23ddc7bd2225ef49e6a
cpu-o3: Fix bug in LSQUnit(uint32_t, uint32_t) ctor

Change 9af1214 added a new ctor to the LSQUnit, however
there is a typo/bug because it sizes the SQEntries
member variable to lqEntries + 1, as opposed to
sqEntries + 1. This change corrects the issue by
using sqEntries.

Change-Id: I19dfaa5c0e335bd7b84343a92034147d7c5d914e
Reviewed-on: https://gem5-review.googlesource.com/c/15015
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
src/cpu/o3/lsq_unit_impl.hh