Skip to content

Commit

Permalink
palladium: map fwrite in LogPerfEndpoint to TB_IMPORT (#589)
Browse files Browse the repository at this point in the history
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 4 hour to more than 1 day.
  • Loading branch information
klin02 authored Feb 28, 2025
1 parent 971d3d0 commit f8746f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/palladium/argConfigs.qel
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
* $fatal TB_IMPORT
* $random TB_IMPORT
* $fwrite GFIFO
LogPerfEndpoint $fwrite TB_IMPORT

0 comments on commit f8746f0

Please sign in to comment.