Xplace_for_ICCAD/cpp_to_py/gpugr/db/GRSetting.h

26 lines
434 B
C
Raw Normal View History

2023-04-06 13:34:26 +08:00
#pragma once
#include <string>
namespace gr {
class GRSetting {
public:
// 1. SystemSetting
int deviceId = 0;
// 2. Gridgraph setting
int routeXSize = 0;
int routeYSize = 0;
int csrnScale = 0;
// 3. The number of Rip-up and Reroute iterations (if 0, only PR is invoked)
int rrrIters = 0;
std::string routeGuideFile = "";
void reset();
};
extern GRSetting grSetting;
} // namespace gr