public class LogNetlistReader
extends Object
Modifier and Type | Field and Description |
---|---|
static boolean |
CHECK_UNISIM_DEFINITIONS |
Constructor and Description |
---|
LogNetlistReader() |
LogNetlistReader(StringEnumerator otherAllStrings) |
LogNetlistReader(StringEnumerator outsideAllStrings,
Map<String,String> libraryRename) |
Modifier and Type | Method and Description |
---|---|
EDIFNetlist |
readLogNetlist(LogicalNetlist.Netlist.Reader netlist,
boolean skipTopStuff)
Reads an Interchange netlist from Cap'n Proto reader.
|
EDIFNetlist |
readLogNetlist(LogicalNetlist.Netlist.Reader netlist,
boolean skipTopStuff,
boolean expandMacros)
Reads an Interchange netlist from Cap'n Proto reader.
|
EDIFNetlist |
readLogNetlist(LogicalNetlist.Netlist.Reader netlist,
boolean skipTopStuff,
boolean expandMacros,
CodePerfTracker t)
Reads an Interchange netlist from Cap'n Proto reader.
|
static EDIFNetlist |
readLogNetlist(String fileName)
Reads Cap'n Proto serialized netlist into a RapidWright netlist in memory, with macros expanded.
|
static EDIFNetlist |
readLogNetlist(String fileName,
boolean expandMacros)
Reads Cap'n Proto serialized netlist into a RapidWright netlist in memory, with macros expanded.
|
public LogNetlistReader()
public LogNetlistReader(StringEnumerator otherAllStrings)
public LogNetlistReader(StringEnumerator outsideAllStrings, Map<String,String> libraryRename)
public static EDIFNetlist readLogNetlist(String fileName) throws IOException
fileName
- Name of the serialized netlist fileIOException
public static EDIFNetlist readLogNetlist(String fileName, boolean expandMacros) throws IOException
fileName
- Name of the serialized netlist fileexpandMacros
- If true, expands the macros in the netlist before returning it to the caller.IOException
public EDIFNetlist readLogNetlist(LogicalNetlist.Netlist.Reader netlist, boolean skipTopStuff)
netlist
- The Cap'n Proto netlist readerskipTopStuff
- If true, skips netlist design objectpublic EDIFNetlist readLogNetlist(LogicalNetlist.Netlist.Reader netlist, boolean skipTopStuff, boolean expandMacros)
netlist
- The Cap'n Proto netlist readerskipTopStuff
- If true, skips netlist design objectexpandMacros
- If true, expands the macros in the netlist before returning it to the caller.public EDIFNetlist readLogNetlist(LogicalNetlist.Netlist.Reader netlist, boolean skipTopStuff, boolean expandMacros, CodePerfTracker t)
netlist
- The Cap'n Proto netlist readerskipTopStuff
- If true, skips netlist design objectexpandMacros
- If true, expands the macros in the netlist before returning it to the caller.t
- CodePerfTracker object.