Commit bcfbe7a
authored
Added PTW test cases (#150)
* ptw first commit, test_pwt_reset_smoke
$ make test target=ut_frontend/l2tlb/ptw/
several signals are not zero during reset, such as io_perf_*
* add test_ptw_ptwcache_req_sv39_l2l1miss_nos2xlate_smoke
* add test_ptw_ptwcache_req_sv39_l2hit_nos2xlate
* Add PTW test cases covering 2MB and 1GB page sizes.
test_ptw_ptwcache_req_sv39_l2miss_nos2xlate_1gbpage PASSED
test_ptw_ptwcache_req_sv39_l2l1miss_nos2xlate_2mbpage PASSED
test_ptw_ptwcache_req_sv39_l2hit_nos2xlate_2mbpage PASSED
* update README.md
* update README.md
* Delete the classic_version directory
and split test cases into separate files.
* change PTW settings in xiangshan-kmh.yaml
* Fix build_ut_frontend_l2tlb_ptw.py. Move bundle.py to bundle/
Fix configs/dutree/xiangshan-kmh.yaml by changing PTW to lowercase.
* Add page fault checks for large-page (2MB/1GB) PPN misalignment.
Add test cases:
test_ptw_ptwcache_req_sv39_l2hit_nos2xlate_2mbpage_ppn_misaligned
test_ptw_ptwcache_req_sv39_l2miss_nos2xlate_1gbpage_ppn_misaligned
test_ptw_ptwcache_req_sv39_l2l1miss_nos2xlate_2mbpage_ppn_misaligned1 parent 4c1ee51 commit bcfbe7a
10 files changed
Lines changed: 2529 additions & 2 deletions
File tree
- configs/dutree
- scripts
- ut_frontend/l2tlb
- ptw
- bundle
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
104 | 109 | | |
105 | 110 | | |
106 | 111 | | |
| |||
242 | 247 | | |
243 | 248 | | |
244 | 249 | | |
245 | | - | |
246 | | - | |
247 | 250 | | |
248 | 251 | | |
249 | 252 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
Whitespace-only changes.
0 commit comments