Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simulate a multi-level cache #36

Merged
merged 4 commits into from
Jan 8, 2025
Merged

Simulate a multi-level cache #36

merged 4 commits into from
Jan 8, 2025

Conversation

tjhu
Copy link
Contributor

@tjhu tjhu commented Jan 7, 2025

By default, we simulate a 3-level memory cache with a dedicated L1 instruction cache. Each cache is a 4-way set associative cache with a 64-bit cache line.
The delay introduced by the cache is simulated in the MCADFetchDelayStage for the instruction cache and MCADLSUnit for the data cache.

@tjhu tjhu merged commit 2ec3a65 into main Jan 8, 2025
1 check passed
@tjhu tjhu deleted the cache1 branch January 8, 2025 18:58
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.

1 participant