sim: Fatal if a clocked object is set to have a clock of 0
authorAndreas Hansson <andreas.hansson@arm.com>
Mon, 7 Jan 2013 18:05:39 +0000 (13:05 -0500)
committerAndreas Hansson <andreas.hansson@arm.com>
Mon, 7 Jan 2013 18:05:39 +0000 (13:05 -0500)
commit921490a0609a1f47fe7add6da551aa70b1707649
tree7fb1fb2fd4753f98df819c9d3b482347288f2076
parent490dc30d9620891c54ddcd57c56adf092a71d79b
sim: Fatal if a clocked object is set to have a clock of 0

This patch adds a check to the clocked object constructor to ensure it
is not configured to have a clock period of 0.
src/mem/cache/base.cc
src/sim/clocked_object.hh