BUF.h revision 10447:a465576671d4
1#ifndef __DSENT_MODEL_STD_CELLS_BUF_H__ 2#define __DSENT_MODEL_STD_CELLS_BUF_H__ 3 4#include "util/CommonType.h" 5#include "model/std_cells/StdCell.h" 6 7namespace DSENT 8{ 9 class BUF : public StdCell 10 { 11 public: 12 BUF(const String& instance_name_, const TechModel* tech_model_); 13 virtual ~BUF(); 14 15 public: 16 // Set a list of properties' name needed to construct model 17 void initProperties(); 18 // Cache the standard cell 19 void cacheStdCell(StdCellLib* cell_lib_, double drive_strength_); 20 21 protected: 22 // Build the model 23 virtual void constructModel(); 24 virtual void updateModel(); 25 virtual void evaluateModel(); 26 virtual void useModel(); 27 virtual void propagateTransitionInfo(); 28 29 }; // class BUF 30} // namespace DSENT 31 32#endif // __DSENT_MODEL_STD_CELLS_BUF_H__ 33 34