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

feat(PTW,debug_cli), fix(TLB,difftest) #4

Merged
merged 12 commits into from
Jul 16, 2024
Merged

feat(PTW,debug_cli), fix(TLB,difftest) #4

merged 12 commits into from
Jul 16, 2024

Conversation

Guo-HY
Copy link
Contributor

@Guo-HY Guo-HY commented Jul 5, 2024

  1. Align PTW with Centaur320
  2. Fix how G bit is used in tlb searchs
  3. Add TLB multi-hit check
  4. add 'info tlb' cmd to show valid tlb entries for debug cli
  5. improve difftest_csrcpy_idx
  6. fix CSR.TLBPS.PS width from 5 to 6(align with ISA)
  7. fix csrwr,csrrd,csrxchg:sign extension and write mask
  8. fix trans_div_wu

@Guo-HY Guo-HY force-pushed the master branch 2 times, most recently from 167f6b3 to 94421d9 Compare July 16, 2024 07:57
Guo-HY and others added 9 commits July 16, 2024 16:00
CSR.TLBIDX,TLBEHI,PWCL,TID,TLBREHI:
    The high bit of the old csr value read needs to be
    the sign extension of the highest bit of the csr valid field.

CSR.CRMD,PRMD,EUEN,MISC,ECFG,ESTAT,EENTRY,
RVACFG,LLBCTL,TLBIDX,TLB(R)EHI,TLB(R)ELO0/1,
ASID,PGDL,PGDH,PWCL,PWCH,STLBPS,TLRENTRY,
TLBRERA,TLBRPRMD,DMW,TID:
    Not all fields are writable.
@rrwhx rrwhx merged commit 9c58f5c into rrwhx:master Jul 16, 2024
24 checks passed
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.

2 participants