Files
riscv-ulp-survey/analysis/README.md
T

27 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 仓库完整性体检原始数据
本目录存放《低功耗 RISC-V 开源芯片综述》第 7 节(仓库完整性与可二次开发性实测评估)的原始数据与可复现工具。
| 文件 | 说明 |
|---|---|
| `scan_repos.py` | 结构化体检脚本(统计 RTL 规模、验证环境、构建体系、CI、依赖管理等) |
| `仓库体检原始输出.txt` | 2026-09-06 对 9 个仓库的实际扫描输出 |
## 复现方法
体检时各仓库以浅克隆方式获取(`git clone --depth 1`),扫描脚本直接对本地目录统计:
```bash
git clone --depth 1 https://github.com/olofk/serv.git # 其余 8 仓同理
python3 scan_repos.py > 仓库体检原始输出.txt
```
## 扫描口径
- **RTL 行数**`.v/.sv/.svh/.vh/.vhd/.vhdl/.scala` 源码文件行数合计(VexRiscv 含 SpinalHDL 源码)
- **验证环境**tb/testbench/verif/dv/uvm/tests 等典型验证目录下的 RTL 文件计数
- **构建体系**FuseSoC `.core`、Makefile、Bazelbuild/.bzl)、CMake、Tcl 脚本计数
- **依赖管理**`.gitmodules` 子模块清单;清单式外拉(pulpino `update-ips.py`、pulpissimo Bender)需结合 README 人工核查
注意:`git log` 显示的 HEAD 日期为扫描时点(2026-09-06)状态,各仓库后续会有新提交。