Installation
参考:https://www.zhihu.com/people/hong-qiang-zi/posts
- 下载无剑代码,安装必要的工具。
- 在 toolchain 下载 RISC-V+Toolchain-V1.2.2,解压。
- 添加环境变量
TOOL_PATH dir/wujian100_open/riscv_toolchain wujian100_open_PATH dir/wujian100_open(不需要执行原本的 csh 脚本,根据自己的终端环境来)。 tools/Srec 2 vmem. py修改第一行python3。- 执行
../tools/run_case -sim_tool iverilog ../case/timer/timer_test.c完成。