diff options
author | Zhang Zheng <perise@gmail.com> | 2017-04-19 18:13:10 +0800 |
---|---|---|
committer | Jason Lowe-Power <jason@lowepower.com> | 2017-06-15 20:57:03 +0000 |
commit | 92bce5770767a7ff76c24f06b7c58b257c495aec (patch) | |
tree | f62d3bc0772647a2facea99d7ab2269426d978dd /configs/learning_gem5/part1 | |
parent | b377217202305784f91ffe719f9c04f54ad24145 (diff) | |
download | gem5-92bce5770767a7ff76c24f06b7c58b257c495aec.tar.xz |
configs: fixed SimpleOpts missing error by adding library path
Change-Id: I0de761c8a322a506e436d5c7f12ee509535f52fd
Reviewed-on: https://gem5-review.googlesource.com/2801
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'configs/learning_gem5/part1')
-rw-r--r-- | configs/learning_gem5/part1/caches.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configs/learning_gem5/part1/caches.py b/configs/learning_gem5/part1/caches.py index 74999cd57..5183c134d 100644 --- a/configs/learning_gem5/part1/caches.py +++ b/configs/learning_gem5/part1/caches.py @@ -33,9 +33,12 @@ This file contains L1 I/D and L2 caches to be used in the simple gem5 configuration script. It uses the SimpleOpts wrapper to set up command line options from each individual class. """ - +import m5 from m5.objects import Cache +# Add the common scripts to our path +m5.util.addToPath('../../') + from common import SimpleOpts # Some specific options for caches |