Bitstream Interpretation Library (BIL)
0.1
|
Holds a configuration frame of a Virtex-5 device. More...
#include <configuration/V5CfgFrame.hpp>
Public Member Functions | |
V5CfgFrame () | |
Constructs a new V5CfgFrame instance. | |
void | reset () |
Zero out frame data. | |
boost::uint32_t * | data () |
Gets a pointer to the frame data. | |
const boost::uint32_t * | data () const |
Gets a read only pointer to the frame data. |
Static Public Attributes | |
static const size_t | WORDCOUNT = 41 |
Virtex-5 frames are 41 words big. | |
static const size_t | HCLK_WORD_INDEX = 20 |
Index of the HCLK word in the frame. |
Holds a configuration frame of a Virtex-5 device.
A frame is the smallest unit of configuration data that can be written to configuration memory at once. Its destination is determined by the frame address.
Definition at line 23 of file V5CfgFrame.hpp.
V5CfgFrame::V5CfgFrame | ( | ) |
Constructs a new V5CfgFrame instance.
Definition at line 11 of file V5CfgFrame.cpp.
void V5CfgFrame::reset | ( | ) |
Zero out frame data.
This is default configuration for unused logic: A completely unused FPGA will have all frames zeroed out.
Definition at line 17 of file V5CfgFrame.cpp.
boost::uint32_t * V5CfgFrame::data | ( | ) |
Gets a pointer to the frame data.
Definition at line 23 of file V5CfgFrame.cpp.
const boost::uint32_t * V5CfgFrame::data | ( | ) | const |
Gets a read only pointer to the frame data.
Definition at line 29 of file V5CfgFrame.cpp.
|
static |
Virtex-5 frames are 41 words big.
Definition at line 53 of file V5CfgFrame.hpp.
|
static |
Index of the HCLK word in the frame.
A Virtex-5 frame consists of three parts: 20 lower words, 1 HCLK word, and 20 upper words.
Definition at line 60 of file V5CfgFrame.hpp.