Comments (6)
麻烦提供一下git status和git log -n 1的结果,以及您那边makefile 54行的内容。根据现在提供的出错信息,我们没办法复现,所以也给不出原因
from xiangshan.
git status
位于分支 master
尚无提交
未跟踪的文件:
(使用 "git add <文件>..." 以包含要提交的内容)
.github/
.gitignore
.gitmodules
.mill-version
LICENSE
Makefile
README.md
api-config-chipsalliance/
berkeley-hardfloat/
block-inclusivecache-sifive/
build.sbt
build.sc
chiseltest/
debug/
fpga/
project/
readme.zh-cn.md
ready-to-run/
rocket-chip/
scalastyle-config.xml
scalastyle-test-config.xml
scripts/
src/
tools/
vcs.mk
verilator.mk
xs-arch-simple.svg
提交为空,但是存在尚未跟踪的文件(使用 "git add" 建立跟踪)
git log -n 1
fatal: 您的当前分支 'master' 尚无任何提交
makefile 48~64行
$(TOP_V): $(SCALA_FILE)
mkdir -p $(@D)
mill XiangShan.runMain $(FPGATOP) -td $(@D) \
--config $(CONFIG) --full-stacktrace --output-file $(@F) \
--disable-all --remove-assert --infer-rw \
--repl-seq-mem -c:$(FPGATOP):-o:$(@D)/$(@F).conf $(SIM_ARGS) \
--num-cores $(NUM_CORES)
$(MEM_GEN) $(@D)/$(@F).conf --tsmc28 --output_file $(@D)/tsmc28_sram.v > $(@D)/tsmc28_sram.v.conf
$(MEM_GEN) $(@D)/$(@F).conf --output_file $(@D)/sim_sram.v
# sed -i -e 's/_\(aw\|ar\|w\|r\|b\)_\(\|bits_\)/_\1/g' $@
@git log -n 1 >> .__head__
@git diff >> .__diff__
@sed -i 's/^/\/\// ' .__head__
@sed -i 's/^/\/\//' .__diff__
@cat .__head__ .__diff__ $@ > .__out__
@mv .__out__ $@
@rm .__head__ .__diff__
54行为:
--num-cores $(NUM_CORES)
from xiangshan.
看起来这里是一个新仓库,而不是 git clone
下来的,导致 git log -n 1
这一行命令出错了。
我们强烈建议使用香山时采用 git clone
来下载,而不是下载压缩包。因为 submodule 的初始化需要有 git 环境。
或者您也可以把 Makefile 里面这两行删掉
@git log -n 1 >> .__head__
@git diff >> .__diff__
from xiangshan.
您好,我重新git clone
了整个仓库,运行make verilog CONFIG=MinimalConfig
,出现了如下错误
Done elaborating.
xiangshan.backend.MemBlock@3d1b27ec
./scripts/vlsi_mem_gen build/XSTop.v.conf --tsmc28 --output_file build/tsmc28_sram.v > build/tsmc28_sram.v.conf
/usr/bin/env: python3: 没有那个文件或目录
make: *** [build/XSTop.v] 错误 127
但是build文件夹已经生成了如下文件
firrtl_black_box_resource_files.f time.log XSTop.0x38000000.0.regmap.json XSTop.0x3c000000.0.regmap.json XSTop.dts XSTop.v
plusarg_reader.v tsmc28_sram.v.conf XSTop.0x38010000.0.regmap.json XSTop.anno.json XSTop.fir XSTop.v.conf
请问我接下来该怎么做呢?
from xiangshan.
/usr/bin/env: python3: 没有那个文件或目录
错误日志显示,python3这个命令没有找到,可以安装一下 python3。
不过,Verilog其实已经生成了,在XSTop.v,只是其中的SRAM仿真文件(一部分模块)没有生成,make verilog
在Chisel这一步已经完成了
from xiangshan.
谢谢!
from xiangshan.
Related Issues (20)
- Ensuring RVWMO Compliance for XS: Missing aq/rl Annotation Implementations? HOT 4
- suffix missing in python code HOT 5
- Incorrect Rounding Mode Handling for Specific Cases HOT 2
- Correct NEMU version for nanhu branch of XiangShan HOT 4
- Assertion failed when running EMU on nanhu-G branch HOT 8
- make emu error - Exception in thread "main" java.util.NoSuchElementException: NOOP_HOME HOT 1
- the logic of tlbBundle privilege in dmode HOT 3
- How to use profile function of verilator in XiangShan environment HOT 6
- Using XiangShan to reproduce the example code in RISC-V Architecture Programming and Practice. HOT 6
- Simulation hangs for longer running functions using the vector extension HOT 8
- How are the uncacheable and non-indempotent stores are handled? HOT 4
- How can projects using Chisel 3 and Chisel 5/6 be integrated together? HOT 1
- Is there any interface to flush L2 Cache data HOT 2
- Solution to make FIR elaboration faster
- Can not generate RTL when NUM_CORES >= 3
- 使用命令时遇到错误“已放弃(核心已转储) ” HOT 1
- Eeception while compile using "make emu EMU_THREADS=8 MFC=1 CONFIG=KunminghuV2Config" HOT 1
- Compile Exception while using "make emu EMU_THREADS=8 MFC=1 CONFIG=KunminghuV2Config", HOT 5
- Difftest failed on a RISC-V Vector memcpy workload with misaligned(in vlen granularity, not element) unit stride load HOT 1
- Assertion failed at UserYanker.scala:63 assert (!out.r.valid || r_valid) // Q must be ready faster than the response HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xiangshan.