History log of /XiangShan/src/main/scala/xiangshan/backend/fu/NewCSR/SstcInterruptGen.scala (Results 1 – 3 of 3)
Revision Date Author Comments
# 00514503 10-Jan-2025 Zhaoyang You <[email protected]>

fix(CSR): fix xTIP update in sstcIRGen (#4157)

* The STIP signal is updated when:
* time.valid of clint
* stimecmp CSR is written
* menvcfg CSR is written

* The VSTIP signal is upda

fix(CSR): fix xTIP update in sstcIRGen (#4157)

* The STIP signal is updated when:
* time.valid of clint
* stimecmp CSR is written
* menvcfg CSR is written

* The VSTIP signal is updated when:
* time.valid of clint
* vstimecmp CSR is written
* htimedelta CSR is written
* menvcfg CSR is written
* henvcfg CSR is written

Co-authored-by: Xuan Hu <[email protected]>

show more ...


# 244b1012 30-May-2024 sinceforYy <[email protected]>

NewCSR: update time CSR

* Read time CSR in VS or VU mode return htimedelta + actual value of time
* Add stime, vstime output IO to saving adder


# 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.