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)
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.
|
public static final String DEVICE_PRIMITIVES_LIB
public static final String DEVICE_MACROS_LIB
public static void writeLogNetlist(EDIFNetlist n, String fileName) throws IOException
n
- RapidWright netlistfileName
- Name of the file to writecollapseMacros
- If true, will attempt to collapse macros in netlist before writing.IOException
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)
n
- The EDIF Netlist to serializenetlist
- The current builder object to receive the EDIF Netlist