Discussion:
[gem5-users] Trace error
ya di
2018-08-06 09:01:03 UTC
Permalink
I use the command as follow:

build/ALPHA/gem5.opt -d bzip_10Minsts configs/example/se.py -c
tests/test-progs/hello/bin/alpha/linux/hello --cpu-type=DerivO3CPU
--caches -I 10000000 --elastic-trace-en
--data-trace-file=deptrace.proto.gz
--inst-trace-file=fetchtrace.proto.gz --mem-type=SimpleMemory

but when I run ElasticTrace.py file, there is error:

cpu.traceListener = m5.objects.ElasticTrace(
AttributeError: 'module' object has no attribute 'ElasticTrace'

and I find it in the ElasticTrace.py:

cpu.traceListener = m5.objects.ElasticTrace(
instFetchTraceFile = options.inst_trace_file,
dataDepTraceFile = options.data_trace_file,
depWindowSize = 3 * cpu.numROBEntries)

I don't know why this happen and I can not sure what is m5 mean.

Or where is m5??

Thank you very much!!

Loading...