memtest.py (3355:f15cc71cdf09) memtest.py (3623:c37f82ace0fe)
1# Copyright (c) 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

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

128
129# instantiate configuration
130m5.instantiate(root)
131
132# simulate until program terminates
133if options.maxtick:
134 exit_event = m5.simulate(options.maxtick)
135else:
1# Copyright (c) 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

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

128
129# instantiate configuration
130m5.instantiate(root)
131
132# simulate until program terminates
133if options.maxtick:
134 exit_event = m5.simulate(options.maxtick)
135else:
136 exit_event = m5.simulate()
136 exit_event = m5.simulate(10000000000000)
137
138print 'Exiting @ tick', m5.curTick(), 'because', exit_event.getCause()
137
138print 'Exiting @ tick', m5.curTick(), 'because', exit_event.getCause()