public class VerilogReader extends Input
Modifier and Type | Class and Description |
---|---|
static class |
VerilogReader.VerilogPreferences |
Input.InputPreferences
byteCount, dataInputStream, ep, errorLogger, fileLength, filePath, inputStream, lineReader, READ_BUFFER_SIZE
Constructor and Description |
---|
VerilogReader(VerilogReader.VerilogPreferences ap)
Creates a new instance of VerilogReader.
|
Modifier and Type | Method and Description |
---|---|
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) |
changesQuiet, closeInput, eofDuring, getAKeyword, getInputPreferences, getLine, getLineFromBinary, getProgressNote, getRestOfLine, importLibrary, initKeywordParsing, isBreakCharacter, isChangeQuiet, isNewLibraryCreated, openBinaryInput, openStringsInput, openTextInput, preprocessLine, readWholeLine, setProgressNote, setProgressValue, startProgressDialog, stopProgressDialog, updateProgressDialog
public VerilogReader(VerilogReader.VerilogPreferences ap)
protected Library importALibrary(Library lib, Technology tech, java.util.Map<Library,Cell> currentCells)
importALibrary
in class Input
lib
- the library to readycurrentCells
- this map will be filled with currentCells in Libraries found in library filepublic VerilogData parseVerilog(java.lang.String[] lines, java.lang.String verilogName)
public VerilogData parseVerilog(java.lang.String file, boolean simplifyWires)
file
- simplifyWires
- public Cell createCellsOnly(VerilogData verilogData, Job job)
public VerilogData readVerilogOnly(java.lang.String file, boolean fullOyster, Job job)