I am facing a problem in passing a simObject as Parameter to DerivO3Cpu simObject . I create a simObject named DtmObject and it appears when I run the command for listing the simObjects: ./build/RISCV/gem5.opt --list-sim-objects.
However, when I try to import (from m5.objects.DtmObject import *) to use it as a parameter in other SimObject, in the O3CPU.py file to be more specific, I get the following error: ImportError: No module named DtmObject. Am I missing something? I followed the tutorial in the gem5 page (http://www.gem5.org/documentation/learning_gem5/part2/parameters/) and still, I can't figure out what is going on. Thanks in advance. ---------------------------------------------------------------------------------------------------------------------------------------------- Francisco Carlos Silva Junior Phd Student at University of Brasilia
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users