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
Method Summary |
Cell |
createCellsOnly(VerilogData verilogData,
Job job)
|
protected Library |
importALibrary(Library lib,
Technology tech,
java.util.Map<Library,Cell> currentCells)
Method to import a Verilog file from disk. |
VerilogData |
parseVerilog(java.lang.String[] lines,
java.lang.String verilogName)
|
VerilogData |
parseVerilog(java.lang.String file,
boolean simplifyWires)
Function to parse Verilog file without creating Electric objects. |
Cell |
readVerilog(java.lang.String testName,
java.lang.String file,
boolean createCells,
boolean fullOyster,
Job job)
|
VerilogData |
readVerilogOnly(java.lang.String file,
boolean fullOyster,
Job job)
|
Methods inherited from class com.sun.electric.tool.io.input.Input |
changesQuiet, closeInput, eofDuring, getAKeyword, getInputPreferences, getLine, getLineFromBinary, getProgressNote, getRestOfLine, importLibrary, 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(VerilogReader.VerilogPreferences ap)
- Creates a new instance of VerilogReader.
importALibrary
protected Library importALibrary(Library lib,
Technology tech,
java.util.Map<Library,Cell> currentCells)
- Method to import a Verilog file from disk.
- Overrides:
importALibrary
in class Input
- Parameters:
lib
- the library to readycurrentCells
- this map will be filled with currentCells in Libraries found in library file
- 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)