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

rdeReplay

rdeReplay(
t_fileName 
[ g_openCurrentDesign ]
[ s_doCheckPoint ]
) ;
=> t / nil

Description

This function reads the supplied file name and send each line one-at-a-time to the Tcl interpreter. This is in contrast to rdeSource, in which the entire Tcl file is read into the interpreter and then executed. It may be useful in determining which line of a script file had an error, in case an error occurs. Since each line is executed independently, it is not possible to create expressions (such as function definitions) that span more than one line.

Arguments

t_fileName

The name of the file to be executed.

s_openCurrentDesign

Allows you to load the current geWindow design in the Virtuoso Routing IDE environment. This argument can be set to t or nil. By default, the option is set to t. If this option is set to nil, then the current geWindow design will not be loaded.

s_doCheckPoint

Performs an automatic checkpoint of the design data unless this argument is supplied and set to ‘nil’. This argument can be set to t or nil. By default, it is set to t.

Value Returned

t

Returns t if the file is replayed.

nil

Returns nil if the file is not replayed.

Examples

The following example opens the current design, executes the command in test.tcl and does an automatic checkpoint.

rdeReplay("test.tcl")

Related Topics

Space-based Router Functions


Return to top
 ⠀
X