Comments (12)
看着像是网络的问题,因为提示是连接超时。
其实只要make init就可以,不需要--recursive,建议参考 #837 (comment)
from xiangshan.
换ssh协议,也就是git config --global url."[email protected]:".Insteadof https://github.com/
from xiangshan.
看着像是网络的问题,因为提示是连接超时。
其实只要make init就可以,不需要--recursive,建议参考 #837 (comment)
如果只看make init,已经提示全部下载成功了吧。因为此时没有提示还有什么没有下载的。
from xiangshan.
- git status
- cd berkeley-hardfloat && git status
可以看一下这两个状态
from xiangshan.
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan# git status
位于分支 master
您的分支与上游分支 'origin/master' 一致。
无文件要提交,干净的工作区
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan# cd berkeley-hardfloat/
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan/berkeley-hardfloat#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan/berkeley-hardfloat# git status
头指针分离于 8031f85
无文件要提交,干净的工作区
我参照上面建议,参考#837,我删除了berkeley-hardfloat,也git清除了相关信息,make init,还是看不到berkeley-softfloat-3下面有任何内容:
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan# rm -rf berkeley-hardfloat/
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan# git clean -fd && git submodule foreach --recursive git clean -fd
正在进入 'api-config-chipsalliance'
正在进入 'block-inclusivecache-sifive'
正在进入 'chiseltest'
正在进入 'ready-to-run'
正在进入 'rocket-chip'
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan# make init
git submodule update --init
子模组路径 'berkeley-hardfloat':检出 '8031f8594278967d57016ba52a48393662abeb05'
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan# ls berkeley-hardfloat/
berkeley-softfloat-3 berkeley-testfloat-3 build.sbt build.sc doc LICENSE Makefile project README.md sbt-launch.jar src
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan# ls berkeley-hardfloat/berkeley-softfloat-3/
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan# git status
位于分支 master
您的分支与上游分支 'origin/master' 一致。
无文件要提交,干净的工作区
from xiangshan.
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan# git status
位于分支 master
您的分支与上游分支 'origin/master' 一致。
无文件要提交,干净的工作区
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan# cd berkeley-hardfloat/
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan/berkeley-hardfloat#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan/berkeley-hardfloat# git status
头指针分离于 8031f85
无文件要提交,干净的工作区我参照上面建议,参考#837,我删除了berkeley-hardfloat,也git清除了相关信息,make init,还是看不到berkeley-softfloat-3下面有任何内容:
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan# rm -rf berkeley-hardfloat/
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan# git clean -fd && git submodule foreach --recursive git clean -fd
正在进入 'api-config-chipsalliance'
正在进入 'block-inclusivecache-sifive'
正在进入 'chiseltest'
正在进入 'ready-to-run'
正在进入 'rocket-chip'
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan# make init
git submodule update --init
子模组路径 'berkeley-hardfloat':检出 '8031f8594278967d57016ba52a48393662abeb05'
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan# ls berkeley-hardfloat/
berkeley-softfloat-3 berkeley-testfloat-3 build.sbt build.sc doc LICENSE Makefile project README.md sbt-launch.jar src
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan# ls berkeley-hardfloat/berkeley-softfloat-3/
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan# git status
位于分支 master
您的分支与上游分支 'origin/master' 一致。
无文件要提交,干净的工作区
传个ssh密钥上来用ssh协议就完事了,https会遇到些玄学的问题,我前几天就用ssh clone的
from xiangshan.
我参照上面建议,参考#837,我删除了berkeley-hardfloat,也git清除了相关信息,make init,还是看不到berkeley-softfloat-3下面有任何内容:
git submodule init的时候不需要--recursive,所以不需要有softfloat。
#870 (comment) 提到了,只需要make init, which并没有--recursive
from xiangshan.
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan# git status
位于分支 master
您的分支与上游分支 'origin/master' 一致。
无文件要提交,干净的工作区
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan# cd berkeley-hardfloat/
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan/berkeley-hardfloat#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan/berkeley-hardfloat# git status
头指针分离于 8031f85
无文件要提交,干净的工作区
我参照上面建议,参考#837,我删除了berkeley-hardfloat,也git清除了相关信息,make init,还是看不到berkeley-softfloat-3下面有任何内容:
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan# rm -rf berkeley-hardfloat/
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan# git clean -fd && git submodule foreach --recursive git clean -fd
正在进入 'api-config-chipsalliance'
正在进入 'block-inclusivecache-sifive'
正在进入 'chiseltest'
正在进入 'ready-to-run'
正在进入 'rocket-chip'
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan# make init
git submodule update --init
子模组路径 'berkeley-hardfloat':检出 '8031f8594278967d57016ba52a48393662abeb05'
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan# ls berkeley-hardfloat/
berkeley-softfloat-3 berkeley-testfloat-3 build.sbt build.sc doc LICENSE Makefile project README.md sbt-launch.jar src
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan# ls berkeley-hardfloat/berkeley-softfloat-3/
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan#
root@zte-R5300-G4:/share/zhuxuanlong/XiangShan/XiangShan# git status
位于分支 master
您的分支与上游分支 'origin/master' 一致。
无文件要提交,干净的工作区
我参照上面建议,参考#837,我删除了berkeley-hardfloat,也git清除了相关信息,make init,还是看不到berkeley-softfloat-3下面有任何内容:
git submodule init的时候不需要--recursive,所以不需要有softfloat。
#870 (comment) 提到了,只需要make init, which并没有--recursive
也就是说Master分支,没有软浮点是不影响正常编译仿真的,是吧?
from xiangshan.
也就是说Master分支,没有软浮点是不影响正常编译仿真的,是吧?
可以试一下,这样就知道影不影响了
from xiangshan.
试试 git submodule update --init --recursive
from xiangshan.
那么就出现另外一个问题,我昨天新下载代码,make init,并没有提示需要更新什么了,但执行make emu报错:
root@zte-R5300-G4-riscv:/share/zhuxuanlong/xiangshan_master/XiangShan# make init
git submodule update --init
root@zte-R5300-G4-riscv:/share/zhuxuanlong/xiangshan_master/XiangShan#
root@zte-R5300-G4-riscv:/share/zhuxuanlong/xiangshan_master/XiangShan# make emu SIM_ARGS=--disable-log EMU_THREADS=16
mkdir -p build
Sat, 24 Jul 2021 02:26:13 +0800
time -a -o ./build/time.log mill XiangShan.test.runMain top.SimTop -td build
--config DefaultConfig --full-stacktrace --output-file SimTop.v
--infer-rw --repl-seq-mem -c:top.SimTop:-o:build/SimTop.v.conf
--num-cores 1 --disable-log
Compiling /share/zhuxuanlong/xiangshan_master/XiangShan/build.sc
[27/213] api-config-chipsalliance.compile
Compiling compiler interface...
[info] compiling 1 Scala source to /share/zhuxuanlong/xiangshan_master/XiangShan/out/api-config-chipsalliance/compile/dest/classes ...
[info] done compiling
[51/213] rocket-chip.macros.compile
[info] compiling 1 Scala source to /share/zhuxuanlong/xiangshan_master/XiangShan/out/rocket-chip/macros/compile/dest/classes ...
[info] done compiling
[104/213] rocket-chip.compile
[info] compiling 376 Scala sources to /share/zhuxuanlong/xiangshan_master/XiangShan/out/rocket-chip/compile/dest/classes ...
[error] /share/zhuxuanlong/xiangshan_master/XiangShan/rocket-chip/src/main/scala/tile/FPU.scala:293:25: not found: value hardfloat
[error] def recode(x: UInt) = hardfloat.recFNFromFN(exp, sig, x)
[error] ^
我看代码,确实伯克利硬浮点没有下全。
也就是碰到这种问题,如何进行?
from xiangshan.
git 没下全有提示的,需要检查终端输出。现在最好重新克隆把步骤做一遍
from xiangshan.
Related Issues (20)
- 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
- make verilog NUM_CORES=4 gets error HOT 7
- In VCS simulation, multi-core simulation of some harts ended prematurely due to incorrect execution of SEQZ instruction 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.