Master Mode¶
Master is used to create, launch, and monitor multiple verification tasks. The browser panel is responsible for creating workspaces, uploading and compiling RTL, dispatching tasks, and viewing logs.
4.1 Starting Master¶
In the source code repository:
Without using the Makefile:
--as-master-persist must be used together with --as-master. The default Master address comes from the master_api configuration, typically http://127.0.0.1:8800; add --as-master-password <password> to protect the panel, and add --as-master-key <key> to restrict client registration.
4.2 Creating and Compiling Tasks¶
- Open the Master address in a browser and navigate to Launch.
- Create a workspace and upload RTL, README, or other requirement files.
- Mark one Main RTL (you may also provide a filelist) and mark the verification requirement file as Verification Needs.
- Select the top-level module and click Compile. Compilation is performed by the picker; syntax or parameter errors must be fixed based on the Compile Console.
Labels and page fields may vary by version; refer to the current page's required field prompts and command preview. A successful compilation only indicates that the DUT package was generated successfully; it does not imply that verification is complete.
4.3 Launching Sub-Agents¶
Select the following in Launch Settings:
- Config Path: Select
UT(toffee-ut:ut) for new unit verification. - Backend: Defaults to
launch.default_args.backend, currentlyopencode; you may also select configured backends such aslangchainorcodex. - Launch Mode: Defaults to
process; Docker, Docker Swarm, and Kubernetes are also supported (requiring the corresponding environments). - CLI Flags: Enable TUI, streaming output, or exit-after-completion as needed.
Fill in model-related environment variables in Environment Variables. See the Web Master User Guide for sub-Agent configuration details. After clicking Launch Task, Master starts the sub-Agent and waits for it to register via --master.
4.4 Monitoring and Review¶
- Dashboard: View Agent online status, progress, and offline tasks.
- Task: View launch commands, stdout/stderr, and task status; stop or delete managed tasks.
- Agent: View phases, files, and Diffs; batch switch between HM, Skip, LFail, and LPass.
- Web Terminal: Access the sub-Agent's terminal; whether it can run in parallel with the local terminal depends on the sub-Agent's launch parameters.
Review Checker results and the actual evidence under ut_project/ in the task workspace. Issue reports, waveforms, and coverage reports depend on the workflow, test results, and configuration.
For more page capabilities, agents, and access control, see the Web Master User Guide.
4.5 Docker Swarm Deployment¶
To run Master and child Agents in Docker Swarm, follow the Docker Swarm deployment guide to prepare a 2- or 3-node cluster, then run make swarm_master on a manager. The target starts Master Web, creates the overlay network, and sets docker_swarm as the Launch page's default mode. The deployment guide lists the image, Docker socket, network, and persistent-directory requirements.