cva6 icon indicating copy to clipboard operation
cva6 copied to clipboard

[ptw bug] shared_tlb_update_o has connnection issue with g_content (RVH enable)

Open khandelwaltanuj opened this issue 5 months ago • 4 comments

Hi @AngelaGonzalezMarino

There seems to be an issue in the PTW code at this line

https://github.com/openhwgroup/cva6/blob/a9190fde99b7adf14b74b0b56ff6f47ccce5f1f9/core/cva6_mmu/cva6_ptw.sv#L210C7-L210C26

  shared_tlb_update_o.content   = gpte_q | (global_mapping_q << 5);
  shared_tlb_update_o.g_content = pte;

I believe it should be: shared_tlb_update_o.content = pte | (global_mapping_q << 5); shared_tlb_update_o.g_content = gpte_q;

Thanks and Regards Tanuj Khandelwal

khandelwaltanuj avatar Jun 10 '25 12:06 khandelwaltanuj