simulate.py (8999:6f306dd5cee0) | simulate.py (9195:77fd8912c9d4) |
---|---|
1# Copyright (c) 2012 ARM Limited 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 96 unchanged lines hidden (view full) --- 105 for obj in root.descendants(): obj.createCCObject() 106 for obj in root.descendants(): obj.connectPorts() 107 108 # Do a second pass to finish initializing the sim objects 109 for obj in root.descendants(): obj.init() 110 111 # Do a third pass to initialize statistics 112 for obj in root.descendants(): obj.regStats() | 1# Copyright (c) 2012 ARM Limited 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 96 unchanged lines hidden (view full) --- 105 for obj in root.descendants(): obj.createCCObject() 106 for obj in root.descendants(): obj.connectPorts() 107 108 # Do a second pass to finish initializing the sim objects 109 for obj in root.descendants(): obj.init() 110 111 # Do a third pass to initialize statistics 112 for obj in root.descendants(): obj.regStats() |
113 for obj in root.descendants(): obj.regFormulas() | |
114 115 # We're done registering statistics. Enable the stats package now. 116 stats.enable() 117 118 # Restore checkpoint (if any) 119 if ckpt_dir: 120 ckpt = internal.core.getCheckpoint(ckpt_dir) 121 internal.core.unserializeGlobals(ckpt); --- 112 unchanged lines hidden --- | 113 114 # We're done registering statistics. Enable the stats package now. 115 stats.enable() 116 117 # Restore checkpoint (if any) 118 if ckpt_dir: 119 ckpt = internal.core.getCheckpoint(ckpt_dir) 120 internal.core.unserializeGlobals(ckpt); --- 112 unchanged lines hidden --- |