Xplace_for_ICCAD/cpp_to_py/common/db/Setting.h

43 lines
833 B
C
Raw Normal View History

2022-10-20 22:46:17 +08:00
#pragma once
#include "common/common.h"
namespace db {
class Setting {
public:
// 1. SystemSetting
int numThreads = 1;
// 2. DBSetting
bool EdgeSpacing = true;
bool EnableFence = true;
bool EnablePG = true;
bool EnableIOPin = true;
bool liteMode = true;
bool random_place = false;
// 3. IOSetting
std::string Format = "";
std::string BookshelfVariety = "";
std::string BookshelfAux = "";
std::string BookshelfPl = "";
std::string DefFile = "";
std::string LefFile = "";
std::string LefCell = "";
std::string LefTech = "";
std::vector<std::string> LefFiles;
2022-10-20 22:46:17 +08:00
std::string Constraints = "";
std::string Verilog = "";
std::string Size = "";
std::string OutputFile = "";
void reset();
};
extern Setting setting;
} // namespace db