Verilog Parser
|
A nice interface for the whole verilog parser. More...
Go to the source code of this file.
Macros | |
#define | YY_BUF_SIZE 16384 |
#define | YY_TYPEDEF_YY_SIZE_T |
Typedefs | |
typedef struct yy_buffer_state * | YY_BUFFER_STATE |
typedef size_t | yy_size_t |
Functions | |
int | verilog_parse_buffer (char *to_parse, int length) |
Perform a parsing operation on the supplied in-memory string. More... | |
int | verilog_parse_file (FILE *to_parse) |
Perform a parsing operation on the supplied file. More... | |
int | verilog_parse_string (char *to_parse, int length) |
Perform a parsing operation on the supplied in-memory string. More... | |
void | verilog_parser_init () |
Sets up the parsing environment ready for input. More... | |
YY_BUFFER_STATE | yy_create_buffer (FILE *file, int size) |
void | yy_delete_buffer (YY_BUFFER_STATE b) |
YY_BUFFER_STATE | yy_scan_buffer (char *base, yy_size_t size) |
YY_BUFFER_STATE | yy_scan_bytes (const char *bytes, int len) |
void | yy_switch_to_buffer (YY_BUFFER_STATE new_buffer) |
void | yyrestart (FILE *input_file) |
A nice interface for the whole verilog parser.
Provides wrappers around the awkward yylex and yyparse functions, as well as an easy way to change the input stream.