Skip to content

palladium: map fwrite in LogPerfEndpoint to TB_IMPORT#589

Merged
klin02 merged 1 commit intomasterfrom
pldm-log-area
Feb 28, 2025
Merged

palladium: map fwrite in LogPerfEndpoint to TB_IMPORT#589
klin02 merged 1 commit intomasterfrom
pldm-log-area

Conversation

@klin02
Copy link
Copy Markdown
Member

@klin02 klin02 commented Feb 26, 2025

When we enable XSPerf for XiangShan, logPerfs will be collected to LogPerfEndpoint. Previous we map all logPerfs to GFIFO, and LogPerfEndpoint consumes abount 140M gates, more than XiangShan itself.

This change map fwrite in LogPerfEndpoint to TB_IMPORT, reducing gates from 140m to 68M.

Note we cannot map all fwrites to TB_IMPORT, as some fwrites generated by chisel assert will include complex signal, greatly increase compile time from about 4h to more than 1 day.

When we enable XSPerf for XiangShan, logPerfs will be collected to
LogPerfEndpoint. Previous we map all logPerfs to GFIFO, and
LogPerfEndpoint consumes abount 140M gates, more than XiangShan itself.

This change map fwrite in LogPerfEndpoint to TB_IMPORT, reducing gates
from 140m to 68M.

Note we cannot map all fwrites to TB_IMPORT, as some fwrites generated
by chisel assert will include complex signal, greatly increase compile
time from about 4h to more than 1 day.
@klin02 klin02 merged commit f8746f0 into master Feb 28, 2025
5 checks passed
@klin02 klin02 deleted the pldm-log-area branch February 28, 2025 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants