Verilog Parser

Fork join and sequential stamement blocks. More...

Data Structures

struct  ast_disable_statement
 Contains the identifier from a disable statement. More...
 
struct  ast_statement_block
 Fully describes a single block of statements. More...
 

Enumerations

enum  ast_block_type {
  BLOCK_SEQUENTIAL, BLOCK_SEQUENTIAL_INITIAL, BLOCK_SEQUENTIAL_ALWAYS, BLOCK_FUNCTION_SEQUENTIAL,
  BLOCK_PARALLEL
}
 Describes the type of a block of statements.
 

Functions

ast_disable_statementast_new_disable_statement (ast_identifier id)
 Creates and returns a pointer to a new disable statement.
 
ast_statement_blockast_new_statement_block (ast_block_type type, ast_identifier block_identifier, ast_list *declarations, ast_list *statements)
 Creates and returns a new statement block of the specified type. More...
 

Detailed Description

Fork join and sequential stamement blocks.

Function Documentation

ast_statement_block* ast_new_statement_block ( ast_block_type  type,
ast_identifier  block_identifier,
ast_list declarations,
ast_list statements 
)

Creates and returns a new statement block of the specified type.

Note
The trigger member of the returned ast_statement_block will always be NULL. This is because we don't find out what sort of block this is until further up the parse tree.