gem5/tests
Akash Bagdia 7d7ab73862 sim: Add the notion of clock domains to all ClockedObjects
This patch adds the notion of source- and derived-clock domains to the
ClockedObjects. As such, all clock information is moved to the clock
domain, and the ClockedObjects are grouped into domains.

The clock domains are either source domains, with a specific clock
period, or derived domains that have a parent domain and a divider
(potentially chained). For piece of logic that runs at a derived clock
(a ratio of the clock its parent is running at) the necessary derived
clock domain is created from its corresponding parent clock
domain. For now, the derived clock domain only supports a divider,
thus ensuring a lower speed compared to its parent. Multiplier
functionality implies a PLL logic that has not been modelled yet
(create a separate clock instead).

The clock domains should be used as a mechanism to provide a
controllable clock source that affects clock for every clocked object
lying beneath it. The clock of the domain can (in a future patch) be
controlled by a handler responsible for dynamic frequency scaling of
the respective clock domains.

All the config scripts have been retro-fitted with clock domains. For
the System a default SrcClockDomain is created. For CPUs that run at a
different speed than the system, there is a seperate clock domain
created. This domain incorporates the CPU and the associated
caches. As before, Ruby runs under its own clock domain.

The clock period of all domains are pre-computed, such that no virtual
functions or multiplications are needed when calling
clockPeriod. Instead, the clock period is pre-computed when any
changes occur. For this to be possible, each clock domain tracks its
children.
2013-06-27 05:49:49 -04:00
..
configs sim: Add the notion of clock domains to all ClockedObjects 2013-06-27 05:49:49 -04:00
long config: Add a BaseSESystem builder for re-use in regressions 2013-06-27 05:49:49 -04:00
quick config: Add a BaseSESystem builder for re-use in regressions 2013-06-27 05:49:49 -04:00
test-progs/hello X86: Add a 32 bit hello world test binary. 2012-05-27 19:01:09 -07:00
diff-out tests: fix diff-out script for op/inst stat changes. 2012-02-12 18:35:59 -06:00
halt.sh Rearrange the FS configs to be more shared. Also check in the full-system tests. Reference stats coming soon. 2006-07-21 15:56:35 -04:00
run.py tests: Add support for testing KVM-based CPUs 2013-04-22 13:20:32 -04:00
SConscript scons: Identify runs that fail and runs with stats differences 2013-06-27 05:49:49 -04:00