configs: Do not require default options for caches
authorDavide Basilio Bartolini <davide.basilio.bartolini@huawei.com>
Mon, 12 Oct 2020 20:44:15 +0000 (22:44 +0200)
committerDavide Basilio Bartolini <davide.basilio.bartolini@huawei.com>
Tue, 3 Nov 2020 08:11:04 +0000 (08:11 +0000)
commit94b7451aac34f97f255b6bef64eabcae1b70cbac
tree41401ef2e3c2e55a19cbc7252f92b39c64b52a47
parent63d61af18d6cc13cd72ffc9f0754b8b16555e408
configs: Do not require default options for caches

This change is useful when using custom simulation scripts that do not
rely on configs/common/Options.py.
Without this change, the custom script always needed to provide some
value for cache sizes and HW prefetchers configuration; with this change
it is possible to provide no value and use what is defined in the core
configuration as default.

Change-Id: Id0e807c3fa224180d682f366c7307941bab8ce59
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/36776
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
configs/common/CacheConfig.py