History log of /XiangShan/scripts/xiangshan.py (Results 1 – 25 of 87)
Revision Date Author Comments
# f9277093 04-Apr-2025 Tang Haojin <[email protected]>

ci: use fst instead of vcd (#4503)


# 6520f4f4 22-Jan-2025 Tang Haojin <[email protected]>

feat(Zawrs): support Zawrs extension (#4211)

This commit implements a basic nop-based Zawrs extension.

- `wrs.sto` in this commit acts as a nop instruction.
- `wrs.nto` in this commit acts as a nop

feat(Zawrs): support Zawrs extension (#4211)

This commit implements a basic nop-based Zawrs extension.

- `wrs.sto` in this commit acts as a nop instruction.
- `wrs.nto` in this commit acts as a nop instruction, except it:
- raises illegal instruction exception when !isModeM && mstatus.TW=1, or
- raises virtual instruction exception when privState.V && mstatus.TW=0
&& hstatus.VTW=1

Seems that completely raises no exception is also a valid
implementation,
but raises an exception can help OS to do scheduling during waiting.

Also, like WFI, interrupts cannot take on wrs instructions.

show more ...


# 517c737e 16-Jan-2025 Anzo <[email protected]>

ci(perf): add vector hmmer performance test (#4177)


# 5bd65c56 14-Jan-2025 Tang Haojin <[email protected]>

feat(Config): add yaml parser for complicated parametrization (#4147)

This commit enables complicated parameterization by yaml parsing. We use
circe to do this.

In this commit, we implement 6 confi

feat(Config): add yaml parser for complicated parametrization (#4147)

This commit enables complicated parameterization by yaml parsing. We use
circe to do this.

In this commit, we implement 6 configurations:

- PmemRanges: physical memory ranges
- PMAConfigs
- CHIAsyncBridge: set depth to 0 to disable it
- L2CacheConfig
- L3CacheConfig
- DebugModuleBaseAddr

For better human-readability, this commit changes `WithNKBL2/3` to
`L2/3CacheConfig`, changing to case classes, and making the first
parameter only accept human-readable size configuration like `0.5 MB` or
`256kB`.

This commit also changes PMAConfigs and PmemRanges into List of case
classes.

show more ...


# 28bf0330 14-Jan-2025 Tang Haojin <[email protected]>

ci: archive and update issue B CHI verilog with difftest and test-jar (#4159)


# 718a93f5 03-Jan-2025 Haoyuan Feng <[email protected]>

feat(Svnapot): support Svnapot extension (#4107)


# 75ed9f4b 27-Dec-2024 Tang Haojin <[email protected]>

submodule(difftest): set fork-interval default to 10 seconds (#4095)


# f346d727 12-Dec-2024 Yanqin Li <[email protected]>

ci: add ci tests for Svpbmt (#4016)


# 4293ded2 06-Dec-2024 linzhida <[email protected]>

ci: add ci tests for Zacas extension.


# ad15bdb2 09-Dec-2024 NewPaulWalker <[email protected]>

fix(Smstateen): fix access check when Smstateen extension enable. (#3978)

* fix the access check for custom CSR and remove the illegal instruction
check when accessing S-mode custom CSR from VS mod

fix(Smstateen): fix access check when Smstateen extension enable. (#3978)

* fix the access check for custom CSR and remove the illegal instruction
check when accessing S-mode custom CSR from VS mode. This is because we
can now use the Smstateen extension to control access to custom content
at different privilege levels.

* fix the misjudgment of the U-mode custom CSR.

* fix the missing access check for the stopi CSR in AIA.

show more ...


# 189833a1 05-Dec-2024 Haoyuan Feng <[email protected]>

feat(pointer masking): support Ssnpm & Smnpm & Smmpm (#3921)

feat(pointer masking): support Ssnpm & Smnpm & Smmpm


# fcefab32 29-Nov-2024 Haojin Tang <[email protected]>

ci(nightly): add more ckpts and refactor gcpt loading method


# 01efe338 09-Sep-2024 Tang Haojin <[email protected]>

ci(nightly): change checkpoint directory


# 393755c7 12-Nov-2024 HuSipeng <[email protected]>

ci(Zcb): add zcb extension test (#3853)


# dd16cea7 08-Nov-2024 HeiHuDie <[email protected]>

ci(zvfh,zfh): add f16_test


# e76e9e54 19-Oct-2024 Tang Haojin <[email protected]>

ci(enable-fork): set fork interval to 10 seconds (#3694)

This change can help us to capture the waveform of problem caused by
hardware stuck. Besides, since we enlarged mmap memory, it may take muc

ci(enable-fork): set fork interval to 10 seconds (#3694)

This change can help us to capture the waveform of problem caused by
hardware stuck. Besides, since we enlarged mmap memory, it may take much
more time on `fork()` syscall. Enlarging the fork interval here also
results better simulation speed in some circumstances.

show more ...


# c08f49a0 30-Sep-2024 chengguanghui <[email protected]>

fix(Trigger): remove tcontrol in trigger module.

* remove tcontrol.
* use xIE to control trigger's breakpoint exception.
* modify medelege: bit(EX_BP) is writable.
* fix emu.yml to make medelege

fix(Trigger): remove tcontrol in trigger module.

* remove tcontrol.
* use xIE to control trigger's breakpoint exception.
* modify medelege: bit(EX_BP) is writable.
* fix emu.yml to make medelege.EX_BP writable in SMP Linux jobs.

show more ...


# 20156f77 19-Sep-2024 Tang Haojin <[email protected]>

ci(vcs): use coremark-1-iteration instead of microbench (#3605)


# 43f08742 16-Sep-2024 Tang Haojin <[email protected]>

ci: randomly delay a few seconds between two `get_free_cores` (#3591)

To reduce the possibility of conflicts.


# 0d7009bf 10-Sep-2024 Xu, Zefan <[email protected]>

ci: update nexus-am base ci workload bins (#3491)

The previous riscv64-xs config for nexus-am includes VGA and AUDIO
devices, which do not exist in XiangShan simulation environment. This
patch mod

ci: update nexus-am base ci workload bins (#3491)

The previous riscv64-xs config for nexus-am includes VGA and AUDIO
devices, which do not exist in XiangShan simulation environment. This
patch modifies the workloads used by xiangshan.py to solve the above
problem.

Signed-off-by: "Xu, Zefan" <[email protected]>

show more ...


# 71f0f4cc 04-Sep-2024 Tang Haojin <[email protected]>

ci: use `num_logical_core` to get numa node (#3489)


# 0b62a2fb 21-Aug-2024 Chen Xi <[email protected]>

script: fix xiangshan.py `with_chiseldb` permanently disabled (#3411)

previous line
```scala
self.with_chiseldb = 0 if args.no_db else None
```
will cause with_chiseldb permanently disabled


# 41d8d239 21-Aug-2024 happy-lx <[email protected]>

RVA23: Support Zicclsm & Zama16b (Handling Unaligned Load Store by Hardware) (#3320)

This PR supports handling load store unaligned exceptions by hardware
and provides CSR-controlled switches

--

RVA23: Support Zicclsm & Zama16b (Handling Unaligned Load Store by Hardware) (#3320)

This PR supports handling load store unaligned exceptions by hardware
and provides CSR-controlled switches

---------

Co-authored-by: xiaofeibao <[email protected]>

show more ...


# afdeb382 13-Aug-2024 Xu, Zefan <[email protected]>

ci: enable riscv-hyp-tests (#3369)

Because of bugs, riscv-hyp-tests was not added to ci. Now XiangShan
master could pass it, so this patch added it back.


# dd720cae 02-Aug-2024 Tang Haojin <[email protected]>

ci: do not consider procname with ssh (#3335)


1234