Netlist Function

Generates a netlist for a schematic. The netlist function also assigns names to schematic nets. If the schematic contains hierarchical blocks, their underlying schematics will also be netlisted and included in the main netlist as subcircuits.

This function performs the same task as the Netlist command, but also returns status and (optionally) diagnostic information.

Arguments

Number Type Compulsory Default Description
1 String No Temporary file created in user's temporary folder Netlist output path
2 String array No Options
3 real No -1 Schematic ID

Argument 1

Netlist output path

Argument 2

Array of option settings. Boolean options are in the form "name"; these are true if present false if not String options with a value are in the form: "name=value"

numbered Boolean If true, a SPICE 2 compatible netlist using node numbers is created
subckt String circuit is netlisted as subcircuit. In this case the netlist is enclosed with a .subckt control at the beginning and a .ends control at the end. Subckt terminals will be added for each module port symbol in the schematic
nopinnames Boolean The pinnames specifier is not output for X devices. The pinnames specifier is proprietary to SIMetrix and is not supported by other simulators. Use this option if you are creating the netlist for another purpose e.g. to input to an LVS program
noOutput Boolean no netlist output is generated. The net names attached to wires are updated
templates String Property names to be used as templates. A template is a string that specifies a format to be used for the netlist line for the device that owns it. By default the template property name is "TEMPLATE". This can be overridden with this option. Multiple template property names may be specified by separating them with a pipe symbol ('|'). See the description of the template property in User's Manual/Schematic Editor/Template Property .
sep String May be a single character or "none". Default is "$". To comply with SPICE syntax each device line starts with a letter that identifies the type of device. Usually this letter is determined by the MODEL property. If the component reference of the device does not begin with the correct letter it is prefixed with the correct letter followed by the character specified by this option.
diag String a diagnostic report will be produced. This details: Implicit node connections (using terminal symbol). Bus name translations. These occur if two buses with different names are connected. Dangling wires, unused device pins, inactive devices (no REF propery) and shorted evices If the diag option is set to partial, only dangling wires and pins are reported.
wireTemplate String Format for bus wires. wire_template may contain the keywords %BUSNAME% and %WIRENUM%. These resolve to the bus name and wire number respectively. So a spec set to %BUSNAME%#%WIRENUM% would give the default, i.e. bus names like BUS1#2. A spec of %busname%[%wirenum%] would give bus names like BUS1[2]. \\
dotEnd Boolean Forces .END to be placed at the end of the netlist
noDescend Boolean Netlister does not descend into hierarchy and processes items at the top level only
f11Top Boolean The contents of the F11 window are placed before the netlist lines generated by the schematic. Otherwise they are placed after the schematic netlist lines
nodemap Boolean Generates SIMPLIS .NODE_MAP statements for user named nets
sort Boolean If specified, the netlist lines will be output in alphanumeric sorted order.
inhibitTemplateScripts Boolean Inhibits execution of template scripts

Argument 3

Schematic ID as returned by OpenSchematic . This makes it possible to apply this function to any schematic and not just the one that is currently displayed. See OpenSchematic for more details.

Returns