简体   繁体   English

Spike 模拟器 ISA 错误 - 找不到命令

[英]Spike simulator ISA error - command not found

having the spike file and the pk file in a folder, when I run this command in terminal:当我在终端中运行此命令时,将尖峰文件和pk文件放在一个文件夹中:

spike -m128 pk archive.x

the following error appears:出现以下错误:

zsh: command not found: spike

I don't understand why it doesn't work on my machine but it works on others.我不明白为什么它不能在我的机器上运行,但它可以在其他机器上运行。 I already have riscv64 installed.我已经安装了 riscv64。

if which spike isn't returning anything, then spike isn't in your path.如果哪个尖峰没有返回任何东西,那么尖峰不在您的路径中。 Also, it might help to build spike with a prefix value like /usr/share/$RISCV so that when you sudo make install, everything gets installed in typical path locations.此外,使用 /usr/share/$RISCV 之类的前缀值构建尖峰可能会有所帮助,这样当您 sudo make install 时,所有东西都会安装在典型的路径位置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM