public final class ExportChanges
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ExportChanges.ChangeExportBodyOnly
Class to change the body-only flag of an export in a new thread.
|
static class |
ExportChanges.ChangeExportCharacteristic
Class to change the characteristic of an export in a new thread.
|
static class |
ExportChanges.ExportsByNumber
Comparator class for sorting Export by their name with number considered.
|
static class |
ExportChanges.ExportSortedByBusIndex |
static class |
ExportChanges.FollowExport
Class to follow the current export up the hierarchy.
|
static class |
ExportChanges.ReExportPorts
Helper class for re-exporting a port on a node.
|
static class |
ExportChanges.RenameExport
Class to rename an export in a new thread.
|
static class |
ExportChanges.RenumberNumericExports
Class to rename a list of Exports with numeric suffixes in a new thread.
|
Constructor and Description |
---|
ExportChanges() |
Modifier and Type | Method and Description |
---|---|
static void |
deleteExport()
Method to delete the currently selected exports.
|
static void |
deleteExports(Cell cell,
java.util.List<Export> exportsToDelete) |
static void |
deleteExportsInArea()
Method to delete all exports in the highlighted area.
|
static void |
deleteExportsOnSelected()
Method to delete all exports on the highlighted objects.
|
static void |
describeExports(boolean summarize)
EXPORT LISTING
|
static PortInst |
getNewPortFromReferenceExport(NodeInst newNi,
Export referenceExport)
This returns the port instance on newNi that corresponds to the portinst that has been exported
as 'referenceExport' on some other nodeinst of the same node prototype.
|
static void |
moveExport()
Method to move the currently selected export from one node to another.
|
static void |
reExportAll()
Method to re-export all unwired/unexported ports on cell instances in the current Cell.
|
static void |
reExportHighlighted(boolean deep,
boolean wiredPorts,
boolean unwiredPorts)
Method to re-export all unwired/unexported ports on cell instances in the current Cell.
|
static int |
reExportNodes(Cell cell,
java.util.List<Geometric> nodeInsts,
boolean wiredPorts,
boolean unwiredPorts,
boolean onlyPowerGround,
boolean ignorePrimitives,
boolean fromRight,
EditingPreferences ep)
Re-exports ports on each NodeInst in the list, in the order the nodeinsts appear
in the list.
|
static int |
reExportPorts(Cell cell,
java.util.List<PortInst> portInsts,
boolean sort,
boolean wiredPorts,
boolean unwiredPorts,
boolean onlyPowerGround,
boolean fromRight,
java.util.Map<PortInst,Export> originalExports,
EditingPreferences ep)
Re-exports the PortInsts in the list.
|
static void |
reExportPowerAndGround()
Method to re-export all unwired/unexported ports on cell instances in the current Cell.
|
static void |
reExportSelected(boolean wiredPorts,
boolean unwiredPorts)
Method to re-export everything that is selected.
|
static void |
reExportSelectedPort()
Method to reexport the selected port on other nodes in the cell.
|
static void |
renameExport()
Method to rename the currently selected export.
|
static void |
replaceFromOtherLibrary()
Method to replace all cell instances in the current cell with like-named
ones from another library.
|
static void |
showExports(java.util.List<Export> exports)
Method to show all exports in the current cell.
|
static void |
showPorts(java.util.List<PortInst> ports)
Method to show all ports on the selected nodes in the current cell.
|
static void |
synchronizeLibrary()
Method to synchronize the exports in two libraries.
|
public static void describeExports(boolean summarize)
public static void reExportAll()
public static void reExportSelected(boolean wiredPorts, boolean unwiredPorts)
wiredPorts
- true to re-export ports that are wired.unwiredPorts
- true to re-export ports that are unwired.public static void reExportSelectedPort()
public static void reExportPowerAndGround()
public static int reExportNodes(Cell cell, java.util.List<Geometric> nodeInsts, boolean wiredPorts, boolean unwiredPorts, boolean onlyPowerGround, boolean ignorePrimitives, boolean fromRight, EditingPreferences ep)
cell
- the cell in which exporting is happening.nodeInsts
- a list of NodeInsts whose ports will be exportedwiredPorts
- true to include ports that have wire connectionsunwiredPorts
- true to include ports that do not have wire connectionsonlyPowerGround
- true to only export power and ground type portsignorePrimitives
- true to ignore primitive nodesfromRight
- true to increment the rightmost index of multidimensional arrays.ep
- EditingPreferencespublic static void reExportHighlighted(boolean deep, boolean wiredPorts, boolean unwiredPorts)
deep
- true to reexport hierarchically to the bottom.wiredPorts
- true to reexport ports that are wired.unwiredPorts
- true to reexport ports that are not wired.public static int reExportPorts(Cell cell, java.util.List<PortInst> portInsts, boolean sort, boolean wiredPorts, boolean unwiredPorts, boolean onlyPowerGround, boolean fromRight, java.util.Map<PortInst,Export> originalExports, EditingPreferences ep)
cell
- the cell in which exporting is happening.portInsts
- the list of PortInsts to exportsort
- true to re-sort the portInsts listwiredPorts
- true to export ports that are already wiredunwiredPorts
- true to export ports that are not already wiredonlyPowerGround
- true to only export ports that are power and groundfromRight
- true to increment the rightmost index of multidimensional arrays.originalExports
- a map from the entries in portInsts to original Exports.
This is used when re-exporting ports on a copy that were exported on the original.
Ignored if null.ep
- EditingPreferencespublic static PortInst getNewPortFromReferenceExport(NodeInst newNi, Export referenceExport)
newNi
- the new node instance on which the port instance will be foundreferenceExport
- the export on the old node instancepublic static void deleteExport()
public static void deleteExportsOnSelected()
public static void deleteExportsInArea()
public static void moveExport()
public static void renameExport()
public static void showExports(java.util.List<Export> exports)
exports
- the List of Exports to show (null to show all).public static void showPorts(java.util.List<PortInst> ports)
public static void synchronizeLibrary()
public static void replaceFromOtherLibrary()