Limbo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Functions
test_bison.cpp File Reference

test verilog parser, see VerilogParser::Driver and VerilogParser::VerilogDataBase More...

#include <iostream>
#include <fstream>
#include <limbo/parsers/verilog/bison/VerilogDriver.h>

Go to the source code of this file.

Classes

class  VerilogDataBase
 Custom class that inheritates VerilogParser::VerilogDataBase with all the required callbacks defined. More...
 

Functions

void test1 (string const &filename)
 test 1: use function wrapper VerilogParser::read
 
void test2 (string const &filename)
 test 2: use class wrapper VerilogParser::Driver
 
int main (int argc, char **argv)
 main function More...
 

Detailed Description

test verilog parser, see VerilogParser::Driver and VerilogParser::VerilogDataBase

Author
Yibo Lin
Date
Oct 2014

Definition in file test_bison.cpp.

Function Documentation

int main ( int  argc,
char **  argv 
)

main function

Parameters
argcnumber of arguments
argvvalues of arguments
Returns
0

Definition at line 136 of file test_bison.cpp.