run.py (3360:9a802e1085ec) | run.py (3623:c37f82ace0fe) |
---|---|
1# Copyright (c) 2005-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 --- 248 unchanged lines hidden (view full) --- 257 258# instantiate configuration 259m5.instantiate(root) 260 261# simulate until program terminates 262if options.maxtick: 263 exit_event = m5.simulate(options.maxtick) 264else: | 1# Copyright (c) 2005-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 --- 248 unchanged lines hidden (view full) --- 257 258# instantiate configuration 259m5.instantiate(root) 260 261# simulate until program terminates 262if options.maxtick: 263 exit_event = m5.simulate(options.maxtick) 264else: |
265 exit_event = m5.simulate() | 265 exit_event = m5.simulate(1000000000000) |
266 267print 'Exiting @ tick', m5.curTick(), 'because', exit_event.getCause() 268 | 266 267print 'Exiting @ tick', m5.curTick(), 'because', exit_event.getCause() 268 |