-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.gem5.org/r/1883/
-----------------------------------------------------------

(Updated June 6, 2013, 2:35 p.m.)


Review request for Default.


Description (updated)
-------

Changeset 9760:afe0a546336f
---------------------------
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.


Diffs (updated)
-----

  configs/common/CacheConfig.py 101441a7b420 
  configs/common/Simulation.py 101441a7b420 
  configs/example/fs.py 101441a7b420 
  configs/example/memtest.py 101441a7b420 
  configs/example/ruby_direct_test.py 101441a7b420 
  configs/example/ruby_fs.py 101441a7b420 
  configs/example/ruby_mem_test.py 101441a7b420 
  configs/example/ruby_network_test.py 101441a7b420 
  configs/example/ruby_random_test.py 101441a7b420 
  configs/example/se.py 101441a7b420 
  configs/ruby/MESI_CMP_directory.py 101441a7b420 
  configs/ruby/MI_example.py 101441a7b420 
  configs/ruby/MOESI_CMP_directory.py 101441a7b420 
  configs/ruby/MOESI_CMP_token.py 101441a7b420 
  configs/ruby/MOESI_hammer.py 101441a7b420 
  configs/ruby/Network_test.py 101441a7b420 
  configs/ruby/Ruby.py 101441a7b420 
  src/arch/alpha/AlphaSystem.py 101441a7b420 
  src/arch/mips/MipsSystem.py 101441a7b420 
  src/cpu/BaseCPU.py 101441a7b420 
  src/cpu/dummy_checker.cc 101441a7b420 
  src/cpu/o3/checker.cc 101441a7b420 
  src/dev/Ethernet.py 101441a7b420 
  src/mem/ruby/system/RubyMemoryControl.py 101441a7b420 
  src/sim/ClockDomain.py PRE-CREATION 
  src/sim/ClockedObject.py 101441a7b420 
  src/sim/SConscript 101441a7b420 
  src/sim/clock_domain.hh PRE-CREATION 
  src/sim/clock_domain.cc PRE-CREATION 
  src/sim/clocked_object.hh 101441a7b420 
  tests/configs/base_config.py 101441a7b420 
  tests/configs/memtest-ruby.py 101441a7b420 
  tests/configs/memtest.py 101441a7b420 
  tests/configs/o3-timing-mp-ruby.py 101441a7b420 
  tests/configs/o3-timing-ruby.py 101441a7b420 
  tests/configs/pc-simple-timing-ruby.py 101441a7b420 
  tests/configs/rubytest-ruby.py 101441a7b420 
  tests/configs/simple-atomic-mp-ruby.py 101441a7b420 
  tests/configs/simple-timing-mp-ruby.py 101441a7b420 
  tests/configs/simple-timing-ruby.py 101441a7b420 
  tests/configs/tgen-simple-dram.py 101441a7b420 
  tests/configs/tgen-simple-mem.py 101441a7b420 
  tests/configs/twosys-tsunami-simple-atomic.py 101441a7b420 

Diff: http://reviews.gem5.org/r/1883/diff/


Testing
-------

All regressions pass


Thanks,

Andreas Hansson

_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to