Open swanger opened 1 year ago
请提供一下 VCS 仿真的香山版本,我们这边复现检查一下
[TRANSLATION] Please provide the Xiangshan version of VCS simulation, we will repeat and check it
git submodule ca590e7bf514f74ce0a841e91c497d0b7734ddd1 coupledL2 (pass-dualcore-tl-test-92-gca590e7) 0a1e5e29919cac3fd60d3f51620426645c01710b difftest (heads/master) 43474be4c76bb0afe3b2d8358e26f3c37c38b380 fudian (remotes/origin/fadd-adjust-7-g43474be) b7308d958dfa7073e47ca10ce3974d267592049c huancun (remotes/origin/nanny-9-gb7308d9) ff39f3680f69f9b38fa3cdf4c9fc1b2c6b3ec919 ready-to-run (remotes/origin/nanhu-pmp-fix-2-gff39f36) 254ebf7150e1d633fee123281f723d9936d30075 rocket-chip (remotes/origin/xs-merge-41-g254ebf715) 3d812fec9936ccd584df7721aa8c2d02e932d325 utility (remotes/origin/fix-chiseldb)
git log commit a483ee06bac87d8420ac99e1f554911d7d3d8688 (HEAD -> master, origin/master, origin/HEAD) Author: Guokai Chen chenguokai17@mails.ucas.ac.cn Date: Thu Jul 6 13:08:00 2023 +0800
Predecode: fix unintended width cast (#2150)
...
我们按照你提供的代码版本运行了 vcs 仿真,无法复现问题,请再仔细检查运行流程。可以贴一下你执行的所有命令
[TRANSLATION] We ran the vcs simulation according to the code version you provided, but the problem could not be reproduced. Please carefully check the running process again. You can post all the commands you executed
@wakafa1
sh: spike-dasm: command not found
log文件中,为何会出现该该命令未能找到?
这是 Spike 项目提供的一个机器码转汇编的工具,可以参考 https://github.com/riscv-software-src/riscv-isa-sim 如果没有安装也不会影响仿真结果
好的。 XiangShan仓库里面只有Verilator以及VCS相关的Makefile文件。 Xiangshan是否只支持vcs而不支持xrun?
[TRANSLATION] Well.
The only Makefiles in the XiangShan repository are Verilator and VCS.
Does Xiangshan support only vcs but not xrun?
香山目前支持 Verilator 和 VCS,暂不支持 xrun
[TRANSLATION] Xiangshan currently supports Verilator and VCS, but does not support xrun
目前我正在使用xrun运行XiangShan项目,但是中间出现了一些问题,其中一个和该issue一样。
能否告知一下,你们项目组不支持xrun的理由吗? 是由于xrun的特性不支持XiangShan项目;还是由于你们并没有去开发相关的xrun mk。 如果是后者,后续我本地跑通后,可以将相关的mk上传到该仓库。
[TRANSLATION] I am currently running the XiangShan project using xrun, but there are some issues, one of which is the same as this issue.
Could you tell me the reason why your project team does not support xrun?
Because xrun doesn't support the XiangShan project. Or because you didn't develop the xrun mk.
If it is the latter, I can upload the relevant mk to the repository after I get through the local run.
我们目前暂时没有做 xrun 的适配,欢迎你给香山贡献代码
[TRANSLATION] We have not done xrun adaptation at present, you are welcome to contribute code to Xiangshan
@swanger 你好,请问这个问题后续你是怎么解决的?
请问一下,这个vcs仿真是已经跑起来了吗?为什么用的默认的ready-to-run目录下的coremark case会报错?
谢谢!
[TRANSLATION] Excuse me, is this vcs simulation running? Why does the default coremark case in the ready-to-run directory throw an error?