params.py (11988:665cd5f8b52b) | params.py (13671:b288ca1bcae8) |
---|---|
1# Copyright (c) 2017 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 --- 29 unchanged lines hidden (view full) --- 38# 39# Authors: Nathan Binkert 40 41import inspect 42import _m5 43 44for name, module in inspect.getmembers(_m5): 45 if name.startswith('param_') or name.startswith('enum_'): | 1# Copyright (c) 2017 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 --- 29 unchanged lines hidden (view full) --- 38# 39# Authors: Nathan Binkert 40 41import inspect 42import _m5 43 44for name, module in inspect.getmembers(_m5): 45 if name.startswith('param_') or name.startswith('enum_'): |
46 exec "from _m5.%s import *" % name | 46 exec("from _m5.%s import *" % name) |