com.sun.electric.tool.io.input
Class EDIF

java.lang.Object
  extended by com.sun.electric.tool.io.input.Input
      extended by com.sun.electric.tool.io.input.EDIF

public class EDIF
extends Input

This class reads files in EDIF files.
Notes: I have tried EDIF files from CADENCE and VALID only. Does not fully support portbundles Multiple ports of the same name are named port_x (x is 1 to n duplicate) Keywords such as ARRAY have unnamed parameters, ie (array (name..) 5 6) this is handled in the processInteger function called by getKeyword, this is a hack to fix this problem, a real table driven parser should be used. Use circle arcs instead of splines. Support text justifications and text height Better NAME/RENAME/STRINGDISPLAY/ANNOTATE text handling. ANSI prototypes Changed arcs to simple polygons plus ARC attribute Can read NETLIST views


Field Summary
 
Fields inherited from class com.sun.electric.tool.io.input.Input
byteCount, dataInputStream, errorLogger, fileLength, filePath, inputStream, lineReader, READ_BUFFER_SIZE
 
Constructor Summary
EDIF()
           
 
Method Summary
protected  Library importALibrary(Library lib)
          Method to import a library from disk.
 
Methods inherited from class com.sun.electric.tool.io.input.Input
changesQuiet, closeInput, eofDuring, getAKeyword, getLine, getLineFromBinary, getProgressNote, getRestOfLine, importLibrary, importToCurrentLibrary, initKeywordParsing, isBreakCharacter, isChangeQuiet, isNewLibraryCreated, openBinaryInput, openStringsInput, openTextInput, preprocessLine, readWholeLine, setProgressNote, setProgressValue, startProgressDialog, stopProgressDialog, updateProgressDialog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EDIF

public EDIF()
Method Detail

importALibrary

protected Library importALibrary(Library lib)
Method to import a library from disk.

Overrides:
importALibrary in class Input
Parameters:
lib - the library to fill
Returns:
the created library (null on error).