com.sun.electric.tool.io.input.verilog
Class VerilogReader
java.lang.Object
com.sun.electric.tool.io.input.Input
com.sun.electric.tool.io.input.verilog.VerilogReader
public class VerilogReader
- extends Input
User: gg151869
Date: Oct 23, 2006
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 |
VerilogReader
public VerilogReader()
importALibrary
protected Library importALibrary(Library lib)
- Method to import a Verilog file from disk.
- Overrides:
importALibrary
in class Input
- Parameters:
lib
- the library to ready
- Returns:
- the created library (null on error).
parseVerilog
public VerilogData parseVerilog(java.lang.String[] lines,
java.lang.String verilogName)
parseVerilog
public VerilogData parseVerilog(java.lang.String file,
boolean simplifyWires)
- Function to parse Verilog file without creating Electric objects.
- Parameters:
file
- simplifyWires
-
- Returns:
- VerilogData object
createCellsOnly
public Cell createCellsOnly(VerilogData verilogData,
Job job)
readVerilogOnly
public VerilogData readVerilogOnly(java.lang.String file,
boolean fullOyster,
Job job)
readVerilog
public Cell readVerilog(java.lang.String testName,
java.lang.String file,
boolean createCells,
boolean fullOyster,
Job job)