vcc_scan_signal
Scan a signal across a time range and optionally search for a specific value. Returns sampled values as a Tcl list.
Instructions
Scan a signal across a time range; optionally search for a specific value.
Returns all sampled values across the range as a Tcl list. If find_value is given, also reports whether the signal ever held that value (handles both plain "3" and annotated forms like "4'd3"). When find_value is given and no time range is specified, the scan starts from time 0 to cover the full simulation.
signal: dot-separated hierarchical path with "sim." prefix e.g. sim.testbench.u1.my_signal find_value: value to search for e.g. "6" (optional) from_time: range start e.g. "0 ns" (defaults to "0" when find_value given) to_time: range end e.g. "1 us" (omit to scan to simulation end) radix: decimal (default), binary, hexadecimal, unsigned, octal
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signal | Yes | ||
| find_value | No | ||
| from_time | No | ||
| to_time | No | ||
| radix | No | decimal |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||