Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace old virtual memory code with new (details follow)
Old code had much 'cut-and-paste' replication for RV32 (Sv32) and RV64 (Sv39, Sv48), and was scattered over several files. New code unifies them into single set of parameterized functions that works for RV32/RV64 and Sv32/Sv39/Sv48 (and is ready for Sv57). Deleted old files: riscv_vmem_common.sail riscv_pte.sail riscv_ptw.sail riscv_vmem_rv32.sail riscv_vmem_rv64.sail riscv_vmem_sv32.sail riscv_vmem_sv39.sail riscv_vmem_sv48.sail Added 1 new file, where the main vmem code sits: riscv_vmem.sail Modified (to be compatible with new code, and to isolate TLB stuff into one file, since TLBs are not part of RISC-V Architecture Spec) riscv_vmem_tlb.sail Added documentation on new vmem code: doc/notes_Virtual_Memory.adoc Deleted older vmem files.
- Loading branch information