All nodes in Electric have connection sites, called ports, which indicate where wires may be attached. The primitive nodes have predefined ports, but ports on cell instances must be defined by the user. To do this, simply select a port on a node inside the cell, and turn it into an export, which makes it available on all instances of the current cell. Although most ports are on nodes along the edge of the cell, Electric makes no port location restrictions, so they may appear anywhere.
To see the location of all ports on the selected nodes, use the Show Ports on Node command (in menu Export).
To create an export, select a port on a node and use the Create Export... command (in menu Export). The resulting dialog requests an export name and some characteristics. | ![]() |
All export names on a cell must be unique; if a nonunique name is given, it is modified to be unique. This modification involves adding "_1", "_2", etc. to the end of scalar export names, or changing the index (from [1] to [2], etc.) for indexed export names. Like cell names, export names may not contain spaces, tabs, or unprintable characters. Although no case distinction is made between uppercase and lowercase characters, the original case usage is preserved.
Behavioral characteristics can be associated with an export by selecting the appropriate field in the export creation dialog. These behavior characteristics are stored with the export and used primarily by simulators. The characteristics include the following:
The "Always drawn" check box requests that the export label should always appear, regardless of the connection or expansion of its cell. Typically, an export label on an instance of a cell is not displayed when that port is connected to an arc or when the instance is expanded. This check box overrides the suppression.
Another special check box, "Body only," requests that this export not appear when an icon is generated for the cell. This is useful for power and ground exports or duplicate connection sites on a single network.
There are three special exporting commands that are primarily used in array-based layout. If a cell instance is replicated many times and the instances are wired together, then ports on the edge of the array are the only ones that are not wired. These ports define the connections for the next level of hierarchy. What you want to do is to create exports for all unwired ports on all cell instances. To do this, use the Re-Export Everything command (in menu Export), which generates unique names as it exports all unwired ports on cell instances. To do this same function, but only on the currently highlighted nodes, use Re-Export Highlighted Area. To do this same function, but only for Power and Ground exports, use Re-Export Power and Ground. Note that ports on primitive nodes are not exported with these commands. See Section 6-4 for more about arrays, and see Section 9-5-1 for more on automatic wiring.