Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

lntSaveTraces

lntSaveTraces(
w_windowID
l_traceID
libName
cellName
viewName
[ g_saveNeighbors ]
[ g_appendTraces ]
[ g_replaceSameNameTrace ]
[ ?oneViewPerTrace g_oneViewPerTrace ]
)
=> t / nil

Description

Saves the shapes of the specified traces that are displayed in the library cellview open in the specified window.

Arguments

w_windowID

ID of the window in which the source cellview is open. The traces to be saved are open in this window.

l_traceID

IDs of the traces belonging to the specified cellview that need to be saved.

Trace IDs belonging to windows other than the specified window are ignored, and a warning message is issued.

libName

Name of the target library to which the shapes of the traces will be saved.

The source and the target technology set up must be compatible for the traces to be saved.

cellName

Name of the target cell to which the shapes of the traces will be saved.

The source and the target technology set up must be compatible for the traces to be saved.

viewName

Name of the target view to which the shapes of the traces will be saved.

The source and the target technology set up must be compatible for the traces to be saved.

g_saveNeighbors

Saves the shapes of neighboring traces also.

The default is nil.

g_appendTraces

Opens the target cellview in append mode and adds the shapes of all the specified trace IDs to the cellview.

The default is nil.

g_replaceSameNameTrace

Deletes those trace shapes from the target cellview that have the same name and adds shapes corresponding to the specified traces. For this argument to take effect, the appendTraces argument must be set to t.

The default is nil.

?oneViewPerTrace g_oneViewPerTrace

Saves each visible trace in a design as a separate view.  

The default is nil.

Value Returned

t

The specified traces were saved.

nil

No traces were saved.

Examples

win = hiGetCurrentWindow()
    cv = geGetEditCellView()
    traceIds1 = list(1 2)
    traceIds2 = list(3 4 5)
    traceIds3 = list(2 1 5 6)
    lntSaveTraces(w traceIds1 cv->libName  cv->cellName "trace1")
    lntSaveTraces(w traceIds2 cv->libName  cv->cellName "trace2" t)
    lntSaveTraces(w traceIds3 cv->libName  cv->cellName "trace3" nil t)
    lntSaveTraces(w traceIds3 cv->libName  cv->cellName "trace1" nil t)
    lntSaveTraces(w traceIds3 cv->libName  cv->cellName "trace1" nil t  t)
    lntSaveTraces(w traceIds3 cv->libName  cv->cellName "allTraces" nil t t ?oneViewPerTrace t)

Related Topics

Tracing Nets

Save Traced Nets View Form


Return to top
 ⠀
X