Skip to content

en Home

github-actions[bot] edited this page Oct 30, 2026 · 1 revision

源文档 / Source · 中文

Toffee user manual

This manual describes Toffee 2, migrated from XReactor. Legacy Toffee remains on master; see the migration guide.

A hardware test supplies inputs, waits for results, and checks them against the specification. Toffee expresses these operations as Python tests and helps organize repeated behavior into reusable components. Choose the section that matches your current task; each section can be read independently.

Your goal Start here What you will learn
Follow a first exercise Tutorials Test an 8-bit accumulator with assertions, drivers, automatic checking, and coverage
Complete a project task How-to guides Connect a DUT, assemble verification components, run regressions, or migrate a project
Look up an interface Reference Find APIs, defaults, CLI options, and supported behavior
Understand the design Explanation Understand simulation progress, resource ownership, and what coverage proves

Write your first test

Start with installation and your first PASS and FAIL. The first exercises use Python without an RTL simulator. Every lesson identifies its source file, command, and expected result, introducing concepts as the exercise needs them.

Common tasks

See runnable examples for complete programs and the feature map for implementation and regression links.

首页 / Home

中文

English

Clone this wiki locally