Repository navigation
zh guides index
github-actions[bot] edited this page Oct 30, 2026
·
1 revision
这里按项目任务组织步骤,适合已经能运行一条测试的读者。第一次使用请从 累加器教程开始;查默认值和限制请看参考。
| 任务 | 指南 |
|---|---|
| 创建 Backend、启动测试、复用 fixture | 配置 Execution 与 Backend |
| 等待时钟、信号、超时或外部事件 | 使用 Trigger |
| 识别跨周期条件与状态变化 | 编译条件、Sequence 与 FSM |
| 持续接收事件并保存采样快照 | 持久订阅 |
| 接入 HTTP、Queue 或后台服务 | 集成 asyncio 与 pytest |
| 任务 | 指南 |
|---|---|
| 把 DUT 信号绑定到结构化对象 | 信号与 Bundle |
| 实现单周期、多周期或可重叠的输入 | 编写 Driver |
| 收集输出,避免漏掉单拍结果 | 编写 Monitor |
| 组合组件并接入有状态参考模型 | Agent 与参考模型 |
| 比较结果,按顺序、编号或固定延迟关联事务 | 使用 Scoreboard |
| 使用 ready/valid 通道的现成视图 | 协议视图 |
| 运行连续输入和阶段重叠场景 | 流水输入示例 |
| 任务 | 指南 |
|---|---|
| 定义分桶、交叉和覆盖目标 | 功能覆盖率 |
| 用类复用覆盖模型 | 覆盖模型类声明 |
| 统计请求响应延迟与乱序 | 事务覆盖 |
| 统计跨周期事件 | 时序覆盖 |
| 将验证要求变成可观测场景 | 功能点与跨用例覆盖 |
| 将组件、检查和覆盖采样接入同一环境 | 组合验证环境 |
| 运行多进程回归,查看报告并定位失败 | 运行测试与汇总覆盖率 |
- 迁移到 Toffee 2:分别处理 XReactor 和 Toffee Legacy 项目。
- 版本、CI 与发布:为框架变更选择版本,检查发布结果。
需要完整代码时,按示例索引选择可运行的项目。
内容由 CI 自动同步;请编辑主仓库文档。 Automatically synced by CI; edit the source documentation.
- 首页
- 教程
- 操作指南
- 参考
- 原理说明
- Home
-
Tutorials
- Learning path
- 0. Prepare your environment
- 1. Your first PASS and FAIL
- 2. Inputs and clocks
- 3. More cases and boundaries
- 4. Extract a Driver
- 5. Delayed output and a Monitor
- 6. Assemble an Agent
- 7. Models and the test environment
- 8. Pipelines, batches, and cancellation
- 9. Understand failures
- 10. Functional coverage
- Optional: out-of-order responses
- Optional: native clocks and project DUTs
-
How-to guides
- Find your task
- Simulation and events
- Verification components
- Coverage and regressions
- Migration and maintenance
- Runnable examples
- Reference
- Explanation