19 #ifndef TORC_BITSTREAM_DEVICEINFO_HPP
20 #define TORC_BITSTREAM_DEVICEINFO_HPP
22 #include <boost/cstdint.hpp>
29 namespace bitstream {
class bitstream_static_device_info; }
58 void clear(
void) {
for(
int i = 0; i < 8; i++)
mWidth[i] = 0; }
98 if(type == static_cast<uint32_t>(-1))
break;
122 #endif // TORC_BITSTREAM_DEVICEINFO_HPP
uint32_t mWidth[8]
The column width in minor frames for each of the eight block types.
boost::uint32_t uint32_t
Imported type name.
uint16_t getRowCount(void) const
Returns the row count.
Static device information class for Xilinx bitstreams. This class facilitates the creation of frame ...
ColumnDef(const string &inName=string(), uint32_t in0=0, uint32_t in1=0, uint32_t in2=0, uint32_t in3=0, uint32_t in4=0, uint32_t in5=0, uint32_t in6=0, uint32_t in7=0)
Basic constructor.
uint16_t getColCount(void) const
Returns the column count.
Bitstream column definition for Xilinx bitstreams. For every block type 0 through 8...
ColumnTypeVector mColumnTypes
The column types as applicable for the bitstream.
DeviceInfo(uint32_t inTileCount, uint16_t inRowCount, uint16_t inColCount, uint32_t *inColumns)
Basic constructor.
uint16_t mRowCount
The row count for this device.
Column definition vector.
uint32_t operator[](int inIndex) const
Returns the specified column width.
const ColumnTypeVector & getColumnTypes(void) const
Returns the column type vector.
boost::uint16_t uint16_t
Imported type name.
string mName
The column type name. Note that this name is not used by Xilinx, and may not directly correspond to ...
DeviceInfo(void)
Null constructor.
const string & getName(void) const
Returns the column type name.
uint32_t mTileCount
The tile count for this device.
void clear(void)
Clears all column widths.
uint16_t mColCount
The column count for this device.
uint32_t getTileCount(void) const
Returns the tile count.
DeviceInfo(uint32_t inTileCount, uint16_t inRowCount, uint16_t inColCount, const ColumnTypeVector &inColumnTypes)
Constructor.
boost::uint32_t uint32_t
Imported type name.