OpenXiangShan / difftest

Modern co-simulation framework for RISC-V CPUs
Mulan Permissive Software License, Version 2
118 stars 66 forks source link

fix(l1tlb_check): correct the check for only VS stage #452

Closed cebarobot closed 2 months ago

cebarobot commented 2 months ago

As a legacy issue of supporting Sv48, the default level of do_s2xlate when mode=0 is incorrect. Also, for only VS stage case (onlyS1), it should not do_s2xlate at all. This patch fixes these problems.

poemonsense commented 2 months ago

Is this OK for merging? I'll squash and merge it

cebarobot commented 2 months ago

Is this OK for merging? I'll squash and merge it

Yes. Thanks a lot.