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

Possible optimization: tlbcamline.sv #844

Open
rosethompson opened this issue Jun 19, 2024 · 0 comments
Open

Possible optimization: tlbcamline.sv #844

rosethompson opened this issue Jun 19, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@rosethompson
Copy link
Contributor

Return key on the same cycle as write to save one cycle of latency. Check if this increases the critical path.

 // On a write, set the valid bit high and update the stored key.
  // On a flush, zero the valid bit and leave the key unchanged.
  // *** Might we want to update stored key right away to output match on the
  // write cycle? (using a mux)
  flopenr #(1) validbitflop(clk, reset, WriteEnable | TLBFlush, ~TLBFlush, Valid);
  flopenr #(KEY_BITS) keyflop(clk, reset, WriteEnable, {SATP_ASID, VPN}, Key);
@rosethompson rosethompson self-assigned this Jun 19, 2024
@davidharrishmc davidharrishmc added the enhancement New feature or request label Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants