configs: Add special case in MemConfig
authorJason Lowe-Power <jason@lowepower.com>
Wed, 16 Sep 2020 00:59:51 +0000 (17:59 -0700)
committerJason Lowe-Power <power.jg@gmail.com>
Wed, 16 Sep 2020 21:07:19 +0000 (21:07 +0000)
commit914d6af8a875f472a919fd6619a0a7da7fd78c6d
treee9a085ca955104dd6a663a70a7b778279a43a07e
parente5a3584df764bf970f832bda30821de8a758ff4b
configs: Add special case in MemConfig

SimpleMemory doesn't implement a full MemCtrl interface. Thus, like the
NVM and HMC memories, we need to add a special case to MemConfig.py. The
--mem-type command line option now works for SimpleMemory and all of the
DRAM interfaces (it does not work for the NVM interfaces, though).

Issue-on: https://gem5.atlassian.net/browse/GEM5-777

Change-Id: I6d60649215be324bdd2a104b1976752f936c960e
Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/34595
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
configs/common/MemConfig.py