com.sun.electric.tool.io.output
Class SpiceRCSimple

java.lang.Object
  extended by com.sun.electric.tool.io.output.SpiceRCSimple

public class SpiceRCSimple
extends java.lang.Object

This is the simple-RC parasitics extractor for the Spice netlist writer.


Method Summary
 void backAnnotate()
          Method called at the end of netlist writing to deal with back-annotation.
 void getParasiticName(Nodable no, Network subNet, com.sun.electric.tool.io.output.SpiceSegmentedNets subSegmentedNets, java.lang.StringBuffer infstr)
          Method to emit the name of a signal on an instance call (the "X" statement).
 com.sun.electric.tool.io.output.SpiceSegmentedNets getSegmentedNets(Cell cell)
          Method to find the SpiceSegmentedNets object that corresponds to a given Cell.
 com.sun.electric.tool.io.output.SpiceSegmentedNets initializeSegments(Cell cell, Topology.CellNetInfo cni, Technology layoutTechnology, com.sun.electric.tool.io.output.SpiceExemptedNets exemptedNets, Topology.MyCellInfo info)
          Method to initialize cell being analyzed for RC parasitics.
 void writeSubcircuitHeader(Topology.CellSignal cs, java.lang.StringBuffer infstr)
          Method to emit the proper subcircuit header for a signal.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

initializeSegments

public com.sun.electric.tool.io.output.SpiceSegmentedNets initializeSegments(Cell cell,
                                                                             Topology.CellNetInfo cni,
                                                                             Technology layoutTechnology,
                                                                             com.sun.electric.tool.io.output.SpiceExemptedNets exemptedNets,
                                                                             Topology.MyCellInfo info)
Method to initialize cell being analyzed for RC parasitics.

Parameters:
cell - the Cell being analyzed.
cni - hierarchical traversal information for the Cell, including netlists and other connectivity data.
layoutTechnology - the Technology to use for the Cell (may be different from the Cell's actual Technology if the Cell is a schematic...this is the layout technology to use instead).
exemptedNets - as set of networks that should be exempted from the analysis
info - data from the hierarchy traverser that gives global network information.
Returns:
a SpiceSegmentedNets object for the Cell.

writeSubcircuitHeader

public void writeSubcircuitHeader(Topology.CellSignal cs,
                                  java.lang.StringBuffer infstr)
Method to emit the proper subcircuit header for a signal.

Parameters:
cs - the signal to emit
infstr - the string buffer to fill with the emitted signal information.

getParasiticName

public void getParasiticName(Nodable no,
                             Network subNet,
                             com.sun.electric.tool.io.output.SpiceSegmentedNets subSegmentedNets,
                             java.lang.StringBuffer infstr)
Method to emit the name of a signal on an instance call (the "X" statement).

Parameters:
no - the Nodable for the cell instance being examined.
subNet - the Network in the cell attached to that Nodable.
subSegmentedNets - the SpiceSegmentedNets object for the Nodable's Cell.
infstr - the string buffer in which to emit the name(s).

getSegmentedNets

public com.sun.electric.tool.io.output.SpiceSegmentedNets getSegmentedNets(Cell cell)
Method to find the SpiceSegmentedNets object that corresponds to a given Cell.

Parameters:
cell - the Cell to find.
Returns:
the SpiceSegmentedNets object associated with that cell (null if none found).

backAnnotate

public void backAnnotate()
Method called at the end of netlist writing to deal with back-annotation.