Verilog Parser

Represents a call to a system or user function. Note this is destinct from a function declaration. More...

Data Structures

struct  ast_function_call
 describes a single call to a function, constant function, or system fucntion. More...
 

Functions

ast_function_call * ast_new_function_call (ast_identifier id, ast_boolean constant, ast_boolean system, ast_node_attributes *attr, ast_list *arguments)
 Creates and returns a new node representing a function call. More...
 

Detailed Description

Represents a call to a system or user function. Note this is destinct from a function declaration.

Function Documentation

ast_function_call* ast_new_function_call ( ast_identifier  id,
ast_boolean  constant,
ast_boolean  system,
ast_node_attributes *  attr,
ast_list arguments 
)

Creates and returns a new node representing a function call.

Parameters
[in]arguments- list of elements of type ast_expression representing the various parameters to the function. If the function has no arguments, then it is an empty list, not NULL.
[in]id- Function identifier / name
[in]constant- Does this function return a constant value?
[in]system- Is this a system function?
[in]attr- Attributes for vendor specific tool features.
[in]id- The function identifier.
[in]attr- Attributes to be passed to the function call.
[in]system- Is this a system function call?
[in]constant- Is this a constant function call?
[in]arguments- list of elements of type ast_expression representing the various parameters to the function. If the function has no arguments, then it is an empty list, not NULL. If this is supplied as NULL, then an empty list is added automatically by the function.