Understanding Tasks, Workspaces, and Workflows¶
After completing the onboarding process, you can understand UCAgent through four concepts: input materials, workspace, workflow, and acceptance. These determine what the Agent does, where files are located, and when it can proceed to the next stage.
Input Materials¶
ToffeeUT uses RTL and independent requirement documents, then simulates through a Picker-exported DUT Python package. Use BuildToffeeDUT during the workflow or register an existing package in the configuration. Starting ucagent alone does not mean compilation or verification has completed.
<workspace>/<DUT>/README.md should describe the interfaces, timing, functionality, and verification goals. If the requirements are incomplete, the materials should be supplemented first to avoid letting the Agent guess the design behavior. Custom documentation workflows can use other types of inputs and do not necessarily require a DUT package.
Workspace and Output Directory¶
workspace is the permitted project directory. ToffeeUT defaults to ut_project for its artifacts; --output overrides it.
Specific artifacts depend on the workflow, enabled stages, and test results. The waveform format and storage location are determined by the DUT and test configuration; launching the task itself does not guarantee the generation of waveforms or complete reports. See Result Analysis and Workflow Summary for how to read the results.
Workflow and Acceptance¶
A workflow is a sequence of ordered stages. Each stage specifies the task, reference files, expected output, and Checker. The Agent uses tools to complete the task, then calls Check to view the acceptance results; only after calling Complete and passing the final checks and applicable gates can it proceed to the next stage.
For new verification, use ucagent toffee-ut to select toffee-ut:ut. Use --config <file> for configuration overrides. See Workflow Configuration.
Configuration and Launch Entry Points¶
ucagent/setting.yamlprovides global default settings for the backend, tools, and launch.- Language configurations provide workflows and task prompts for the corresponding language.
- User configuration, workspace configuration, project
--config, and CLI overrides collectively determine the configuration for the current run; see Workflow Configuration for the loading order. - The
Makefilein the source repository encapsulates workspace preparation and CLI commands; after installation via pip, theucagentcommand can be used directly.
The TUI and Web pages are the operational entry points, the backend handles model interaction, and the workflow definition verifies the tasks. Selecting an interface does not automatically change the acceptance criteria. If you need to extend the framework, read Architecture and Working Principles.