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

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

public class SpiceParasitic
extends SpiceParasiticsGeneral

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


Field Summary
 
Fields inherited from class com.sun.electric.tool.io.output.SpiceParasiticsGeneral
ATTR_C, ATTR_R, curSegmentedNets, segmentedParasiticInfo
 
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 writeNewSpiceCode(Cell cell, Topology.CellNetInfo cni, Technology layoutTechnology, Spice out)
          Method to print the netlist considering the metal lines as distribute RC(transmission lines)
 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.

Overrides:
initializeSegments in class SpiceParasiticsGeneral
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.

Overrides:
writeSubcircuitHeader in class SpiceParasiticsGeneral
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).

Overrides:
getParasiticName in class SpiceParasiticsGeneral
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.

Overrides:
getSegmentedNets in class SpiceParasiticsGeneral
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.

Overrides:
backAnnotate in class SpiceParasiticsGeneral

writeNewSpiceCode

public void writeNewSpiceCode(Cell cell,
                              Topology.CellNetInfo cni,
                              Technology layoutTechnology,
                              Spice out)
Method to print the netlist considering the metal lines as distribute RC(transmission lines)

Overrides:
writeNewSpiceCode in class SpiceParasiticsGeneral