waveform_zoom
Zoom the waveform viewer to a specific time range by setting start and end times for detailed signal inspection during simulation debugging.
Instructions
Set the waveform viewer time range (zoom to region).
Args: start_time: Start time (e.g. "0ns"). end_time: End time (e.g. "100ns").
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_time | Yes | ||
| end_time | Yes |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- src/xcelium_mcp/server.py:261-273 (handler)The `waveform_zoom` function is defined as an MCP tool handler in `src/xcelium_mcp/server.py`. It takes `start_time` and `end_time` arguments, executes the corresponding Xcelium command via the bridge, and returns the result.
@mcp.tool() async def waveform_zoom(start_time: str, end_time: str) -> str: """Set the waveform viewer time range (zoom to region). Args: start_time: Start time (e.g. "0ns"). end_time: End time (e.g. "100ns"). """ bridge = _get_bridge() result = await bridge.execute( f"waveform xview limits {start_time} {end_time}" ) return f"Waveform zoomed to {start_time} – {end_time}. {result}"