Verilog Parser

Blocks of definitions. More...

Modules

 Function Declaration
 Describes a declaration of a user function.
 
 Task Declaration
 User task (procedure) definition.
 

Data Structures

struct  ast_block_item_declaration
 Describes the declaration of a block item. More...
 
struct  ast_block_reg_declaration
 Describes the declaration of a set of registers within a block. More...
 

Enumerations

enum  ast_block_item_declaration_type { BLOCK_ITEM_REG, BLOCK_ITEM_PARAM, BLOCK_ITEM_TYPE }
 Describes what sort of block item is being declared. More...
 

Functions

ast_block_item_declaration * ast_new_block_item_declaration (ast_block_item_declaration_type type, ast_node_attributes *attributes)
 Creates and returns a new block item declaration of the specified type. More...
 
ast_block_reg_declarationast_new_block_reg_declaration (ast_boolean is_signed, ast_range *range, ast_list *identifiers)
 Creates and returns a new block register declaration descriptor. More...
 

Detailed Description

Blocks of definitions.

Enumeration Type Documentation

Describes what sort of block item is being declared.

Enumerator
BLOCK_ITEM_REG 

Reg declaration.

BLOCK_ITEM_PARAM 

Parameters.

BLOCK_ITEM_TYPE 

event, integer,real,time,realtime

Function Documentation

ast_block_item_declaration* ast_new_block_item_declaration ( ast_block_item_declaration_type  type,
ast_node_attributes *  attributes 
)

Creates and returns a new block item declaration of the specified type.

Note
Expects the relevant union member to be set manually.
Parameters
typeThe item type.
attributesTool specific attributes.
ast_block_reg_declaration* ast_new_block_reg_declaration ( ast_boolean  is_signed,
ast_range *  range,
ast_list identifiers 
)

Creates and returns a new block register declaration descriptor.

Parameters
is_signedDo they represent signed values?
rangeAre these vectors of registers?
identifierslist of reg names with same properties.