se.py (5369:9358355117b0) se.py (5457:08bd3709d482)
1# Copyright (c) 2006-2008 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

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

26#
27# Authors: Steve Reinhardt
28
29# Simple test script
30#
31# "m5 test.py"
32
33import m5
1# Copyright (c) 2006-2008 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

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

26#
27# Authors: Steve Reinhardt
28
29# Simple test script
30#
31# "m5 test.py"
32
33import m5
34
35if m5.build_env['FULL_SYSTEM']:
36 m5.panic("This script requires syscall emulation mode (*_SE).")
37
34from m5.objects import *
35import os, optparse, sys
36m5.AddToPath('../common')
37import Simulation
38from Caches import *
39from cpu2000 import *
40
41# Get paths we might need. It's expected this file is in m5/configs/example.

--- 97 unchanged lines hidden ---
38from m5.objects import *
39import os, optparse, sys
40m5.AddToPath('../common')
41import Simulation
42from Caches import *
43from cpu2000 import *
44
45# Get paths we might need. It's expected this file is in m5/configs/example.

--- 97 unchanged lines hidden ---