Limbo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Enumerations | Functions
VerilogParser Namespace Reference

namespace for VerilogParser More...

Classes

class  Driver
 
class  GeneralName
 name with a range More...
 
class  GeneralNameArray
 bison does not support vector very well, so here create a dummy class for VerilogParser::GeneralName array. More...
 
struct  NetPin
 Describe the connection of pins to nets. More...
 
struct  Range
 range with pair of low and high values More...
 
class  StringArray
 bison does not support vector very well, so here create a dummy class for string array. More...
 
class  VerilogDataBase
 Base class for verilog database. Only pure virtual functions are defined. User needs to inheritate this class and derive a custom database type with all callback functions defined. More...
 

Enumerations

enum  PinType { kINPUT = 0x1, kOUTPUT = 0x2, kREG = 0x4 }
 pin type
 

Functions

bool read (VerilogDataBase &db, const string &verilogFile)
 API for VerilogParser. Read Verilog file and initialize database by calling user-defined callback functions. More...
 

Detailed Description

namespace for VerilogParser

The example namespace is used to encapsulate the three parser classes example::Parser, example::Scanner and example::Driver

Function Documentation

bool VerilogParser::read ( VerilogDataBase db,
const string &  verilogFile 
)

API for VerilogParser. Read Verilog file and initialize database by calling user-defined callback functions.

Parameters
dbdatabase which is derived from VerilogParser::VerilogDataBase
verilogFileVerilog file