A problem when simulating with the option -F or --fast-forward #1335
-
Hi, all! I'm trying to using gem5 (version 23.1) to simulate my workload and encounter with the problem while using option -F or --fast-forward. Then I leverage the se.py to test: command line: build/X86/gem5.opt configs/deprecated/example/se.py --cmd=tests/test-progs/hello/bin/x86/linux/hello -F 10000 warn: The se.py script is deprecated. It will be removed in future releases of gem5. At: I don't know how to use the option of fast-forward. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hello! I tried to reproduce your problem, but I can't find the -F or --fast-forward option either in main.py or se.py, could you please provide details? |
Beta Was this translation helpful? Give feedback.
I looked at your code and the problem is that the
CPUClass
returned is a tuple and not a class instance, which causes the error to be reported. Please addCPUClass = CPUClass[0]
beforeCPUClass.numThreads = numThreads
and it will solve the problem, at least for me.Also se.py is deprecated, try not to use it, the file looks like it hasn't been maintained for a long time.
Hope this helps.