sim_stop
Stop a running simulation in the Xcelium MCP Server to manage simulation state during RTL or gate-level debugging.
Instructions
Stop a running simulation.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- src/xcelium_mcp/server.py:95-104 (handler)Tool registration and implementation of 'sim_stop', which sends a 'stop' command to the simulator bridge and retrieves the current position.
@mcp.tool() async def sim_stop() -> str: """Stop a running simulation.""" bridge = _get_bridge() await bridge.execute("stop") try: where = await bridge.execute("where") except (TclError, asyncio.TimeoutError, ConnectionError): where = "(position unknown)" return f"Simulation stopped at: {where}"