com.sun.electric.tool.ncc
Class NccBottomUp

java.lang.Object
  extended by com.sun.electric.tool.ncc.NccBottomUp

public class NccBottomUp
extends java.lang.Object

Run NCC hierarchically. By default, treat every Cell with both a layout and a schematic view as a hierarchical entity. More specifically, when we are asked to compare a schematic and a layout, we scan both hierarchies to identify cell groups that have one or more cells in the schematic hierarchy AND one or more cells in the schematic hierarchy.


Constructor Summary
NccBottomUp()
           
 
Method Summary
static NccResults compare(CellContext cc1, CellContext cc2, PassedNcc passed, NccOptions options, Aborter aborter)
          Compare the two designs: cc1 and cc2.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NccBottomUp

public NccBottomUp()
Method Detail

compare

public static NccResults compare(CellContext cc1,
                                 CellContext cc2,
                                 PassedNcc passed,
                                 NccOptions options,
                                 Aborter aborter)
Compare the two designs: cc1 and cc2. Typically, cc1 is the schematic and cc2 is the layout. Note that NCC needs the VarContext in order to evaluate variables such as transistor widths.

Parameters:
cc1 - the root Cell and VarContext of the first design.
cc2 - the root Cell and VarContext of the second design.
passed - an object that remembers which Cell pairs passed NCC the last time the designer ran NCC.
options - all of the NCC options specified by the designer
aborter - an object that NCC queries to tell whether the designer wants to abort the NCC mid run.
Returns:
an object that describes all the mismatches that NCC found