Bitstream Interpretation Library (BIL)  0.1
V5CfgColumn.cpp
Go to the documentation of this file.
1 
8 
9 using namespace bil;
10 
11 
12 const char* const V5CfgColumn::CLB_STRING = "CLB";
13 const char* const V5CfgColumn::DSP_STRING = "DSP";
14 const char* const V5CfgColumn::BRAM_STRING = "BRAM";
15 const char* const V5CfgColumn::IOB_STRING = "IOB";
16 const char* const V5CfgColumn::CLK_STRING = "CLK";
17 const char* const V5CfgColumn::SERIAL_STRING = "SERIAL";
18 
19 
21 {
22  switch (columnType)
23  {
24  case CLB: return CLB_STRING;
25  case DSP: return DSP_STRING;
26  case BRAM: return BRAM_STRING;
27  case IOB: return IOB_STRING;
28  case CLK: return CLK_STRING;
29  case SERIAL: return SERIAL_STRING;
30  default: return 0;
31  }
32 }