Makefile 构建sodor模拟器时出错,riscv sodor

Makefile 构建sodor模拟器时出错,riscv sodor,makefile,riscv,chisel,Makefile,Riscv,Chisel,我安装了riscv、riscv gnu工具链和riscv工具,并希望获得riscv sodor。为了做到这一点,我遵循的步骤是,成功地安装了verilator和前端服务器,但之后我必须构建sodor模拟器,在第一步中,通过执行make命令,我得到了这个错误 make -C emulator/rv32_1stage/ make[1]: Entering directory '/home/nemanja/riscv-sodor/emulator/rv32_1stage' verilator --cc

我安装了riscv、riscv gnu工具链和riscv工具,并希望获得riscv sodor。为了做到这一点,我遵循的步骤是,成功地安装了verilator和前端服务器,但之后我必须构建sodor模拟器,在第一步中,通过执行make命令,我得到了这个错误

make -C emulator/rv32_1stage/
make[1]: Entering directory '/home/nemanja/riscv-sodor/emulator/rv32_1stage'
verilator --cc --exe  --top-module Top +define+PRINTF_COND=\$c\(\"verbose\"\) --assert --output-split 20000 --x-assign unique -I/home/nemanja/riscv-sodor/vsrc -O3 -CFLAGS " -O1 -std=c++11  -g -I/home/nemanja/riscv-sodor/emulator/common -I/home/nemanja/riscv-sodor/riscv-fesvr  -L/opt/riscv/lib -Wl,-rpath,/opt/riscv/lib -L. -lpthread -DVERILATOR -include /home/nemanja/riscv-sodor/emulator/common/verilator.h" \
-o /home/nemanja/riscv-sodor/emulator/rv32_1stage/emulator generated-src/Top.v /home/nemanja/riscv-sodor/vsrc/SimDTM.v -LDFLAGS " -L/opt/riscv/lib -Wl,-rpath,/opt/riscv/lib -L. -lpthread" /home/nemanja/riscv-sodor/emulator/common/emulator.cpp /home/nemanja/riscv-sodor/riscv-fesvr/build/libfesvr.so /home/nemanja/riscv-sodor/emulator/rv32_1stage/SimDTM.o
/bin/sh: 1: verilator: not found
/home/nemanja/riscv-sodor/emulator/common/Makefile.include:83: recipe for target 'emulator' failed
make[1]: *** [emulator] Error 127
make[1]: Leaving directory '/home/nemanja/riscv-sodor/emulator/rv32_1stage'
Makefile:104: recipe for target 'emulator/rv32_1stage/emulator' failed
make: *** [emulator/rv32_1stage/emulator] Error 2
因为我对这一切都很陌生,我不知道会有什么问题。 如果您能帮我排除故障,我将不胜感激


谢谢。

该特定错误是由于您的
$PATH
上没有安装
verilator

/bin/sh: 1: verilator: not found

一旦为您的操作系统安装了它,您就应该解决这个特定问题。

该特定错误是由于未安装
verilator
以及
$PATH
而导致的

/bin/sh: 1: verilator: not found

一旦为您的操作系统安装了它,您就应该解决这个特定问题。

如下所示,第一条错误消息指出了问题所在,即您没有安装一个已记录的依赖项(verilator)。如下所示,第一条错误消息指出了问题所在,也就是说,您还没有安装一个文档化的依赖项(verilator)。