Deleted Added
sdiff udiff text old ( 3107:b88d1ff63b19 ) new ( 3202:c095cfd0da96 )
full compact
1# Copyright (c) 2004-2006 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 712 unchanged lines hidden (view full) ---

721
722 def resume(self):
723 if isinstance(self, SimObject) and not isinstance(self, ParamContext):
724 self._ccObject.resume()
725 for child in self._children.itervalues():
726 child.resume()
727
728 def changeTiming(self, mode):
729 if isinstance(self, System):
730 self._ccObject.setMemoryMode(mode)
731 for child in self._children.itervalues():
732 child.changeTiming(mode)
733
734 def takeOverFrom(self, old_cpu):
735 cpu_ptr = cc_main.convertToBaseCPUPtr(old_cpu._ccObject)
736 self._ccObject.takeOverFrom(cpu_ptr)
737

--- 61 unchanged lines hidden ---