Verilog Parser

Describes attributes passed to modules, functions and expression assignments. More...

Data Structures

struct  ast_node_attributes
 Node data describing an attribute. More...
 

Functions

void ast_append_attribute (ast_node_attributes *parent, ast_node_attributes *toadd)
 Creates and returns a new attribute node with the specified value and name. More...
 
ast_node_attributes * ast_new_attributes (ast_identifier name, ast_expression *value)
 Creates and returns as a pointer a new attribute descriptor. More...
 

Detailed Description

Describes attributes passed to modules, functions and expression assignments.

Function Documentation

void ast_append_attribute ( ast_node_attributes *  parent,
ast_node_attributes *  toadd 
)

Creates and returns a new attribute node with the specified value and name.

Parameters
[in,out]parent- Pointer to the node which represents the list of attribute name,value pairs.
[in]toadd- The new attribute to add.
ast_node_attributes* ast_new_attributes ( ast_identifier  name,
ast_expression *  value 
)

Creates and returns as a pointer a new attribute descriptor.

Parameters
[in]name- The name of the parameter/attribute.
[in]value- The value the attribute should take.