Skip to content

About Xiangshan IFU, where is the 2nd cacheline used? Is it a bug? #3865

Answered by eastonman
Jerry-Tianchen asked this question in Q&A
Discussion options

You must be logged in to vote

No, this is legacy code that needs refactoring. Historically we use 2 ports in ICache for crossline fetching. However, this wastes power and registers. Because a fetch block in XiangShan is 34B max, so at most we need 48B of ICache data (with 16B banking). These 48B data are passed through port 0 now, and port 1 is no longer used.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by Jerry-Tianchen
Comment options

You must be logged in to vote
2 replies
@Jerry-Tianchen
Comment options

@ngc7331
Comment options

ngc7331 Dec 10, 2024
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants