public class LogNetlistWriter
extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEVICE_MACROS_LIB |
static String |
DEVICE_PRIMITIVES_LIB |
Modifier and Type | Method and Description |
---|---|
void |
populateNetlistBuilder(EDIFNetlist n,
LogicalNetlist.Netlist.Builder netlist,
CodePerfTracker t)
Helper method to populate the logical netlist object with an existing
builder.
|
static void |
writeLogNetlist(EDIFNetlist n,
String fileName)
Writes a RapidWright netlist to a Cap'n Proto serialized file.
|
static void |
writeLogNetlist(EDIFNetlist n,
String fileName,
boolean collapseMacros)
Writes a RapidWright netlist to a Cap'n Proto serialized file.
|
static void |
writeStrings(LogicalNetlist.Netlist.Builder netlist,
List<String> strings)
Writes list of String objects to the Cap'n Proto message netlist
|
public static final String DEVICE_PRIMITIVES_LIB
public static final String DEVICE_MACROS_LIB
public static void writeStrings(LogicalNetlist.Netlist.Builder netlist, List<String> strings)
netlist
- The netlist builder.strings
- List of String objects to be written.public static void writeLogNetlist(EDIFNetlist n, String fileName) throws IOException
n
- RapidWright netlistfileName
- Name of the file to writeIOException
public static void writeLogNetlist(EDIFNetlist n, String fileName, boolean collapseMacros) throws IOException
n
- RapidWright netlistfileName
- Name of the file to writecollapseMacros
- If true, will attempt to collapse macros in netlist before writing.IOException
public void populateNetlistBuilder(EDIFNetlist n, LogicalNetlist.Netlist.Builder netlist, CodePerfTracker t)
n
- The EDIF Netlist to serializenetlist
- The current builder object to receive the EDIF Netlist