-
Notifications
You must be signed in to change notification settings - Fork 666
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
186 changed files
with
10,883 additions
and
6,896 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Format Checking | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
scalafmt: | ||
runs-on: ubuntu-latest | ||
continue-on-error: true | ||
timeout-minutes: 900 | ||
name: Check Format | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: 'recursive' | ||
- uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '11' | ||
- run: | | ||
mkdir ~/.local/bin | ||
sh -c "curl -L https://github.com/com-lihaoyi/mill/releases/download/0.11.7/0.11.7 > ~/.local/bin/mill && chmod +x ~/.local/bin/mill" | ||
export PATH=~/.local/bin:$PATH | ||
- run: make check-format |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
version = 3.8.1 | ||
runner.dialect = scala213 | ||
maxColumn = 120 | ||
preset = defaultWithAlign | ||
|
||
align.tokens."+" = [{ | ||
code = ":" | ||
}] | ||
|
||
newlines.source = keep | ||
newlines.afterCurlyLambdaParams = squash | ||
|
||
rewrite.rules = [ | ||
RedundantBraces, | ||
RedundantParens, | ||
SortModifiers, | ||
Imports | ||
] | ||
rewrite.redundantBraces.generalExpressions = false | ||
rewrite.imports.expand = true | ||
rewrite.imports.sort = scalastyle | ||
rewrite.trailingCommas.style = never | ||
|
||
docstrings.style = keep | ||
|
||
project.includePaths = ["glob:**/src/main/scala/xiangshan/frontend/**.scala"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ Copyright 2020-2022 by Peng Cheng Laboratory. | |
|
||
## Docs and slides | ||
|
||
[XiangShan-doc](https://github.com/OpenXiangShan/XiangShan-doc) is our official documentation repository. It contains design spec., technical slides, tutorial and more. | ||
[XiangShan-doc](https://github.com/OpenXiangShan/XiangShan-doc) is our official documentation repository. It contains design spec., technical slides, tutorials and more. | ||
|
||
* Micro-architecture documentation of XiangShan has been published. Please check out https://xiangshan-doc.readthedocs.io | ||
|
||
|
@@ -38,13 +38,13 @@ Zhihu/知乎:[香山开源处理器](https://www.zhihu.com/people/openxiangsha | |
|
||
Weibo/微博:[香山开源处理器](https://weibo.com/u/7706264932) | ||
|
||
You can contact us through [our mail list](mailto:[email protected]). All mails from this list will be archived to [here](https://www.mail-archive.com/[email protected]/). | ||
You can contact us through [our mailing list](mailto:[email protected]). All mails from this list will be archived [here](https://www.mail-archive.com/[email protected]/). | ||
|
||
## Architecture | ||
|
||
The first stable micro-architecture of XiangShan is called Yanqihu (雁栖湖) [on the yanqihu branch](https://github.com/OpenXiangShan/XiangShan/tree/yanqihu), which has been developed since June 2020. | ||
The first stable micro-architecture of XiangShan is called Yanqihu (雁栖湖) and is [on the yanqihu branch](https://github.com/OpenXiangShan/XiangShan/tree/yanqihu), which has been developed since June 2020. | ||
|
||
The second stable micro-architecture of XiangShan is called Nanhu (南湖) [on the nanhu branch](https://github.com/OpenXiangShan/XiangShan/tree/nanhu). | ||
The second stable micro-architecture of XiangShan is called Nanhu (南湖) and is [on the nanhu branch](https://github.com/OpenXiangShan/XiangShan/tree/nanhu). | ||
|
||
The current version of XiangShan, also known as Kunminghu (昆明湖), is still under development on the master branch. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule coupledL2
updated
29 files
Submodule difftest
updated
25 files
+3 −3 | .github/workflows/main.yml | |
+6 −0 | Makefile | |
+3 −0 | README.md | |
+4 −4 | config/config.h | |
+5 −3 | palladium.mk | |
+248 −91 | src/main/scala/Batch.scala | |
+26 −2 | src/main/scala/Bundles.scala | |
+41 −38 | src/main/scala/DPIC.scala | |
+96 −55 | src/main/scala/Difftest.scala | |
+12 −15 | src/main/scala/Gateway.scala | |
+8 −1 | src/main/scala/Squash.scala | |
+3 −3 | src/main/scala/Trace.scala | |
+38 −0 | src/main/scala/common/FileControl.scala | |
+87 −0 | src/main/scala/util/Profile.scala | |
+124 −0 | src/test/csrc/common/elfloader.cpp | |
+189 −0 | src/test/csrc/common/elfloader.h | |
+5 −2 | src/test/csrc/common/perf.cpp | |
+2 −0 | src/test/csrc/common/perf.h | |
+5 −0 | src/test/csrc/common/ram.cpp | |
+113 −23 | src/test/csrc/difftest/difftest.cpp | |
+22 −2 | src/test/csrc/difftest/difftest.h | |
+61 −12 | src/test/csrc/difftest/refproxy.h | |
+2 −0 | src/test/csrc/vcs/vcs_main.cpp | |
+2 −2 | src/test/csrc/verilator/emu.cpp | |
+16 −23 | src/test/scala/DifftestTop.scala |
Submodule openLLC
updated
22 files
Submodule ready-to-run
updated
3 files
+ − | riscv64-nemu-interpreter-dual-so | |
+ − | riscv64-nemu-interpreter-so | |
+ − | riscv64-spike-so |
Oops, something went wrong.