torc::architecture::segments_regression_test_helper Class Reference

Regression test class for segments consistency across all devices. More...

Collaboration diagram for torc::architecture::segments_regression_test_helper:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 segments_regression_test_helper (DDB &inDDB)
 Basic constructor.
void operator() (void)
 Analyze segment expansion, and detect any tilewire conflicts.
void analyzeSegmentTilewire (const Tilewire &inTilewire)
 Verifies and enforces segment ownership of the specified tilewire.

Static Public Member Functions

static void statistics (void)
 Outputs statistics on segment expansion.

Private Types

typedef xilinx::TileCount TileCount
typedef xilinx::TileIndex TileIndex
typedef xilinx::TileTypeIndex TileTypeIndex
typedef xilinx::WireCount WireCount
typedef xilinx::WireIndex WireIndex
typedef Segments::SegmentReference SegmentReference
typedef xilinx::CompactSegmentIndex CompactSegmentIndex
typedef boost::uint64_t uint64_t

Private Attributes

DDBmDDB
const TilesmTiles
const SegmentsmSegments
std::map< Tilewire,
CompactSegmentIndex
mUsage
const CompactSegmentIndex cUsagePruned
const CompactSegmentIndex cUsageUndefined
uint64_t mTilewireCount
uint64_t mTilewiresAnalyzed
uint64_t mTilewiresPruned
uint64_t mTilewiresUndefined
uint64_t mTilewireMismatches

Static Private Attributes

static uint64_t sTotalTilewireCount = 0
 Total number of tilewires visited.
static uint64_t sTotalTilewiresAnalyzed = 0
 Total number of tilewires analyzed (visited or expanded).
static uint64_t sTotalTilewiresPruned = 0
 Total number of tilewires pruned from the device (absent from XDLRC).
static uint64_t sTotalTilewiresUndefined = 0
 Total number of tilewires never defined (sanity check).
static uint64_t sTotalTilewireMismatches = 0
 Total number of tilewire mismatches (more than one segment contending for one tilewire).


Detailed Description

Regression test class for segments consistency across all devices.

Definition at line 49 of file SegmentsRegressionTest.cpp.


Constructor & Destructor Documentation

torc::architecture::segments_regression_test_helper::segments_regression_test_helper ( DDB inDDB  )  [inline]

Basic constructor.

Definition at line 76 of file SegmentsRegressionTest.cpp.


Member Function Documentation

static void torc::architecture::segments_regression_test_helper::statistics ( void   )  [inline, static]

Outputs statistics on segment expansion.

Definition at line 88 of file SegmentsRegressionTest.cpp.

void torc::architecture::segments_regression_test_helper::operator() ( void   )  [inline]

Analyze segment expansion, and detect any tilewire conflicts.

Definition at line 102 of file SegmentsRegressionTest.cpp.

void torc::architecture::segments_regression_test_helper::analyzeSegmentTilewire ( const Tilewire inTilewire  )  [inline]

Verifies and enforces segment ownership of the specified tilewire.

Definition at line 176 of file SegmentsRegressionTest.cpp.


Member Data Documentation

Total number of tilewires visited.

Definition at line 69 of file SegmentsRegressionTest.cpp.

Total number of tilewires analyzed (visited or expanded).

Definition at line 70 of file SegmentsRegressionTest.cpp.

Total number of tilewires pruned from the device (absent from XDLRC).

Definition at line 71 of file SegmentsRegressionTest.cpp.

Total number of tilewires never defined (sanity check).

Definition at line 72 of file SegmentsRegressionTest.cpp.

Total number of tilewire mismatches (more than one segment contending for one tilewire).

Definition at line 73 of file SegmentsRegressionTest.cpp.


The documentation for this class was generated from the following file:

Generated on Thu Oct 13 16:49:35 2011 for TORC by  doxygen 1.5.6