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

Implement L1 caches #16

Open
howardlau1999 opened this issue Dec 30, 2021 · 0 comments
Open

Implement L1 caches #16

howardlau1999 opened this issue Dec 30, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@howardlau1999
Copy link
Owner

The processor is now fetching instructions and doing memory operations via a shared bus. It can be seen that the pipeline is mostly stalled due to slow bus operations. Modern processors offer caches to fill the gap between the core and the bus.

Although we have a von-Neumann architecture CPU, L1 caches are usually split into I-cache(I$) and D-cache(D$) for instructions and data respectively.

These caches are commonly set-associative and implemented as SRAMs. The caches should keep record of cache line status and request bus for memory operations if needed.

@howardlau1999 howardlau1999 added enhancement New feature or request help wanted Extra attention is needed labels Dec 30, 2021
@howardlau1999 howardlau1999 self-assigned this Dec 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant