Skip to main content
Glama

cursor_set

Position a waveform cursor at a specified simulation time to analyze signal behavior during debugging sessions.

Instructions

Set a waveform cursor to a specific time.

Args: time: Simulation time (e.g. "50ns"). cursor_name: Cursor name (default "TimeA").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
timeYes
cursor_nameNoTimeA

Implementation Reference

  • The 'cursor_set' tool handler is implemented in 'server.py' as an async function decorated with '@mcp.tool()'. It uses the '_get_bridge' helper to communicate with SimVision via a Tcl command.
    @mcp.tool()
    async def cursor_set(time: str, cursor_name: str = "TimeA") -> str:
        """Set a waveform cursor to a specific time.
    
        Args:
            time: Simulation time (e.g. "50ns").
            cursor_name: Cursor name (default "TimeA").
        """
        bridge = _get_bridge()
        result = await bridge.execute(
            f"cursor set -using {cursor_name} -time {time}"
        )
        return f"Cursor {cursor_name} set to {time}. {result}"

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hslee-cmyk/xcelium-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server