Bitstream Interpretation Library (BIL)  0.1
V5CfgBlock.cpp
Go to the documentation of this file.
1 
8 
9 using namespace bil;
10 
11 const char* const V5CfgBlock::INTERCONNECT_AND_CFG_STRING = "INTERCONNECT_AND_CFG";
12 const char* const V5CfgBlock::BRAM_CONTENT_STRING = "BRAM_CONTENT";
13 const char* const V5CfgBlock::SPECIAL_STRING = "SPECIAL";
14 const char* const V5CfgBlock::BRAM_NONCFGDATA_STRING = "BRAM_NONCFGDATA";
15 
16 
17 const char* V5CfgBlock::toString(block_t block)
18 {
19  switch (block)
20  {
22  case BRAM_CONTENT: return BRAM_CONTENT_STRING;
23  case SPECIAL: return SPECIAL_STRING;
25  default: return 0;
26  }
27 }