Limbo 3.5.4
Loading...
Searching...
No Matches
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  vector
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 More...

Functions

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

Detailed Description

namespace for VerilogParser

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

Enumeration Type Documentation

◆ PinType

pin type

Definition at line 23 of file VerilogDataBase.h.

Function Documentation

◆ read()

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