1#
2# Copyright (c) 2015 Advanced Micro Devices, Inc.
3# All rights reserved.
4#
5# For use for simulation and test purposes only
6#
7# Redistribution and use in source and binary forms, with or without
8# modification, are permitted provided that the following conditions are met:

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

34#
35
36import m5
37from m5.objects import *
38from m5.defines import buildEnv
39from m5.util import addToPath
40import os, optparse, sys, math, glob
41
42m5.util.addToPath('../configs/common')
42m5.util.addToPath('../configs/')
43
44from ruby import Ruby
46import Options
47import GPUTLBOptions, GPUTLBConfig
45from common import Options
46from common import GPUTLBOptions, GPUTLBConfig
47
48########################## Script Options ########################
49def setOption(parser, opt_str, value = 1):
50 # check to make sure the option actually exists
51 if not parser.has_option(opt_str):
52 raise Exception("cannot find %s in list of possible options" % opt_str)
53
54 opt = parser.get_option(opt_str)

--- 295 unchanged lines hidden ---