public class PipelineGeneratorWithRouting
extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
BITS_PER_CLE |
static String |
INPUT_NAME |
static String |
OUTPUT_NAME |
| Constructor and Description |
|---|
PipelineGeneratorWithRouting() |
| Modifier and Type | Method and Description |
|---|---|
static PBlock |
createPipeline(Design d,
Site startingPoint,
int width,
int depth,
int distanceX,
int distanceY,
com.xilinx.rapidwright.examples.PipelineGeneratorWithRouting.direction dir,
boolean route,
boolean useDistanceBasedRouter)
Generates the circuit for the pipeline.
|
static List<PIP> |
findRoute(SitePinInst source,
SitePinInst sink,
TimingModel model) |
static void |
findRouteCostFunction(int tileDx,
int tileDy,
TimingModel model,
SitePinInst sink)
Router cost function method.
|
static void |
main(String[] args) |
public static final int BITS_PER_CLE
public static String INPUT_NAME
public static String OUTPUT_NAME
public static PBlock createPipeline(Design d, Site startingPoint, int width, int depth, int distanceX, int distanceY, com.xilinx.rapidwright.examples.PipelineGeneratorWithRouting.direction dir, boolean route, boolean useDistanceBasedRouter)
d - RW Design object.startingPoint - Site for placing the first/starting flop.width - Bit width of the bus signal.depth - Number of cycles to pipeline the bus.distanceX - Change in the absolute tile coordinates in the x dimension for placing the
next flop.distanceY - Change in the absolute tile coordinates in the y dimension for placing the
next flop.dir - General direction of the pipeline as either horizontal or vertical. This does not
need to be modified for this routing example.route - Boolean specifying whether to route the design or not. This does not need to be
modified for this routing example.useDistanceBasedRouter - Boolean specifying whether to use distance-based router or
timing-driven router.public static List<PIP> findRoute(SitePinInst source, SitePinInst sink, TimingModel model)
public static void findRouteCostFunction(int tileDx,
int tileDy,
TimingModel model,
SitePinInst sink)
tileDx - Difference between coordinates in x dimension.tileDy - Difference between coordinates in y dimension.model - Reference to the TimingModel created by the TimingManager.sink - SitePinInst for the sink of the physical Net object.public static void main(String[] args)