How to add a new architecture to gem5?

瘦欲@ 提交于 2021-02-11 06:18:51

问题


Is it possible to add a new architecture to gem5 library? If I can add, then what is the procedure to do so. And is there any documents which can help me. I just want to add POWER-PC architecture though it has power architecture in it.


回答1:


I would just copy one of the better maintained existing ISAs (X86, ARM or RISCV seem to be the best maintained to me), mass find and replace old ISA to new ISA name in all files, and then start hacking it up to look like your ISA.

Basic userland syscall emulation is likely feasible for one person to achieve (depending on how well you know your ISA and gem5), but I suspect full system would be months of work.



来源:https://stackoverflow.com/questions/60464435/how-to-add-a-new-architecture-to-gem5

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!