I followed the steps in "Defining ISAs (as of M5 2.0 beta 3). According to the steps, there are some relevant files which need to be copied from the MIPS ISA description, but the files isa_traits.cc, regfile.hh and regfile.cc are not in the gem5/src/arch/mips directory to begin with. I also could not find the isa_specific.hh file in gem5/src/arch directory. Therefore I just copied the whole gem5/src/arch/mips directory and changed all instances of MipsISA to MyISA in the files in that directory. I did not bother with the missing isa_specific.hh file but followed the other steps in the website. But when I came to the final step to test that the decoder builds by running the command
scons build/MYISA_SE/arch/MyISA/atomic_simple_cpu_exec.cc CPU_MODELS=AtomicSimpleCPU I get the message "Don't know what TLB to use for isa myisa". What could be the solution? Thanks.
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
