#
8b33cd30 |
| 13-Dec-2024 |
klin02 <[email protected]> |
feat(XSLog): move all XSLog outside WhenContext for collection
As data in WhenContext is not acessible in another module. To support XSLog collection, we move all XSLog and related signal outside Wh
feat(XSLog): move all XSLog outside WhenContext for collection
As data in WhenContext is not acessible in another module. To support XSLog collection, we move all XSLog and related signal outside WhenContext. For example, when(cond1){XSDebug(cond2, pable)} to XSDebug(cond1 && cond2, pable)
show more ...
|
#
bb2f3f51 |
| 12-Jul-2024 |
Tang Haojin <[email protected]> |
perf: use perfUtils in `Utility` (#3190)
Currently, log and perf utilities such as `XSPerfAccumulate` are
implemented in many repositories like XiangShan, CoupledL2 and HuanCun.
This PR unifies th
perf: use perfUtils in `Utility` (#3190)
Currently, log and perf utilities such as `XSPerfAccumulate` are
implemented in many repositories like XiangShan, CoupledL2 and HuanCun.
This PR unifies them and put them in Utility repository.
show more ...
|
#
ffd3154d |
| 25-Apr-2024 |
CharlieLiu <[email protected]> |
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-auth
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 <[email protected]>
Co-authored-by: Tang Haojin <[email protected]>
Co-authored-by: ssszwic <[email protected]>
Co-authored-by: Kunlin You <[email protected]>
show more ...
|
#
8891a219 |
| 08-Oct-2023 |
Yinan Xu <[email protected]> |
Bump rocket-chip (#2353)
|
#
935edac4 |
| 21-Sep-2023 |
Tang Haojin <[email protected]> |
chore: remove deprecated brackets, APIs, etc. (#2321)
|
#
62cb71fb |
| 17-Sep-2022 |
happy-lx <[email protected]> |
dcache, atomicUnit: remove Atomicsreplayunit (#1767)
* dcache, atomicUnit: remove Atomicsreplayunit
mvoe functions and replay feature in Atomicsreplayunit to Atomicsunit
* Atomicsunit: fix dif
dcache, atomicUnit: remove Atomicsreplayunit (#1767)
* dcache, atomicUnit: remove Atomicsreplayunit
mvoe functions and replay feature in Atomicsreplayunit to Atomicsunit
* Atomicsunit: fix difftest check signals
show more ...
|
#
6786cfb7 |
| 28-Jun-2022 |
William Wang <[email protected]> |
dcache: repipeline ecc check logic for timing (#1582)
This commit re-pipelines ECC check logic in data cache and exception generate logic for better timing.
Now ecc error is checked 1 cycle after r
dcache: repipeline ecc check logic for timing (#1582)
This commit re-pipelines ECC check logic in data cache and exception generate logic for better timing.
Now ecc error is checked 1 cycle after reading result from data sram. An extra cycle is added for load
writeback to ROB.
Future work: move the pipeline to https://github.com/OpenXiangShan/XiangShan/blob/master/src/main/scala/xiangshan/backend/CtrlBlock.scala#L266-L277, which add a regnext.
* dcache: repipeline ecc check logic for timing
* chore: fix normal loadAccessFault logic
* wbu: delay load unit wb for 1 cycle
* dcache: add 1 extra cycle for beu error report
show more ...
|
#
b899def8 |
| 24-Dec-2021 |
William Wang <[email protected]> |
mem: implement lrsc backoff to survive in lr storm (#1383)
|
#
026615fc |
| 20-Dec-2021 |
William Wang <[email protected]> |
dcache: let ecc error and l2 corrupt raise load af (#1369)
* dcache: let ecc error and l2 corrupt raise load af
If CSR.smblockctl.cache_error_enable is disabled, ecc error and l2 corrupt
will no
dcache: let ecc error and l2 corrupt raise load af (#1369)
* dcache: let ecc error and l2 corrupt raise load af
If CSR.smblockctl.cache_error_enable is disabled, ecc error and l2 corrupt
will not raise any exception.
* mem: enable cache error by default
* mem: support store ecc check, add ecc error csr
Support store / atom ecc check (early version)
Add ecc error csr to distingush ecc error and other access fault
Timing opt and unit tests to be added.
show more ...
|
#
ad3ba452 |
| 20-Oct-2021 |
zhanglinjuan <[email protected]> |
New DCache (#1111)
* L1D: provide independent meta array for load pipe
* misc: reorg files in cache dir
* chore: reorg l1d related files
* bump difftest: use clang to compile verialted file
New DCache (#1111)
* L1D: provide independent meta array for load pipe
* misc: reorg files in cache dir
* chore: reorg l1d related files
* bump difftest: use clang to compile verialted files
* dcache: add BankedDataArray
* dcache: fix data read way_en
* dcache: fix banked data wmask
* dcache: replay conflict correctly
When conflict is detected:
* Report replay
* Disable fast wakeup
* dcache: fix bank addr match logic
* dcache: add bank conflict perf counter
* dcache: fix miss perf counters
* chore: make lsq data print perttier
* dcache: enable banked ecc array
* dcache: set dcache size to 128KB
* dcache: read mainpipe data from banked data array
* dcache: add independent mainpipe data read port
* dcache: revert size change
* Size will be changed after main pipe refactor
* Merge remote-tracking branch 'origin/master' into l1-size
* dcache: reduce banked data load conflict
* MainPipe: ReleaseData for all replacement even if it's clean
* dcache: set dcache size to 128KB
BREAKING CHANGE: l2 needed to provide right vaddr index to probe l1,
and it has to help l1 to avoid addr alias problem
* chore: fix merge conflict
* Change L2 to non-inclusive / Add alias bits in L1D
* debug: hard coded dup data array for debuging
* dcache: fix ptag width
* dcache: fix amo main pipe req
* dcache: when probe, use vaddr for main pipe req
* dcache: include vaddr in atomic unit req
* dcache: fix get_tag() function
* dcache: fix writeback paddr
* huancun: bump version
* dcache: erase block offset bits in release addr
* dcache: do not require probe vaddr != 0
* dcache: opt banked data read timing
* bump huancun
* dcache: fix atom unit pipe req vaddr
* dcache: simplify main pipe writeback_vaddr
* bump huancun
* dcache: remove debug data array
* Turn on all usr bits in L1
* Bump huancun
* Bump huancun
* enable L2 prefetcher
* bump huancun
* set non-inclusive L2/L3 + 128KB L1 as default config
* Use data in TLBundleB to hint ProbeAck beeds data
* mmu.l2tlb: mem_resp now fills multi mq pte buffer
mq entries can just deq without accessing l2tlb cache
* dcache: handle dirty userbit
* bump huancun
* chore: l1 cache code clean up
* Remove l1plus cache
* Remove HasBankedDataArrayParameters
* Add bus pmu between L3 and Mem
* bump huncun
* IFU: add performance counters and mmio af
* icache replacement policy moniter
* ifu miss situation moniter
* icache miss rate
* raise access fault when found mmio req
* Add framework for seperated main pipe and reg meta array
* Rewrite miss queue for seperated pipes
* Add RefillPipe
* chore: rename NewSbuffer.scala
* cache: add CacheInstruction opcode and reg list
* CSR: add cache control registers
* Add Replace Pipe
* CacheInstruction: add CSRs for cache instruction
* mem: remove store replay unit
* Perf counter to be added
* Timing opt to be done
* mem: update sbuffer to support new dcache
* sbuffer: fix missqueue time out logic
* Merge remote-tracking branch 'origin/master' into dcache-rm-sru
* chore: fix merge conflict, remove nStoreReplayEntries
* Temporarily disable TLMonitor
* Bump huancun (L2/L3 MSHR bug fix)
* Rewrite main pipe
* ReplacePipe: read meta to decide whether data should be read
* RefillPipe: add a store resp port
* MissQueue: new req should be rejected according to set+way
* Add replacement policy interface
* sbuffer: give missq replay the highest priority
Now we give missqReplayHasTimeOut the highest priority, as eviction
has already happened
Besides, it will fix the problem that fix dcache eviction generate logic
gives the wrong sbuffer id
* Finish DCache framework
* Split meta & tag and use regs to build meta array
* sbuffer: use new dcache io
* dcache: update dcache resp in memblock and fake d$
* Add atomics processing flow
* Refactor Top
* Bump huancun
* DCacheWrapper: disable ld fast wakeup only when bank conflict
* sbuffer: update dcache_resp difftest io
* MainPipe: fix combinational loop
* Sbuffer: fix bug in assert
* RefillPipe: fix bug of getting tag from addr
* dcache: ~0.U should restrict bit-width
* LoadPipe: fix bug in assert
* ReplacePipe: addr to be replaced should be block-aligned
* MainPipe: fix bug in required coh sending to miss queue
* DCacheWrapper: tag write in refill pipe should always be ready
* MainPipe: use replacement way_en when the req is from miss queue
* MissQueue: refill data should be passed on to main pipe
* MainPipe: do not use replacement way when tag match
* CSR: clean up cache op regs
* chore: remove outdated comments
* ReplacePipe: fix stupid bug
* dcache: replace checkOneHot with assert
* alu: fix bug of rev8 & orc.b instruction
* MissQueue: fix bug in the condition of mshr accepting a req
* MissQueue: add perf counters
* chore: delete out-dated code
* chore: add license
* WritebackQueue: distinguish id from miss queue
* AsynchronousMetaArray: fix bug
* Sbuffer: fix difftest io
* DCacheWrapper: duplicate one more tag copy for main pipe
* Add perf cnt to verify whether replacing is too early
* dcache: Release needs to wait for refill pipe
* WritebackQueue: fix accept condition
* MissQueue: remove unnecessary assert
* difftest: let refill check ingore illegal mem access
* Parameters: enlarge WritebackQueue to break dead-lock
* DCacheWrapper: store hit wirte should not be interrupted by refill
* Config: set nReleaseEntries to twice of nMissEntries
* DCacheWrapper: main pipe read should block refill pipe by set
Co-authored-by: William Wang <[email protected]>
Co-authored-by: LinJiawei <[email protected]>
Co-authored-by: TangDan <[email protected]>
Co-authored-by: LinJiawei <[email protected]>
Co-authored-by: ZhangZifei <[email protected]>
Co-authored-by: wangkaifan <[email protected]>
Co-authored-by: JinYue <[email protected]>
Co-authored-by: Zhangfw <[email protected]>
show more ...
|
#
1f0e2dc7 |
| 27-Sep-2021 |
Jiawei Lin <[email protected]> |
128KB L1D + non-inclusive L2/L3 (#1051)
* L1D: provide independent meta array for load pipe
* misc: reorg files in cache dir
* chore: reorg l1d related files
* bump difftest: use clang to c
128KB L1D + non-inclusive L2/L3 (#1051)
* L1D: provide independent meta array for load pipe
* misc: reorg files in cache dir
* chore: reorg l1d related files
* bump difftest: use clang to compile verialted files
* dcache: add BankedDataArray
* dcache: fix data read way_en
* dcache: fix banked data wmask
* dcache: replay conflict correctly
When conflict is detected:
* Report replay
* Disable fast wakeup
* dcache: fix bank addr match logic
* dcache: add bank conflict perf counter
* dcache: fix miss perf counters
* chore: make lsq data print perttier
* dcache: enable banked ecc array
* dcache: set dcache size to 128KB
* dcache: read mainpipe data from banked data array
* dcache: add independent mainpipe data read port
* dcache: revert size change
* Size will be changed after main pipe refactor
* Merge remote-tracking branch 'origin/master' into l1-size
* dcache: reduce banked data load conflict
* MainPipe: ReleaseData for all replacement even if it's clean
* dcache: set dcache size to 128KB
BREAKING CHANGE: l2 needed to provide right vaddr index to probe l1,
and it has to help l1 to avoid addr alias problem
* chore: fix merge conflict
* Change L2 to non-inclusive / Add alias bits in L1D
* debug: hard coded dup data array for debuging
* dcache: fix ptag width
* dcache: fix amo main pipe req
* dcache: when probe, use vaddr for main pipe req
* dcache: include vaddr in atomic unit req
* dcache: fix get_tag() function
* dcache: fix writeback paddr
* huancun: bump version
* dcache: erase block offset bits in release addr
* dcache: do not require probe vaddr != 0
* dcache: opt banked data read timing
* bump huancun
* dcache: fix atom unit pipe req vaddr
* dcache: simplify main pipe writeback_vaddr
* bump huancun
* dcache: remove debug data array
* Turn on all usr bits in L1
* Bump huancun
* Bump huancun
* enable L2 prefetcher
* bump huancun
* set non-inclusive L2/L3 + 128KB L1 as default config
* Use data in TLBundleB to hint ProbeAck beeds data
* mmu.l2tlb: mem_resp now fills multi mq pte buffer
mq entries can just deq without accessing l2tlb cache
* dcache: handle dirty userbit
* bump huancun
* chore: l1 cache code clean up
* Remove l1plus cache
* Remove HasBankedDataArrayParameters
* Add bus pmu between L3 and Mem
* bump huncun
* dcache: fix l1 probe index generate logic
* Now right probe index will be used according to the len of alias bits
* dcache: clean up amo pipeline
* DCacheParameter rowBits will be removed in the future, now we set it to 128
to make dcache work
* dcache: fix amo word index
* bump huancun
Co-authored-by: William Wang <[email protected]>
Co-authored-by: zhanglinjuan <[email protected]>
Co-authored-by: TangDan <[email protected]>
Co-authored-by: ZhangZifei <[email protected]>
Co-authored-by: wangkaifan <[email protected]>
show more ...
|