Skip to content

Commit

Permalink
Remove old vmem Sail workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
jordancarlin committed Oct 5, 2024
1 parent c7596ee commit ca4d5e0
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions model/riscv_vmem_common.sail
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,3 @@ let sv57_params : SV_Params = struct {
pte_PPN_j_size_bits = 9
}
*/

// This 'undefined_SV_Params()' function is not used anywhere, but is
// currently (2023-12) needed to work around an issue where Sail tries
// to figure out how it could do
// let x : SV_Params = undefined
// even though the code never does this. This has been fixed in Sail.
// The fix will become available in a new Sail release, at which point
// this function can be deleted (TODO).
// PRIVATE
val undefined_SV_Params : unit -> SV_Params
function undefined_SV_Params() = sv32_params

0 comments on commit ca4d5e0

Please sign in to comment.