26 cout <<
"constructing EbeamDataBase" << endl;
32 cout << __func__ <<
" => " << token << endl;
37 cout << __func__ << endl;
42 cout << __func__ << endl;
47 void test1(
string const& filename)
49 cout <<
"////////////// test1 ////////////////" << endl;
55 void test2(
string const& filename)
57 cout <<
"////////////// test2 ////////////////" << endl;
70 int main(
int argc,
char** argv)
79 cout <<
"at least 1 argument is required" << endl;
virtual void set_ebeam_unit(int token)
set database unit
EbeamDataBase()
constructor
virtual void add_ebeam_macro(EbeamParser::Macro const &)
set ebeam macro
describe conflict sites for each standard cell type
Custom class that inheritates EbeamParser::EbeamDataBase with all the required callbacks defined...
void test2(string const &filename)
test 2: use class wrapper BookshelfParser::Driver
bool parse_file(const string &filename)
bool read(EbeamDataBase &db, const string &ebeamFile)
API for EbeamParser. Read Ebeam file and initialize database by calling user-defined callback functio...
void test1(string const &filename)
test 1: use function wrapper BookshelfParser::read
Base class for ebeam database. Only pure virtual functions are defined. User needs to inheritate this...
virtual void set_ebeam_boundary(EbeamParser::EbeamBoundary const &)
set ebeam boundary
int main(int argc, char **argv)
main function