Verilog Parser

Contains things like continuous assignments, procedural blocks and module instantiations. More...

Modules

 Fork Join and Sequential Blocks
 Fork join and sequential stamement blocks.
 
 Procedural Blocks and Assignments
 Describes items found inside procedural blocks.
 
 Generate Statements
 Represents generate loops.
 
 Module Instantiation
 Describes the instantiation of a module, as opposed to it's declaration.
 
 Declarations
 Blocks of definitions.
 

Data Structures

struct  ast_module_item
 Describes a single module item, its type and data structure. More...
 

Enumerations

enum  ast_module_item_type {
  MOD_ITEM_PORT_DECLARATION, MOD_ITEM_GENERATED_INSTANTIATION, MOD_ITEM_PARAMETER_DECLARATION, MOD_ITEM_SPECIFY_BLOCK,
  MOD_ITEM_SPECPARAM_DECLARATION, MOD_ITEM_PARAMETER_OVERRIDE, MOD_ITEM_CONTINOUS_ASSIGNMENT, MOD_ITEM_GATE_INSTANTIATION,
  MOD_ITEM_UDP_INSTANTIATION, MOD_ITEM_MODULE_INSTANTIATION, MOD_ITEM_INITIAL_CONSTRUCT, MOD_ITEM_ALWAYS_CONSTRUCT,
  MOD_ITEM_NET_DECLARATION, MOD_ITEM_REG_DECLARATION, MOD_ITEM_INTEGER_DECLARATION, MOD_ITEM_REAL_DECLARATION,
  MOD_ITEM_TIME_DECLARATION, MOD_ITEM_REALTIME_DECLARATION, MOD_ITEM_EVENT_DECLARATION, MOD_ITEM_GENVAR_DECLARATION,
  MOD_ITEM_TASK_DECLARATION, MOD_ITEM_FUNCTION_DECLARATION
}
 Describes the type of data structure representing a module item. More...
 

Functions

ast_module_item * ast_new_module_item (ast_node_attributes *attributes, ast_module_item_type type)
 Creates and returns a new module item descriptor. More...
 

Detailed Description

Contains things like continuous assignments, procedural blocks and module instantiations.

Enumeration Type Documentation

Describes the type of data structure representing a module item.

Enumerator
MOD_ITEM_PORT_DECLARATION 

port_declaration

MOD_ITEM_PARAMETER_DECLARATION 

Local or global.

MOD_ITEM_CONTINOUS_ASSIGNMENT 

access continuous_assignment

Function Documentation

ast_module_item* ast_new_module_item ( ast_node_attributes *  attributes,
ast_module_item_type  type 
)

Creates and returns a new module item descriptor.

Parameters
[in]attributes- Tool specific attributes.
[in]type- What sort of module item is being represented?
Note
Expects the relevant union member to be set based on the type manually.
Expects the relevant union member to be set based on the type manually.