From c1aecc05e6cad977423a15905f6bd4f5f33b53c8 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Sat, 11 Oct 2014 16:16:00 -0500 Subject: ext: dsent: adds a Python interface, drops C++ one This patch extensively modifies DSENT so that it can be accessed using Python. To access the Python interface, DSENT needs to compiled as a shared library. For this purpose a CMakeLists.txt file has been added. Some of the code that is not required is being removed. --- ext/dsent/util/Config.h | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 ext/dsent/util/Config.h (limited to 'ext/dsent/util/Config.h') diff --git a/ext/dsent/util/Config.h b/ext/dsent/util/Config.h deleted file mode 100644 index 910f5ca8c..000000000 --- a/ext/dsent/util/Config.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef __DSENT_UTIL_CONFIG_H__ -#define __DSENT_UTIL_CONFIG_H__ - -#include "util/CommonType.h" - -namespace DSENT -{ - class TechModel; - class StdCellLib; - - class Config : public LibUtil::Config - { - public: - static void allocate(const String& cfg_file_name_); - static void release(); - static Config* getSingleton(); - - protected: - static Config* ms_singleton_; - - public: - Config(); - ~Config(); - - public: - void setTechModel(const TechModel* tech_model_); - const TechModel* getTechModel() const; - - void constructTechModel(const String& overwrite_str_); - - protected: - void readFile(const String& file_name_); - - protected: - const TechModel* m_tech_model_; - }; // class Config -} // namespace DSENT - -#endif // __DSENT_UTIL_CONFIG_H__ - -- cgit v1.2.3