Bitstream Interpretation Library (BIL)  0.1
Public Member Functions | Static Public Attributes
bil::V5CfgFrame Class Reference

Holds a configuration frame of a Virtex-5 device. More...

#include <configuration/V5CfgFrame.hpp>

List of all members.

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.

Detailed Description

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.


Constructor & Destructor Documentation

V5CfgFrame::V5CfgFrame ( )

Constructs a new V5CfgFrame instance.

Definition at line 11 of file V5CfgFrame.cpp.


Member Function Documentation

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.

Returns:
The data pointer.

Definition at line 23 of file V5CfgFrame.cpp.

const boost::uint32_t * V5CfgFrame::data ( ) const

Gets a read only pointer to the frame data.

Returns:
The data pointer.

Definition at line 29 of file V5CfgFrame.cpp.


Member Data Documentation

const size_t bil::V5CfgFrame::WORDCOUNT = 41
static

Virtex-5 frames are 41 words big.

Definition at line 53 of file V5CfgFrame.hpp.

const size_t bil::V5CfgFrame::HCLK_WORD_INDEX = 20
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.


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