History log of /XiangShan/src/main/scala/xiangshan/backend/fu/NewCSR/SupervisorLevel.scala (Results 1 – 24 of 24)
Revision Date Author Comments
# dadf9cfc 30-Sep-2024 chengguanghui <[email protected]>

fix(CSR): remove reg in `scountovf`.


# 6808b803 29-Oct-2024 Zehao Liu <[email protected]>

feat(Ss/Smdbltrp) : Support RISC-V Ss/Smdbltrp Extension (#3789)

* NEMU commit: 066cb1f1c61feb21153399c26ca393dfb3a560d7
* NEMU configs:
* riscv64-xs-ref_defconfig
* riscv64-dual-xs-ref_defco

feat(Ss/Smdbltrp) : Support RISC-V Ss/Smdbltrp Extension (#3789)

* NEMU commit: 066cb1f1c61feb21153399c26ca393dfb3a560d7
* NEMU configs:
* riscv64-xs-ref_defconfig
* riscv64-dual-xs-ref_defconfig

Including:
* fix(format): adjust code format and add one config (OpenXiangShan/NEMU#603)
* fix(vfredusum): set xstatus.fs and xstatus.vs dirty (OpenXiangShan/NEMU#605)
* fix(vf): do not set dirtyFs for some instructions (OpenXiangShan/NEMU#606)
* feat(trigger): add trigger support for rva.
* configs(xs): open Sm/sdbltrp extension and add MDT_INIT config (OpenXiangShan/NEMU#604)

---

* spike commit: c0b18d3913d8ceac83743a053a7dbd2fb8716c83
* spike config: CPU=XIANGSHAN

Including:
* fix(rva, trigger): For rva instr, raise BP from trigger prior to misaligned.
* fix(Makefile): Increase maxdepth for finding .h files.
* fix(tdata1): CPU_XIANGSHAN do not implement hit bit in tdata1.
* fix(icount): place the read before the return of the detect_icount_match.

show more ...


# 3e8a0170 25-Jul-2024 Xuan Hu <[email protected]>

ROB: clear flushPipe when the enq uop has exception (#3281)


# 499d09b3 16-Jul-2024 sinceforYy <[email protected]>

NewCSR: set legal init value to WARL Field


# 26033c52 26-Jun-2024 chengguanghui <[email protected]>

Support smstateen/ssstateen extension, add stateen0 CSRs


# 9c0fd28f 18-Jun-2024 Xuan Hu <[email protected]>

NewCSR: fix atp CSRs PPN mask

* The writable length of satp is `PAddrBits - PageOffsetWidth`.
* The writable length of vsatp varies with hgatp.MODE.
* When hgatp.MODE is `Bare`, it's `PAddrBits -

NewCSR: fix atp CSRs PPN mask

* The writable length of satp is `PAddrBits - PageOffsetWidth`.
* The writable length of vsatp varies with hgatp.MODE.
* When hgatp.MODE is `Bare`, it's `PAddrBits - PageOffsetWidth`.
* When hgatp.MODE is `Sv39x4`, it's `41 - PageOffsetWidth`.
* The writable length of hgatp is `PAddrBits - PageOffsetWidth`. Since the root page table is 16 KiB and must be aligned to a 16-KiB boundary, the lowest two bits of the physical page number (PPN) in hgatp always read as zeros.
* A write to hgatp with an unsupported MODE value is not ignored as it is for satp.
* Instead, the fields of hgatp are WARL in the normal way, when so indicated.

show more ...


# c5996da9 12-Jun-2024 chengguanghui <[email protected]>

NewCSR: fixed read access to scountovf in Mmode


# 202093f4 06-Jun-2024 chengguanghui <[email protected]>

NewCSR: support Sscopfpmf


# fd72f3d9 05-Jun-2024 chengguanghui <[email protected]>

NewCSR: Add CSR scountovf


# 946f0090 11-Jun-2024 Xuan Hu <[email protected]>

NewCSR: make M and VS level interrupt bits in sip/sie/vsie/vsip read-only 0


# 94895e77 07-Jun-2024 Xuan Hu <[email protected]>

NewCSR: fix rdata when VS mode access VS CSRs by address of S mode


# 2c054816 04-Jun-2024 sinceforYy <[email protected]>

NewCSR: use rocketchip's CSR addr


# 1d192ad8 02-Jun-2024 Xuan Hu <[email protected]>

NewCSR: support AIA extension Interrupt Pending and Enable


# 0b4c00ff 29-May-2024 Xuan Hu <[email protected]>

NewCSR: support Sstc extension

* Add `stimecmp` and `vstimecmp` CSR.
* Add `STIP` and `VSTIP` interrupt.
* Add `STCE` field in `menvcfg` and `henvcfg` to enable Sstc extension.


# a37e0a1f 22-May-2024 sinceforYy <[email protected]>

NewCSR: fix rdataFields and Initialize CSR

* fix mtopi,stopi,vstopi regOut
* fix rdataFields :|= regOut
* fix pmpcfg regOut
* Initialze hie, hip, hedeleg, hideleg
* use regOut when field as alias


# a69d8b60 20-May-2024 sinceforYy <[email protected]>

NewCSR: fix SupervisorLevel CSR

* Initialize sie, sip to 0


# 8aa89407 20-May-2024 Xuan Hu <[email protected]>

NewCSR: change the type of rdata to UInt in CSRModule

* Since the rdata bundle is used to get CSR read value, we change the type of rdata to UInt(64.W) and do all needed expansions before the value

NewCSR: change the type of rdata to UInt in CSRModule

* Since the rdata bundle is used to get CSR read value, we change the type of rdata to UInt(64.W) and do all needed expansions before the value assigned to rdata bundles.

show more ...


# 40145b14 17-May-2024 Xuan Hu <[email protected]>

NewCSR: the regOut of sie should be directly connected to mie.

* There are no regs in CSR sie.


# 47556e0c 17-May-2024 Xuan Hu <[email protected]>

NewCSR: limit the width of [s|vs|hg]atp.PPN to the width of PAddr minus the width of PageOffset


# f9913d9b 17-May-2024 Xuan Hu <[email protected]>

NewCSR: make satp, vsatp and hgatp unchanged when write with illegal MODE


# 760398d7 13-May-2024 Xuan Hu <[email protected]>

NewCSR: refactor to make better verilog generation


# e877d8bf 11-Apr-2024 Xuan Hu <[email protected]>

NewCSR: add fu wrapper


# 237d4cfd 07-Apr-2024 Xuan Hu <[email protected]>

NewCSR: add CSR events


# 039cdc35 08-Mar-2024 Xuan Hu <[email protected]>

NewCSR: modulized implementation

NewCSR: add Hypervisor CSRs

NewCSR: optimize dump fields using chisel3.reflect.DataMirror

NewCSR: add VirtualSupervisor CSRs

NewCSR: refactor VirtualSupervisor an

NewCSR: modulized implementation

NewCSR: add Hypervisor CSRs

NewCSR: optimize dump fields using chisel3.reflect.DataMirror

NewCSR: add VirtualSupervisor CSRs

NewCSR: refactor VirtualSupervisor and Hypervisor CSRs

* Make sure ValidIO etc function return CSREnumType not EnumType
* TODO: AIA for vs

NewCSR: add MachineLevel CSRs

NewCSR: fix alias relationship between hip, hvip and vsip

NewCSR: add SupervisorLevel CSRs

show more ...