torc-master
|
Provides net routing based on the Nillson graphsearch algorithm. More...
#include <NetRouterHeuristic.hpp>
Public Member Functions | |
NetRouterHeuristic (DDB &inDB) | |
Public Constructor. More... | |
~NetRouterHeuristic () | |
Destructor. More... | |
virtual void | setSink (const Tilewire &inSink) |
Set the current routing target. More... | |
virtual void | nodeCost (RouteNode &inNode) |
Calculate the node cost based on distance to the sink and path length. More... | |
virtual void | nodeCostInitial (RouteNode &inNode) |
virtual void | reorderSinks (const Tilewire &inSource, TilewireVector &inSinks) |
Reorder the Sinks based on this heuristic. More... | |
virtual void | expandSegmentSinks (const Tilewire &inTilewire, ArcVector &outArcs) |
Heuristic handling of expansion of a node. More... | |
boost::any | getParameter (boost::uint32_t index) |
Get a parameter. More... | |
void | setParameter (boost::uint32_t index, boost::any inParameter) |
Set a parameter. More... | |
virtual void | processParameters () |
Do something with the parameters. More... | |
Protected Member Functions | |
virtual boost::int32_t | distanceToSink (const Tilewire &inTilewire) |
virtual boost::int32_t | clkDistanceToSink (const Tilewire &inTilewire) |
boost::int32_t | distanceFromParent (const Tilewire &inParent, const Tilewire &inCurrent) |
Protected Attributes | |
ArcUsage & | mArcUsage |
ArcUsage reference. More... | |
const Tiles & | mTiles |
Tiles reference. More... | |
Tilewire | mTargetSink |
Target sink tilewire. More... | |
const TileInfo * | mSinkTileInfo |
Target sink tile information. More... | |
boost::int32_t | mRow |
Target row coordinate. More... | |
boost::int32_t | mCol |
Target column coordinate. More... | |
TilewireVector | mSegmentBuf |
Segment tilewire buffer. More... | |
ArcVector | mArcsBuf |
Arc buffer. More... | |
DDB & | mDB |
Database reference. More... | |
ParameterMap | mParameters |
Parameter map. More... | |
Private Types | |
typedef architecture::DDB | DDB |
Imported type names. More... | |
typedef architecture::Tiles | Tiles |
typedef architecture::ArcUsage | ArcUsage |
typedef architecture::WireUsage | WireUsage |
typedef architecture::Tilewire | Tilewire |
typedef architecture::TileInfo | TileInfo |
typedef architecture::Arc | Arc |
typedef architecture::TilewireVector | TilewireVector |
typedef architecture::ArcVector | ArcVector |
typedef architecture::xilinx::TileRow | TileRow |
typedef architecture::xilinx::TileCol | TileCol |
Provides net routing based on the Nillson graphsearch algorithm.
The router can either return a vector of nodes or directly populate DDB usage.
Definition at line 43 of file NetRouterHeuristic.hpp.
|
private |
Definition at line 52 of file NetRouterHeuristic.hpp.
|
private |
Definition at line 48 of file NetRouterHeuristic.hpp.
|
private |
Definition at line 54 of file NetRouterHeuristic.hpp.
|
private |
Imported type names.
Definition at line 46 of file NetRouterHeuristic.hpp.
Definition at line 56 of file NetRouterHeuristic.hpp.
|
private |
Definition at line 51 of file NetRouterHeuristic.hpp.
Definition at line 55 of file NetRouterHeuristic.hpp.
|
private |
Definition at line 47 of file NetRouterHeuristic.hpp.
|
private |
Definition at line 50 of file NetRouterHeuristic.hpp.
Definition at line 53 of file NetRouterHeuristic.hpp.
|
private |
Definition at line 49 of file NetRouterHeuristic.hpp.
|
inline |
Public Constructor.
Definition at line 83 of file NetRouterHeuristic.hpp.
|
inline |
|
inlineprotectedvirtual |
Definition at line 206 of file NetRouterHeuristic.hpp.
|
inlineprotected |
Definition at line 210 of file NetRouterHeuristic.hpp.
|
inlineprotectedvirtual |
Definition at line 196 of file NetRouterHeuristic.hpp.
|
inlinevirtual |
Heuristic handling of expansion of a node.
Reimplemented from torc::router::NetRouterHeuristicBase.
Definition at line 174 of file NetRouterHeuristic.hpp.
|
inlineinherited |
Get a parameter.
Definition at line 52 of file RouterHeuristicBase.hpp.
|
inlinevirtual |
Calculate the node cost based on distance to the sink and path length.
Implements torc::router::NetRouterHeuristicBase.
Definition at line 96 of file NetRouterHeuristic.hpp.
|
inlinevirtual |
Definition at line 136 of file NetRouterHeuristic.hpp.
|
inlinevirtualinherited |
Do something with the parameters.
Reimplemented in torc::router::PathFinderNetRouterHeuristic.
Definition at line 64 of file RouterHeuristicBase.hpp.
|
inlinevirtual |
Reorder the Sinks based on this heuristic.
Reimplemented from torc::router::NetRouterHeuristicBase.
Definition at line 170 of file NetRouterHeuristic.hpp.
|
inlineinherited |
Set a parameter.
Definition at line 60 of file RouterHeuristicBase.hpp.
|
inlinevirtual |
Set the current routing target.
Implements torc::router::NetRouterHeuristicBase.
Definition at line 89 of file NetRouterHeuristic.hpp.
|
protected |
Arc buffer.
Definition at line 76 of file NetRouterHeuristic.hpp.
|
protected |
ArcUsage reference.
Definition at line 61 of file NetRouterHeuristic.hpp.
|
protected |
Target column coordinate.
Definition at line 71 of file NetRouterHeuristic.hpp.
|
protectedinherited |
Database reference.
Definition at line 40 of file RouterHeuristicBase.hpp.
|
protectedinherited |
Parameter map.
Definition at line 42 of file RouterHeuristicBase.hpp.
|
protected |
Target row coordinate.
Definition at line 69 of file NetRouterHeuristic.hpp.
|
protected |
Segment tilewire buffer.
Definition at line 74 of file NetRouterHeuristic.hpp.
|
protected |
Target sink tile information.
Definition at line 67 of file NetRouterHeuristic.hpp.
|
protected |
Target sink tilewire.
Definition at line 65 of file NetRouterHeuristic.hpp.
|
protected |
Tiles reference.
Definition at line 63 of file NetRouterHeuristic.hpp.