Verilog Parser
verilog_ast_util.c File Reference

Contains definitions of functions which operate on the Verilog Abstract Syntax Tree (AST) More...

#include <assert.h>
#include <stdio.h>
#include "verilog_ast_util.h"

Functions

ast_module_declaration * verilog_find_module_declaration (verilog_source_tree *source, ast_identifier module_name)
 Searches the list of modules in the parsed source tree, returning the one that matches the passed identifer. More...
 
ast_listverilog_module_get_children (ast_module_declaration *module)
 Returns a list of module instantiations, representing the different types of module which this parent instantiates. More...
 
ast_hashtableverilog_modules_get_children (verilog_source_tree *source)
 Finds the child modules for all modules in a source tree. More...
 
void verilog_resolve_modules (verilog_source_tree *source)
 searches across an entire verilog source tree, resolving module identifiers to their declarations.
 

Detailed Description

Contains definitions of functions which operate on the Verilog Abstract Syntax Tree (AST)