The third argument is a string, consisting of characters from the table below, which set the mode of the command. These are analogous to the check boxes that appear with the Dump Phys Netlist command. If a character does not appear in the string, that option is turned off. If it appears in lower case, the option is turned on, and if it appears in upper case, the option will be set by the present value of the corresponding !set variable. The characters can appear in any order.
character | option | corresponding variable |
n | net | NoPnet |
d | devs | NoPnetDevs |
s | spice | NoPnetSpice |
b | list bottom-up | PnetBottomUp |
g | show geometry | PnetShowGeometry |
c | include wire cap | PnetIncludeWireCap |
a | list all cells | PnetListAll |
The final argument, if not null or empty, contains a space-separated list of physical format names, each of which must match a PnetFormat name in the format library file, or option names from the table above. The names that contain white space should be double-quoted.
For each cell, a field in the output is generated for each format choice implicit in the modestring or given in the names. In most cases, only one format is probably wanted. The option text in the table above can also be included in the names, which is equivalent to giving the corresponding lower-case letter in the modestring. The modestring setting will have precedence if there is a conflict. If both the modestring and the names string are empty or null, an effective mode string consisting of all of the upper-case option letters is used.
Example: print a SPICE file
DumpPhysNetlist("myfile.cir", "a", "s", 0)
or
DumpPhysNetlist("myfile.cir", "a", 0, "spice")
If the function succeeds, 1 is returned, otherwise 0 is returned.
The third argument is a string, consisting of characters from the table below, which set the mode of the command. These are analogous to the check boxes that appear with the Dump Elec Netlist command. If a character does not appear in the string, that option is turned off. If it appears in lower case, the option is turned on, and if it appears in upper case, the option will be set by the present value of the corresponding !set variable. The characters can appear in any order.
character | option | corresponding variable |
n | net | NoEnet |
s | spice | EnetSpice |
b | list bottom-up | EnetBottomUp |
The final argument, if not null or empty, contains a space-separated list of electrical format names, each of which must match an EnetFormat name in the format library file, or option names from the table above. The names that contain white space should be double quoted.
For each cell, a field in the output is generated for each format choice implicit in the modestring or given in the names. In most cases, only one format is probably wanted. The option text in the table above can also be included in the names, which is equivalent to giving the corresponding lower-case letter in the modestring. The modestring setting will have precedence if there is a conflict. If both the modestring and the names string are empty or null, an effective mode string consisting of all of the upper-case option letters is used.
If the function succeeds, 1 is returned, otherwise 0 is returned.
The final argument is a string, consisting of characters from the table below, which set the mode of the command. These are analogous to the check boxes that appear with the Source SPICE command. If a character does not appear in the string, that option is turned off. If it appears in lower case, the option is turned on, and if it appears in upper case, the option will be set by the present value of the corresponding !set variable. The characters can appear in any order. If the string is empty or null, all options will be set by the corresponding variables.
character | option | corresponding variable |
a | all devs | SourceAllDevs |
r | create | SourceCreate |
l | clear | SourceClear |
If the operation succeeds, 1 is returned, otherwise 0 is returned.
The final argument is a string, consisting of characters from the table below, which set the mode of the command. These are analogous to the check boxes that appear with the Source Physical command. If a character does not appear in the string, that option is turned off. If it appears in lower case, the option is turned on, and if it appears in upper case, the option will be set by the present value of the corresponding !set variable. The characters can appear in any order. If the string is empty or null, all options will be set by the corresponding variables.
character | option | corresponding variable |
a | all devs | NoExsetAllDevs |
r | create | NoExsetCreate |
l | clear | ExsetClear |
c | include wire cap | ExsetIncludeWireCap |
If the operation succeeds, 1 is returned, otherwise 0 is returned. This function does not redraw the windows.
The return value is a handle to a list of object copies, or 0 if no objects are found.
The third argument is a boolean which if nonzero indicates inductance estimation, and zero indicates resistance estimation.
The fourth argument is an array which will hold the return values, which will be resized if necessary. The zeroth component of the array gives the number of returned values, which are returned in the rest of the array. If there are two terminals, the number of returned values is 1. For more than two terminals, the number of returned values is n*(n-1)/2, where n is the number of terminals. The values are the effective two-terminal decomposition for terminals i,j (i != j) in the order, e.g., for n = 4; 01, 02, 03, 12, 13, 23.
The following arguments are trapezoid lists representing the terminals. Arguments that are not trapezoid lists will be ignored. There must be at least two terminals passed. Terminal areas should be spatially disjoint, and in the computation, the terminal areas are clipped by the conductor area. Terminals are assigned numbers in left-to-right order.
The algorithm is most efficient if all coordinates are on some grid. This provide for efficient tiling of the structure.
Structures that require a very large number of tiles may require excessive time and memory to compute, and/or suffer from a loss of accuracy. The approximate threshold is 105 tiling squares. Non-Manhattan shapes have strict internal limiting of tile count. Manhattan structures can require an arbitrarily large number of tiles, thus the potential for resource overuse.
The return value is always 1. The function will fail (terminating the script) if an error is encountered.
The first two arguments are a coordinate point that is expected to fall on a wire net (similar to the FindPath function). The net is recognized using the Quick Paths algorithm. Invisible layers are not included.
The third argument is a string giving a file name, which will contain a generated SPICE listing representing the extracted resistor network. In the SPICE file, each terminal and each via are assigned node numbers. A comment indicates the range of numbers used for terminals. If this argument is 0 (NULL) or an empty string, no SPICE file is written.
The fourth argument is an array which will hold the return values, which will be resized if necessary. The zeroth component of the array gives the number of returned values, which are returned in the rest of the array. If there are two terminals, the number of returned values is 1. For more than two terminals, the number of returned values is n*(n-1)/2, where n is the number of terminals. The values are the effective two-terminal decomposition for terminals i,j (i != j) in the order, e.g., for n = 4; 01, 02, 03, 12, 13, 23.
The following arguments are trapezoid lists representing the terminals. Arguments that are not trapezoid lists will be ignored. There must be at least two terminals passed. Terminal areas should be spatially disjoint, and in the computation, the terminal areas are clipped by the conductor area. Terminals are assigned numbers in left-to-right order.
The return value is always 1. The function will fail (terminating the script) if an error is encountered.