public class PhysNetlistWriter
extends Object
Modifier and Type | Field and Description |
---|---|
static boolean |
BUILD_ROUTING_GRAPH_ON_EXPORT
By default, routing for physical nets will be written as a list of (connected)
trees of routing resources.
|
static boolean |
VERBOSE_PHYSICAL_NET_ROUTING
The Interchange format allows for all physical routing resources to be
specified, e.g.
|
Constructor and Description |
---|
PhysNetlistWriter() |
Modifier and Type | Method and Description |
---|---|
static void |
extractIntraSiteRouting(Net net,
List<RouteBranchNode> nodes,
SiteInst siteInst) |
static void |
writePhysNetlist(Design design,
String fileName) |
static void |
writePlacement(PhysicalNetlist.PhysNetlist.Builder physNetlist,
Design design,
StringEnumerator strings,
Collection<SiteInst> siteInsts) |
static void |
writeRouteBranch(PhysicalNetlist.PhysNetlist.RouteBranch.Builder srcBuilder,
RouteBranchNode src,
StringEnumerator strings) |
static void |
writeStrings(PhysicalNetlist.PhysNetlist.Builder physNetlist,
List<String> strings)
Writes list of String objects to the Cap'n Proto message physical netlist
|
public static boolean BUILD_ROUTING_GRAPH_ON_EXPORT
public static boolean VERBOSE_PHYSICAL_NET_ROUTING
... -> PIP -> SitePin -> BELPin(output) -> BELPin(input) -> SitePIP -> BELPin(output) -> BELPin(input)
It may not be necessary to use specify all such resources, as many are implied:
... -> PIP -> SitePin -> (implied) -> (implied) -> SitePIP -> (implied) -> (implied)
Disabling this flag allows such implied resources to be omitted.public static void writePlacement(PhysicalNetlist.PhysNetlist.Builder physNetlist, Design design, StringEnumerator strings, Collection<SiteInst> siteInsts)
public static void extractIntraSiteRouting(Net net, List<RouteBranchNode> nodes, SiteInst siteInst)
public static void writeRouteBranch(PhysicalNetlist.PhysNetlist.RouteBranch.Builder srcBuilder, RouteBranchNode src, StringEnumerator strings)
public static void writeStrings(PhysicalNetlist.PhysNetlist.Builder physNetlist, List<String> strings)
physNetlist
- The physical netlist builder.strings
- List of String objects to be written.public static void writePhysNetlist(Design design, String fileName) throws IOException
IOException