Coder Social home page Coder Social logo

make verilog 失败 about xiangshan HOT 8 CLOSED

openxiangshan avatar openxiangshan commented on July 20, 2024
make verilog 失败

from xiangshan.

Comments (8)

poemonsense avatar poemonsense commented on July 20, 2024

机器内存有多大?

from xiangshan.

bianliangpai avatar bianliangpai commented on July 20, 2024

机器内存有多大?

可用内存 15G 左右,以下是 top 的输出
KiB Mem : 16369580 total, 15420432 free, 733028 used, 216120 buff/cache

from xiangshan.

poemonsense avatar poemonsense commented on July 20, 2024

试试把build.sc里面的两个64G都换成15G,看看结果会怎么样?

from xiangshan.

bianliangpai avatar bianliangpai commented on July 20, 2024

我把 build.sc 里的两个 64G 改成了 15G\12G,但内存依然被耗光了。这次全程盯着 top 输出看,确实是在可用内存降到 100M 以下的时候退出的。这样就确定是内存不足导致的问题了。
我又把 build.sc 里的配置改成了 10G,实际占用大致为 15G 左右。由于实际占用存在上下波动,我的这次构建在内存占用向上波动时又失败了。我个人感觉 build.sc 里配置的大小并不是直接限制了占用的数值,不知道是不是一个已知现象?
最后,我把主机(虚拟机)的内存调到了24G,终于成功了。

from xiangshan.

MapleLeafFall avatar MapleLeafFall commented on July 20, 2024

感谢参考值……
我给ubuntu20.04分配30G内存,build.sc的参数改为10G也可以了 :)

from xiangshan.

liushi089039 avatar liushi089039 commented on July 20, 2024

riscv64-linux-gnu-gcc:命令未找到

from xiangshan.

wwwuxy avatar wwwuxy commented on July 20, 2024

riscv64-linux-gnu-gcc:命令未找到
metoo

from xiangshan.

chenguokai avatar chenguokai commented on July 20, 2024

riscv64-linux-gnu-gcc:命令未找到
metoo

No risc-v cross toolchain should be required when make verilog.
It seems to be irrelevant to this issue. Please open another issue if you believe this is triggered in make verilog process.

from xiangshan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.