修改gem5

时间:2018-10-25 14:32:22

标签: gem5

我修改了缓存模块的标签部分,并在重新编译时出错。我不明白错误消息的含义。 这是我的命令行:

  

scons build / X86 / gem5.opt PROTOCOL = MESI_CMP_directory Ruby = TRUE

Reading SConsopts
Building in /home/jtong/gem5-stable_2012_06_28/build/X86
Using saved variables file /home/jtong/gem5-stable_2012_06_28/build/variables/X86
KeyError: "'Cycles'\nError setting param BaseCache.hash_delay to 1\n":
  File "/home/jtong/gem5-stable_2012_06_28/SConstruct", line 1044:
    exports = 'env')
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 609:
    return method(*args, **kw)
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 546:
    return _SConscript(self.fs, *files, **subst_kw)
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 260:
    exec _file_ in call_stack[-1].globals
  File "/home/jtong/gem5-stable_2012_06_28/build/X86/SConscript", line 444:
    exec('from m5.objects import %s' % modname)
  File "<string>", line 1:
    None
  File "/home/jtong/gem5-stable_2012_06_28/build/X86/SConscript", line 424:
    exec file(source.abspath, 'r') in mod.__dict__
  File "/home/jtong/gem5-stable_2012_06_28/src/mem/cache/BaseCache.py", line 35:
    class BaseCache(MemObject):
  File "/home/jtong/gem5-stable_2012_06_28/src/python/m5/SimObject.py", line 225:
    cls._new_param(key, val)
  File "/home/jtong/gem5-stable_2012_06_28/src/python/m5/SimObject.py", line 253:
    cls._set_param(name, pdesc.default, pdesc)
  File "/home/jtong/gem5-stable_2012_06_28/src/python/m5/SimObject.py", line 258:
    value = param.convert(value)
  File "/home/jtong/gem5-stable_2012_06_28/src/python/m5/params.py", line 173:
    if isinstance(value, self.ptype):
  File "/home/jtong/gem5-stable_2012_06_28/src/python/m5/params.py", line 157:
    ptype = SimObject.allClasses[self.ptype_str]

0 个答案:

没有答案