8 #ifndef EBEAMPARSER_DRIVER_H
9 #define EBEAMPARSER_DRIVER_H
25 using std::ostringstream;
57 const string& sname =
"stream input");
65 const string& sname =
"string stream");
80 void error(
const class location& l,
const string& m);
84 void error(
const string& m);
91 void units_cbk(
int d1);
93 void ebeam_cbk_offset(
double d1);
94 void ebeam_cbk_width(
double d1);
95 void ebeam_cbk_step(
double d1);
96 void ebeam_cbk_layerid(vector<int>
const& v1);
97 void ebeam_cbk_layer(vector<string>
const& v1);
98 void macro_cbk(
string const& s1);
99 void macro_cbk_name(
string const& s1);
100 void macro_cbk_confsite_name(
string const& s1);
101 void macro_cbk_confsite_layerid(
int const& d1);
102 void macro_cbk_confsite_layer(
string const& s1);
103 void macro_cbk_confsite_site(vector<int>
const& v1);
104 void macro_cbk_confsite(
string const& s1);
126 #endif // EXAMPLE_DRIVER_H
bool trace_parsing
enable debug output in the bison parser
Driver(EbeamDataBase &db)
describe conflict sites for each standard cell type
string streamname
stream name (file or input stream) used for error messages.
void error(const class location &l, const string &m)
EbeamBoundary m_ebeam_boundary
temporary storage of ebeam boundary
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...
Database for Ebeam parser.
bool trace_scanning
enable debug output in the flex scanner
bool parse_stream(std::istream &in, const string &sname="stream input")
Base class for ebeam database. Only pure virtual functions are defined. User needs to inheritate this...
bool parse_string(const string &input, const string &sname="string stream")
namespace for EbeamParser
Macro m_macro
temporary storage of ebeam macro for a standard cell