com.sun.electric.tool.drc
Class CalibreDrcErrors

java.lang.Object
  extended by com.sun.electric.tool.drc.CalibreDrcErrors

public class CalibreDrcErrors
extends java.lang.Object

This reads an ASCII Calibre DRC error database produced by running Calibre DRC. It shows these errors on the specified cells in Electric.


Method Summary
static Cell getCell(java.lang.String cellName, java.util.Map<Cell,java.lang.String> mangledNames)
           
static int importErrors(java.lang.String filename, java.util.Map<Cell,java.lang.String> mangledNames, java.lang.String type, boolean noPopupMessages)
          Create a new CalibreDrcError class, read the errors in, and then convert them to the ErrorLogger.
static void readDensityErrors(Cell cell, java.io.File drcDirectory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

importErrors

public static int importErrors(java.lang.String filename,
                               java.util.Map<Cell,java.lang.String> mangledNames,
                               java.lang.String type,
                               boolean noPopupMessages)
Create a new CalibreDrcError class, read the errors in, and then convert them to the ErrorLogger.

Parameters:
filename - the ASCII calibre drc results database file
Returns:
number of erros. Negative number in case of valid data.

getCell

public static Cell getCell(java.lang.String cellName,
                           java.util.Map<Cell,java.lang.String> mangledNames)

readDensityErrors

public static void readDensityErrors(Cell cell,
                                     java.io.File drcDirectory)