if test U/S mode ,you must use page table;
But in original riscv-dv code , it has a error.
riscv-dv/src/riscv_page_table_list.sv
in virtual function create_valid_pte(), line 185, valid_link_pte is just valid_leaf_pte clone, valid_link_pte.a = 1 and valid_link_pte.d = 1 ; in riscv doc, valid link pte must u = 0, a = 0, d = 0;
if test U/S mode ,you must use page table; But in original riscv-dv code , it has a error.
riscv-dv/src/riscv_page_table_list.sv in virtual function create_valid_pte(), line 185, valid_link_pte is just valid_leaf_pte clone, valid_link_pte.a = 1 and valid_link_pte.d = 1 ; in riscv doc, valid link pte must u = 0, a = 0, d = 0;