Commit Graph

18 Commits

Author SHA1 Message Date
Jiuyue Ma c00d376c98 feat(build): Build docker image for XiangShan development
Signed-off-by: Jiuyue Ma <majiuyue@bosc.ac.cn>
2025-05-09 21:02:02 +08:00
Xu, Zefan f12520cf2a
chore(gitignore): ignore log file like *.err and *.log (#3915)
In our development pratices, it's common to name stdout and stderr
output log as *.log and *.err, respectively, based on informal
observation within our team.

This patch adds *.log and *.err to the .gitignore file to ensure they
are ignored by Git. Notably, *.log is already ignored due to existing
rules, and there is no source files in the projects with a *.err
extension. As such, this patch is safe.

This patch also adds .gitignore into .github/filters.yaml to sikp ci. It
seems no need to run CI again when .gitignore is modified.
2024-11-22 15:27:26 +08:00
Yanqin Li aee6a6d1b2
l2bop: train by virtual address and buffer tlb req (#2382) 2024-04-27 01:06:23 +08:00
CharlieLiu ffd3154d20
DCache: New feature evict on refill (#2919)
- Remove module RefillPipe, move DCache replacer access/update to
MainPipe.
- Using l2_hint as an early wake-up signal for MSHR.

---------

Co-authored-by: YukunXue <1004205984@qq.com>
Co-authored-by: Tang Haojin <tanghaojin@outlook.com>
Co-authored-by: ssszwic <114381825+ssszwic@users.noreply.github.com>
Co-authored-by: Kunlin You <youkunlin20@mails.ucas.ac.cn>
2024-04-25 10:23:18 +08:00
Maxpicca-Li 144422dc0f
dcache: setup way predictor framework (#1857)
This commit sets up a basic dcache way predictor framework and a dummy predictor.
A Way Predictor Unit (WPU) module has been added to dcache. Dcache data SRAMs
have been reorganized for that. 

The dummy predictor is disabled by default. 

Besides, dcache bank conflict check has been optimized. It may cause timing problems,
to be fixed in the future.

* ideal wpu

* BankedDataArray: change architecture to reduce bank_conflict

* BankedDataArray: add db analysis

* Merge: the rest

* BankedDataArray: change the logic of rrl_bank_conflict, but let the number of rw_bank_conflict up

* Load Logic: changed to be as expected

reading data will be delayed by one cycle to make selection
writing data will be also delayed by one cycle to do write operation

* fix: ecc check error

* update the gitignore

* WPU: add regular wpu and change the replay mechanism

* WPU: fix refill fail bug, but a new addiw fail bug appears

* WPU: temporarily turn off to PR

* WPU: tfix all bug

* loadqueue: fix the initialization of replayCarry

* bankeddataarray: fix the bug

* DCacheWrapper: fix bug

* ready-to-run: correct the version

* WayPredictor: comments clean

* BankedDataArray: fix ecc_bank bug

* Parameter: set the enable signal of wpu
2023-01-04 22:34:05 +08:00
Haojin Tang 46f74b57fb
feat: parameterize load store (#1527)
* feat: parameterize load/store pipeline, etc.

* fix: use LoadPipelineWidth rather than LoadQueueSize

* fix: parameterize `rdataPtrExtNext`

* SBuffer: fix idx update logic

* atomic: parameterize atomic logic in `MemBlock`

* StoreQueue: update allow enque requirement

* feat: support one load/store pipeline

* feat: parameterize `EnsbufferWidth`

* chore: resharp codes for better generated name
2022-05-06 23:01:31 +08:00
wakafa b8bf926cfd
misc: update ready-to-run flow (#832)
* misc: exclude ready-to-run dir in gitignore

* misc: update ready-to-run flow
2021-06-22 09:48:40 +08:00
Yinan Xu acd0ebb7e5
test: add support for VCS simulation (#803)
This commit adds support for using Synopsys VCS to simulate SimTop.
Difftest is also supported.

For now, we use src/test/vsrc/vcs/top.v as the top-level module.
In the future, we may support VCS slave mode for better scalability.
2021-05-07 09:34:59 +08:00
William Wang 8bd721e2de
lsq: optimize vaddr and mmio writeback timing (#594)
* LSQ: use async vaddrModule

* StoreQueue: opt mmio writeback valid timing

* LSQ: opt vaddr read ptr gen timing

* chore: remove unnecessary script
2021-02-26 21:17:42 +08:00
Dan Tang 4f24fc9ae6 scripts,vlsi_mem_gen: support simple reshape and width split for sram replacement 2021-01-27 20:41:05 +08:00
ZhangZifei c0a200ed80 Merge branch 'master' into rs-new 2020-11-14 09:36:41 +08:00
Jiuyang liu 917276a097
rewrite build.sc to depend on chisel and firrtl by source. 2020-11-12 17:42:59 +00:00
ZhangZifei 0cab60cb5d TLB: change tlb's IO from ValidIO to DecoupledIO 2020-11-07 17:40:20 +08:00
William Wang c292f20038 chore: update gitignore for WSL 2020-07-19 18:00:20 +08:00
William Wang f488fa2e10 gitignore: add vscode scala (metals) ext support 2020-07-14 19:46:56 +08:00
Yinan Xu 39b8ec143a dispatch2: support imm and pc (will be deleted later) 2020-06-30 19:08:52 +08:00
Yinan Xu 1e36021ba8 gitignore: ignore .vscode 2020-06-23 11:27:09 +08:00
Zihao Yu 945710d1cb first commit 2019-02-06 11:06:33 +08:00