init repo

This commit is contained in:
yaozhicheng 2024-05-22 17:54:23 +08:00
parent 2ac010d6ed
commit 0a7d588e99
5 changed files with 77 additions and 2 deletions

1
.github/README.md vendored Symbolic link
View File

@ -0,0 +1 @@
../README_en.md

BIN
.github/image/600480230.jpg vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

View File

@ -1,2 +0,0 @@
# env-xs-ov-00-nutshell-cache
Nutshell cache verification with MLVP tools

38
README_cn.md Normal file
View File

@ -0,0 +1,38 @@
# 基于MLVP工具的果壳cache验证实验
## 学习材料
完成材料([https://open-verify.cc/mlvp/docs/](https://open-verify.cc/mlvp/docs/))的学习,了解基本验证知识。并基于其中的示例代码完成果壳 cache DUT的创建。
## 功能点与测试点
参考果壳 cache 代码与对应文档,列举出功能点,然后根据功能点拆分出测试点。
果壳 cache 文档:[https://oscpu.github.io/NutShell-doc/%E5%8A%9F%E8%83%BD%E9%83%A8%E4%BB%B6/cache.html](https://oscpu.github.io/NutShell-doc/%E5%8A%9F%E8%83%BD%E9%83%A8%E4%BB%B6/cache.html)
果壳 cache 源代码:[https://github.com/OSCPU/NutShell/blob/master/src/main/scala/nutcore/mem/Cache.scala](https://github.com/OSCPU/NutShell/blob/master/src/main/scala/nutcore/mem/Cache.scala)
## 测试用例
根据上一步的功能点和测试点,编写测试用例,要求能覆盖到所有的测试点。
## 测试编码
根据测试用例编写测试代码其中需要包含功能覆盖点的编写具体可参考mlvp项目[https://github.com/XS-MLVP/mlvp](https://github.com/XS-MLVP/mlvp)
## 测试报告
完成测试报告测试报告中需要包含功能覆盖率、代码行覆盖率对应的分析。功能覆盖率要求达到100%代码行有效覆盖率需要达到96%以上。
## 如何参与
请访问以下链接报名参与本活动:
[报名问卷](https://iz9a87wn37.feishu.cn/share/base/form/shrcnwpiyWaVUzyo47QdPBGy5Yd)
## 加入讨QQ论群: 600480230
<image src="/.github/image/600480230.jpg" alter="600480230" width=500px />

38
README_en.md Normal file
View File

@ -0,0 +1,38 @@
# NutShell Cache Verification Experiment Based on MLVP Tools
## Learning Materials
Complete the study of the materials ([https://open-verify.cc/mlvp/docs/](https://open-verify.cc/mlvp/docs/)), understand the basic verification knowledge. And complete the creation of NutShell cache DUT based on the example code in it.
## Function Points and Test Points
Refer to the NutShell cache code and corresponding documents, list the function points, and then split the test points according to the function points.
NutShell cache document: [https://oscpu.github.io/NutShell-doc/%E5%8A%9F%E8%83%BD%E9%83%A8%E4%BB%B6/cache.html](https://oscpu.github.io/NutShell-doc/%E5%8A%9F%E8%83%BD%E9%83%A8%E4%BB%B6/cache.html)
NutShell cache source code: [https://github.com/OSCPU/NutShell/blob/master/src/main/scala/nutcore/mem/Cache.scala](https://github.com/OSCPU/NutShell/blob/master/src/main/scala/nutcore/mem/Cache.scala)
## Test Cases
Based on the function points and test points from the previous step, write test cases that can cover all test points.
## Test Coding
Write test code based on the test cases, which needs to include the writing of function coverage points. For details, you can refer to the mlvp project: [https://github.com/XS-MLVP/mlvp](https://github.com/XS-MLVP/mlvp)
## Test Report
Complete the test report, the test report needs to include the analysis corresponding to the function coverage rate and the code line coverage rate. The function coverage rate is required to reach 100%, and the effective code line coverage rate needs to reach 96% or more.
## How to Participate
Please visit the following link to sign up for this activity:
[Registration Form](https://iz9a87wn37.feishu.cn/share/base/form/shrcnwpiyWaVUzyo47QdPBGy5Yd)
## Join the QQ Discussion Group: 600480230
<image src="/.github/image/600480230.jpg" alter="600480230" width=500px />