#
527dc111 |
| 18-Dec-2021 |
Lingrui98 <[email protected]> |
tage: modify histlens and tag lens to reduce folded histories
|
#
b37e4b45 |
| 16-Dec-2021 |
Lingrui98 <[email protected]> |
ubtb: refactor prediction mechanism(temp commit)
|
#
5b7ef044 |
| 17-Dec-2021 |
Lemover <[email protected]> |
pmp: add static pmp check that stored in tlb entries (#1366)
* memblock: regnext ptw's resp
* pmp: timing optimization from tlb.sram.ppn to pmp, add static pmp check
long latency: tlb's sram m
pmp: add static pmp check that stored in tlb entries (#1366)
* memblock: regnext ptw's resp
* pmp: timing optimization from tlb.sram.ppn to pmp, add static pmp check
long latency: tlb's sram may be slow to gen ppn, ppn to pmp may be
long latency.
Solution: add static pmp check.
Fatal problem: pmp grain is smalled than TLB pages(4KB, 2MB, 1GB)
Solution: increase pmp'grain to 4K, for 4K entries, pre-check pmp and
store the result into tlb storage. For super pages, still dynamic check
that translation and check.
* pmp: change pmp grain to 4KB, change pma relative init config
* bump ready-to-run, update nemu so for pmp grain
* bump ready-to-run, update nemu so for pmp grain again
update pmp unit test. The old test assumes that pmp grain is less than 512bit.
show more ...
|
#
c49b0e7f |
| 14-Dec-2021 |
Lingrui98 <[email protected]> |
Merge remote-tracking branch 'origin/change-fallThrough' into ubtb-refactor
|
#
2a3050c2 |
| 14-Dec-2021 |
Jay <[email protected]> |
Optimize IFU and PreDecode timing (#1347)
* ICache: add ReplacePipe for Probe & Release
* remove ProbeUnit
* Probe & Release enter ReplacePipe
* fix bugs when running Linux on MinimalConfi
Optimize IFU and PreDecode timing (#1347)
* ICache: add ReplacePipe for Probe & Release
* remove ProbeUnit
* Probe & Release enter ReplacePipe
* fix bugs when running Linux on MinimalConfig
* TODO: set conflict for ReplacePipe
* ICache: fix ReplacePipe invalid write bug
* chores: code clean up
* IFU: optimize timing
* PreDecode: separate into 2 module for timing optimization
* IBuffer: add enqEnable to replace valid for timing
* IFU/ITLB: optimize timing
* IFU: calculate cut_ptr in f1
* TLB: send req in f1 and wait resp in f2
* ICacheMainPipe: add tlb miss logic in s0
* Optimize IFU timing
* IFU: fix lastHalfRVI bug
* IFU: fix performance bug
* IFU: optimize MMIO commit timing
* IFU: optmize trigger timing and add frontendTrigger
* fix compile error
* IFU: fix mmio stuck bug
show more ...
|
#
1ca0e4f3 |
| 10-Dec-2021 |
Yinan Xu <[email protected]> |
core: refactor hardware performance counters (#1335)
This commit optimizes the coding style and timing for hardware
performance counters.
By default, performance counters are RegNext(RegNext(_)).
|
#
ffb7dc80 |
| 08-Dec-2021 |
Lingrui98 <[email protected]> |
tage: use an optimized hist table config
|
#
82dc6ff8 |
| 07-Dec-2021 |
Lingrui98 <[email protected]> |
bpu: parameter modification to reduce area
|
#
98c71602 |
| 06-Dec-2021 |
Jiawei Lin <[email protected]> |
Add pma checker for I/O device (#1300)
* SoC: add axi4spliter
* pmp: add apply method to reduce loc
* pma: add PMA used in axi4's spliter
* Fix package import
* pma: re-write tl-pma, put
Add pma checker for I/O device (#1300)
* SoC: add axi4spliter
* pmp: add apply method to reduce loc
* pma: add PMA used in axi4's spliter
* Fix package import
* pma: re-write tl-pma, put tl-pma into AXI4Spliter
* pma: add memory mapped pma
* soc: rm dma port, rm axi4spliter, mv mmpma out of spliter
* Remove unused files
* update dma pma check port at SimTop.scala; update pll lock defalt value to 1
Co-authored-by: ZhangZifei <[email protected]>
Co-authored-by: rvcoresjw <[email protected]>
show more ...
|
#
d6477c69 |
| 05-Dec-2021 |
Yinan Xu <[email protected]> |
wb,load: delay load fp for one cycle (#1296)
|
#
2a25dbb4 |
| 04-Dec-2021 |
Jay <[email protected]> |
ICache: add ReplacePipe for Probe and Release (#1303)
* ICache: add ReplacePipe for Probe & Release
* remove ProbeUnit
* Probe & Release enter ReplacePipe
* fix bugs when running Linux on M
ICache: add ReplacePipe for Probe and Release (#1303)
* ICache: add ReplacePipe for Probe & Release
* remove ProbeUnit
* Probe & Release enter ReplacePipe
* fix bugs when running Linux on MinimalConfig
* TODO: set conflict for ReplacePipe
* ICache: add Block logic for ReplacePipe
* ReplacePipe: change probe assert condition
* support Probe NToN (Probe not hit in ICache)
* ICache: fix a bug in meta_write_arb
show more ...
|
#
64886eef |
| 30-Nov-2021 |
William Wang <[email protected]> |
mem: disable l2l forward by default (#1283)
|
#
a98b054b |
| 29-Nov-2021 |
William Wang <[email protected]> |
Optimize memblock timing (#1268)
* sbuffer: do flush correctly while draining sbuffer
* mem: disable EnableFastForward for timing reasons
* sbuffer: optimize forward mask gen timing
* dcach
Optimize memblock timing (#1268)
* sbuffer: do flush correctly while draining sbuffer
* mem: disable EnableFastForward for timing reasons
* sbuffer: optimize forward mask gen timing
* dcache: block main pipe req if refill req is valid
Refill req comes from refill arbiter. There is not time left for index
conflict check. Now we block all main pipe req when refill
req comes from miss queue.
* dcache: delay some resp signals for better timing
* dcache: optimize wbq enq entry select timing
* dcache: decouple missq req.valid to valid & cancel
* valid is fast, it is used to select which miss req will be sent to
miss queue
* cancel can be slow to generate, it will cancel miss queue req in the
last moment
* sbuffer: optimize noSameBlockInflight check timing
show more ...
|
#
1d8f4dcb |
| 28-Nov-2021 |
Jay <[email protected]> |
ICache: Add tilelink consistency modification (#1228)
* ICache: metaArray & dataArray use bank interleave
* ICache: add bank interleave
* ICache: add parity check for meta and data arrays
*
ICache: Add tilelink consistency modification (#1228)
* ICache: metaArray & dataArray use bank interleave
* ICache: add bank interleave
* ICache: add parity check for meta and data arrays
* IFU: fix bug in secondary miss
* secondary miss doesn't send miss request to miss queue
* ICache: write back cancled miss request
* ICacheMissEntry: add second miss merge
* deal with situations that this entry has been flushed, and the next miss req just
requests the same cachline.
* ICache: add acquireBlock and GrantAck support
* refact: move icache modules to frontend modules
* ICache: add release surport and meta coh
* ICache: change Get to AcquireBlock for A channel
* rebuild: change ICachePara package for other file
* ICache: add tilelogger for L1I
* ICahce: add ProbeQueue and Probe Process Unit
* ICache: add support for ProbeData
* ICahceParameter: change tag code to ECC
* ICahce: fix bugs in connect and ProbeUnit
* metaArray/dataArray responses are not connected
* ProbeUnit use reg so data and req are not synchronized
* RealeaseUnit: write back mata when voluntary
* Add ICache CacheInstruction
* move ICache to xiangshan.frontend.icache._
* ICache: add CacheOpDecoder
* change ICacheMissQueue to ICacheMissUnit
* ProbeUnit: fix meta data not latch bug
* IFU: delete releaseSlot and add missSlot
* IFU: fix bugs in missSlot state machine
* IFU: fix some bugs in miss Slot
* IFU: move out fetch to ICache Array logic
* ReleaseUnit: delete release write logic
* MissUnit: send Release to ReleaseUnit after GAck
* ICacheMainPipe: add mainpipe and stop logic
* when f3_ready is low, stop the pipeline
* IFU: move tlb and array access to mainpipe
* Modify Frontend and ICache top for mainpipe
* ReleaseUnit: add probe merge status register
* ICache: add victim info and release in mainpipe
* ICahche: add set-conflict logic
* Release: do not invalid meta after sending release
* bump Huancun: fix probe problem
* bump huancun for MinimalConfig combinational loop
* ICache: add LICENSE for new files
* Chore: remove debug code and add perf counter
* Bump huancun for bug fix
* Bump HuanCun for alias bug
* ICache: add dirty state for CliendMeta
show more ...
|
#
459d1cae |
| 26-Nov-2021 |
Yinan Xu <[email protected]> |
refCounter: optimize timing for freeRegs (#1255)
This commit changes how isFreed is calculated. Instead of using
refCounter in the next, we compute it at this cycle and RegNext it.
|
#
5668a921 |
| 16-Nov-2021 |
Jiawei Lin <[email protected]> |
Fix multi-core dedup bug (#1235)
* FDivSqrt: use hierarchy API to avoid dedup bug
* Dedup: use hartId from io port instead of core parameters
* Bump fudian
|
#
4d0a7d51 |
| 13-Nov-2021 |
Steve Gou <[email protected]> |
Merge pull request #1223 from OpenXiangShan/tage-fh-merge
implement folded global histories for tage-sc/ittage
|
#
e992912c |
| 12-Nov-2021 |
Lingrui98 <[email protected]> |
bpu: fix folded history bugs
* fix a bug of wrongly discarding some new bits to be xored * ghr should be longer in default config to avoid falsely overriding * move TageBanks to top, and fix SC fold
bpu: fix folded history bugs
* fix a bug of wrongly discarding some new bits to be xored * ghr should be longer in default config to avoid falsely overriding * move TageBanks to top, and fix SC folded history config
show more ...
|
#
cbe9a847 |
| 12-Nov-2021 |
Yinan Xu <[email protected]> |
difftest: add basic difftest features for releases (#1219)
* difftest: add basic difftest features for releases
This commit adds basic difftest features for every release, no matter
it's for sim
difftest: add basic difftest features for releases (#1219)
* difftest: add basic difftest features for releases
This commit adds basic difftest features for every release, no matter
it's for simulation or physical design. The macro SYNTHESIS is used to
skip these logics when synthesizing the design. This commit aims at
allowing designs for physical design to be verified.
* bump ready-to-run
* difftest: add int and fp writeback data
show more ...
|
#
e564722c |
| 12-Nov-2021 |
Lingrui98 <[email protected]> |
parameters: update configs for tage and ittage
* modify the largest history length to be 65 in order to avoid 2 level xors on speculative update
* update ittage parameters to be an optimized one
|
#
dd6c0695 |
| 12-Nov-2021 |
Lingrui98 <[email protected]> |
bpu: bring folded history into use, and use previous ghr to do difftest; move tage and ittage config to top
|
#
c2ad24eb |
| 11-Nov-2021 |
Lingrui98 <[email protected]> |
bpu: use circular buffer as global history register, and
* use compressed info to do redirects * implement folded history class
|
#
5cf62c1a |
| 11-Nov-2021 |
Lemover <[email protected]> |
tlb: timing optimization in 'genPPN', 'pmp check' and 'data out when nWays is 1' (#1210)
* tlb: timing optimization, when nWays is 1, divide hit and data(rm hitMux)
* pmp: add param to control leav
tlb: timing optimization in 'genPPN', 'pmp check' and 'data out when nWays is 1' (#1210)
* tlb: timing optimization, when nWays is 1, divide hit and data(rm hitMux)
* pmp: add param to control leave ParallelMux into next cycle, default n.
The whole pmp match logic seems too long and takes more than a half cycle. Add this param and set it default false.
* tlb: timing optimization, when level enable, move ppn gen to first cycle
* tlb: fix bug of saveLevel and add it to TLBParameters
show more ...
|
#
1545277a |
| 11-Nov-2021 |
Yinan Xu <[email protected]> |
top: enable fpga option for simulation emu (#1213)
* disable log as default
* code clean up
|
#
300ded30 |
| 04-Nov-2021 |
William Wang <[email protected]> |
Optimize dcache timing (#1195)
* dcache: do not check readline rmask
This should opt bank_conflict check timing
* dcache: block replace if store s1 valid
It takes quite long to generate way
Optimize dcache timing (#1195)
* dcache: do not check readline rmask
This should opt bank_conflict check timing
* dcache: block replace if store s1 valid
It takes quite long to generate way_en in mainpipe s1. As a result,
use s1 way_en to judge if replace should be blocked will cause severe
timing problem
Now we simply block replace if mainpipe.s1.valid
Refill timing to be optmized later
* sbuffer: delay sbuffer enqueue for 1 cycle
With store queue growing larger, read data from datamodule nearly
costs a whole cycle. Hence we delay sbuffer enqueue for 1 cycle
for better timing.
* dcache: reduce probe queue size
* dcache: replace probe pipe req RRArbiter with Arbiter
* dcache: reduce writeback queue size for timing opt
* dcache: delay wbqueue enqueue req for 1 cycle
Addr enqueue req will compare its addr with addrs in all writeback
entries to check if it should be blocked. Delay enqueue req will
give that process more time.
* dcache: set default replacer to setplru
It does not change current design
* dcache: fix wbqueue req_delayed deadlock
We delayed writeback queue enq for 1 cycle, missQ req does not
depend on wbQ enqueue. As a result, missQ req may be blocked
in req_delayed. When grant comes, that req should also be updated
* dcache: remove outdated require
* dcache: replace missReqArb RRArbiter with Arbiter
* perf: add detailed histogram for low dcache latency
* dcache: fix wbqueue entry alloc logic
* dcache: opt probe req timing
In current design, resv_set is maintained in dcache. All probe req
will be blocked if that addr is in resv_set.
However, checking if that addr is in resv_set costs almost half a cycle,
which causes severe timing problem.
Now when we update update_resv_set, all probe reqs will be blocked
in the next cycle. It should give Probe reservation set addr compare an
independent cycle, which will lead to better timing
show more ...
|