History log of /XiangShan/src/main/scala/xiangshan/backend/exu/ExeUnit.scala (Results 1 – 25 of 76)
Revision Date Author Comments
# 1592abd1 08-Apr-2025 Yan Xu <[email protected]>

feat: support inst lifetime trace (#4007)

PerfCCT(performance counter commit trace) is a Instruction-level
granularity perfCounter like GEM5
How to use this:
1. Make with "WITH_CHISELDB=1" argument

feat: support inst lifetime trace (#4007)

PerfCCT(performance counter commit trace) is a Instruction-level
granularity perfCounter like GEM5
How to use this:
1. Make with "WITH_CHISELDB=1" argument
2. Run with "--dump-db --dump-select-db lifetime", then get the database
3. Instruction lifetime visualize run "python3 scripts/perfcct.py
"the-db-file-path" -p 1 -v | less"
4. Analysis script now is in XS-GEM5 repo, see
https://github.com/OpenXiangShan/GEM5/blob/xs-dev/util/ClockAnalysis.py

How it works:
1. Allocate one unique tag "seqNum" like GEM5 for each instruction at
fetch stage
2. Passing the "seqNum" in each pipeline
3. Recording perf data through the DPIC interface

show more ...


# 4b2c87ba 27-Feb-2025 梁森 Liang Sen <[email protected]>

feat(dfx): integerate dfx components (#4312)


# 0ed0e482 20-Dec-2024 Guanghui Cheng <[email protected]>

area(EXU): add parameter `needCopySrc` in FuConfig (#4063)


# b67a2036 10-Dec-2024 xiaofeibao <[email protected]>

area(exu): data signals only pipe once in exu


# 472967ba 08-Dec-2024 xiaofeibao <[email protected]>

area(exu): ctrl signals only pipe once in exu


# a2fa0ad9 02-Dec-2024 xiaofeibao <[email protected]>

area(backend): only use startAddr in pcMem


# 85a8d7ca 01-Nov-2024 Zehao Liu <[email protected]>

feat(dbltrp) : add support for critical error (#3793)


# 7d530865 25-Oct-2024 Zhaoyang You <[email protected]>

fix(FuUnit, clkgate): use fu.io.in/out.fire to control its clkgate enable signal (#3751)


# 8338e674 19-Sep-2024 xiaofeibao-xjtu <[email protected]>

power(backend): add clock gate for Rob and IssueQueue (#3602)


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

fix(exception): check high address bits of jump target (#3003)

This commit contains high address bits checking of jump target. In
previous implementation, we simply truncated the higher bits of jump

fix(exception): check high address bits of jump target (#3003)

This commit contains high address bits checking of jump target. In
previous implementation, we simply truncated the higher bits of jump
target address, which made it impossible to raise exceptions in such
cases.

To resolve this problem, we detect the invalid jump target in
jump/branch/CSR and, this information to frontend and store the complete
invalid target in a single register in backend. The frontend will then
raise an exception to backend and backend will also use the invalid
target in the register to write xtval and mepc.

---------

Co-authored-by: Muzi <[email protected]>
Co-authored-by: ngc7331 <[email protected]>

show more ...


# 15ed99a7 23-May-2024 Xuan Hu <[email protected]>

NewCSR: add full illegal check to `sfence` and the insts in `Svinval` extension

* Move the permission check for some insts to DecodeUnit.
* These insts are `sfence.vma`, `sinval.vma`, `sfence.w.inva

NewCSR: add full illegal check to `sfence` and the insts in `Svinval` extension

* Move the permission check for some insts to DecodeUnit.
* These insts are `sfence.vma`, `sinval.vma`, `sfence.w.inval`, `sfence.inval.ir`, `hfence.gvma`, `hinval.gvma`, `hfence.vvma` and `hinval.vvma`.

show more ...


# dcdd1406 14-May-2024 Xuan Hu <[email protected]>

NewCSR: make XRET use redirect bundle to pass target instead of csr-rob direct connection

* TODO: remove isXRet signal from RobCSRIO.
* Add ftqIdx,ftqOffset in CSR Fu.
* XRet need not flushPipe


# 007f6122 14-Apr-2024 Xuan Hu <[email protected]>

NewCSR: add IMSIC


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


# 7ffbf5fd 20-Jun-2024 Zhaoyang You <[email protected]>

Backend: fix Uncertain Layency Fu's clock gate (#3085)


# 0fbf39af 13-Jun-2024 lewislzh <[email protected]>

VPU: fix vfreduction bug; remove redundant logic for scalar compute (#3065)


# 618b89e6 12-Jun-2024 lewislzh <[email protected]>

Backend fixtiming: fix rab/exuwb/wbtorob timing (#3032)

rab:
fix commit/walk/special walk Count from popcount to priority mux
exuwb:
fix exuwb Nto1 logic: add int/fp/vec 3 wbpath to wbarbite

Backend fixtiming: fix rab/exuwb/wbtorob timing (#3032)

rab:
fix commit/walk/special walk Count from popcount to priority mux
exuwb:
fix exuwb Nto1 logic: add int/fp/vec 3 wbpath to wbarbiter
wbtorob:
fix writebacknum count: delete extra count for exu which cannot be compressed

show more ...


# 9eecf55c 09-Jun-2024 xiaofeibao <[email protected]>

ExeUnit: in1toN in.ready not dependent on acceptVec


# db7becb6 30-May-2024 xiaofeibao <[email protected]>

Exu: connect V0Wen VlWen


# f8ca900c 21-May-2024 Ziyue Zhang <[email protected]>

vtype: add valid signal for vsetvl instruction when calculate output


# a0998bbd 23-May-2024 xiaofeibao <[email protected]>

ExeUnit: add fpWbPort assert


# c11f007f 20-May-2024 weiding liu <[email protected]>

Merge branch 'master' into vlsu-merge-master-0504


# c83747bf 15-May-2024 Yangyu Chen <[email protected]>

Utility: Fix wrong use case of XSError in XiangShan

Some XSError message uses `s` to format strings with some information
peeked from the circuit. It does not peek the correct information from RTL
a

Utility: Fix wrong use case of XSError in XiangShan

Some XSError message uses `s` to format strings with some information
peeked from the circuit. It does not peek the correct information from RTL
and makes the module itself fail to dedup. This commit fixes this by
replacing `s` with `p`.

Signed-off-by: Yangyu Chen <[email protected]>

show more ...


# 550efd16 15-May-2024 Ziyue Zhang <[email protected]>

rv64v: fix the logic of writing vtype for vsetvl instruction


# 25df626e 04-May-2024 good-circle <[email protected]>

Merge branch 'master' into vlsu-tmp-master


1234