Skip to main content
Glama

deposit_value

Force-deposit specific values onto signals during Xcelium simulations to control signal states for debugging and testing purposes.

Instructions

Force-deposit a value onto a signal.

Args: signal: Full hierarchical signal path. value: Value to deposit (e.g. "1'b1", "8'hFF", "0").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
signalYes
valueYes

Implementation Reference

  • The handler implementation for the 'deposit_value' tool. It uses the TclBridge to execute a 'deposit' command on the simulator and verifies the result by reading the signal value back.
    @mcp.tool()
    async def deposit_value(signal: str, value: str) -> str:
        """Force-deposit a value onto a signal.
    
        Args:
            signal: Full hierarchical signal path.
            value: Value to deposit (e.g. "1'b1", "8'hFF", "0").
        """
        bridge = _get_bridge()
        await bridge.execute(f"deposit {signal} {value}")
        # Verify
        readback = await bridge.execute(f"value {signal}")
        return f"Deposited {value} on {signal}. Readback: {readback}"

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