DVT SystemVerilog IDE User Guide
Rev. 24.2.25, 31 October 2024

33.4.1 Custom Dialog Snapshots File Syntax (XML)

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<dialog-snapshots last-snapshot="#LAST_RUNNED_SNAPSHOT#" version="1">

    <-- #COMMENT# -->

    <snapshot
        name="#SNAPSHOT_NAME_1#" >

        <element
            path="#ELEMENT_PATH_1#"
            value="#ELEMENT_VALUE_1"
        />

        ...

        <element
            path="#ELEMENT_PATH_N#"
            value="#ELEMENT_VALUE_N"
        />

    </snapshot>

    ...

    <snapshot
        name="#SNAPSHOT_NAME_N#"
        timestamp="true">
        <!-- A timestamped snapshot. Timestamped snapshots are maintained by DVT.-->
        <!-- Avoid defining timestamped snapshots! -->

        ...

    </snapshot>

</dialog-snapshots>

#LAST_RUNNED_SNAPSHOT#

  • Mandatory

  • Name of the last ran snapshot

#COMMENT#

  • Any valid XML comment (must not contain"-->")

#SNAPSHOT_NAME#

  • Mandatory

  • Uniquely identifies the snapshot

#ELEMENT_PATH#

  • Mandatory

  • Uniquely identifies a widget from the custom dialog

  • It is standard XML XPath that has the following structure:

    "/Composite/Composite[1]/Group[1]/Button[1]"

#ELEMENT_VALUE#

  • Mandatory

  • Value of the widget selected by #ELEMENT_PATH#