Go to the documentation of this file.00001
00021 #ifndef CELL_H
00022 #define CELL_H
00023
00024 #include <string>
00025
00026 class Cell {
00027
00028 std::string name;
00029 int nbCellsPerColumn;
00030 int cost;
00031 bool reconfigurable;
00032 int bitstreamSizePerColumn;
00033 bool sensitiveToResourceMargin;
00034
00035 public:
00036
00037 Cell(std::string _name, bool _reconfigurable, int _nbCellsPerColumn = 1 , int _cost = 0, int _bitstreamSizerPerColumn = 0, bool _sensitive = false) :
00038 name(_name), nbCellsPerColumn(_nbCellsPerColumn), cost(_cost), reconfigurable(_reconfigurable), bitstreamSizePerColumn(_bitstreamSizerPerColumn), sensitiveToResourceMargin(_sensitive) {}
00039
00040 Cell() : name(""), nbCellsPerColumn(0), cost(0), reconfigurable(false), bitstreamSizePerColumn(0), sensitiveToResourceMargin(false) {}
00041
00042 std::string getName(void) const;
00043 int getNbCellsPerColumn(void) const;
00044 int getCellCost(void) const;
00045 bool isReconfigurable(void) const;
00046 int getBitstreamSizePerColumn(void) const;
00047 bool isSentitiveToResourceMargin(void) const;
00048
00049 };
00050
00051 #endif