sample_on_clock
Samples specified signals on each clock edge across a time range to produce a cycle-by-cycle value table, with pre/post-edge reads and resumable results.
Instructions
Cycle table: one row per clock edge in (start, end] with all signal values. sample="pre" reads one native tick before the edge, i.e. what flops capture; "post" reads the settled value at the edge. Continue from resume_from if truncated.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"clock": "<clock>",
"signals": "<signals>",
"start": "<start>",
"end": "<end>"
},
"name": "sample_on_clock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| edge | No | rising | |
| unit | No | ns | |
| clock | Yes | ||
| radix | No | Hex | |
| start | Yes | ||
| sample | No | pre | |
| signals | Yes | ||
| budget_ms | No | ||
| max_cycles | No |