config: Add a BaseSESystem builder for re-use in regressions
authorAndreas Hansson <andreas.hansson@arm.com>
Thu, 27 Jun 2013 09:49:49 +0000 (05:49 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Thu, 27 Jun 2013 09:49:49 +0000 (05:49 -0400)
commit4de3205afaac1fd11876b33675aa6f49c9632764
treeff510cdaafefa5f7e27bc0b21c6fbd447564a1d9
parent597d2aa3a661587268e3d79cf4726212329fb4af
config: Add a BaseSESystem builder for re-use in regressions

This patch extends the existing system builders to also include a
syscall-emulation builder. This builder is deployed in all
syscall-emulation regressions that do not involve Ruby,
i.e. o3-timing, simple-timing and simple-atomic, as well as the
multi-processor regressions o3-timing-mp, simple-timing-mp and
simple-atomic-mp (the latter are only used by SPARC at this point).

The values chosen for the cache sizes match those that were used in
the existing config scripts (despite being on the large
side). Similarly, a mem_class parameter is added to the builder base
class to enable simple-atomic to use SimpleMemory and o3-timing to use
the default DDR3 configuration.

Due to the different order the ports are connected, the bus stats get
shuffled around for the multi-processor regressions. A separate patch
bumps the port indices. Besides this, all behaviour is exactly the
same.
21 files changed:
tests/configs/base_config.py
tests/configs/inorder-timing.py
tests/configs/o3-timing-checker.py
tests/configs/o3-timing-mp.py
tests/configs/o3-timing.py
tests/configs/simple-atomic-dummychecker.py
tests/configs/simple-atomic-mp.py
tests/configs/simple-atomic.py
tests/configs/simple-timing-mp.py
tests/configs/simple-timing.py
tests/long/se/10.mcf/test.py
tests/long/se/20.parser/test.py
tests/long/se/30.eon/test.py
tests/long/se/40.perlbmk/test.py
tests/long/se/50.vortex/test.py
tests/long/se/60.bzip2/test.py
tests/long/se/70.twolf/test.py
tests/quick/se/00.hello/test.py
tests/quick/se/01.hello-2T-smt/test.py
tests/quick/se/02.insttest/test.py
tests/quick/se/20.eio-short/test.py