diff options
Diffstat (limited to 'model/riscv_vmem_rv64.sail')
-rw-r--r-- | model/riscv_vmem_rv64.sail | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/model/riscv_vmem_rv64.sail b/model/riscv_vmem_rv64.sail index 9ed3c54..2a415c7 100644 --- a/model/riscv_vmem_rv64.sail +++ b/model/riscv_vmem_rv64.sail @@ -61,3 +61,12 @@ function translateAddr(vAddr, ac, rt) = { _ => internal_error("unsupported address translation scheme") } } + +val flush_TLB : (option(asid64), option(vaddr39)) -> unit effect {rreg, wreg} +function flush_TLB(asid, addr) -> unit = { + flush_TLB39(asid, addr) +} + +function init_vmem() -> unit = { + init_vmem_sv39() +} |