Verilog Parser
|
Data Structures | |
struct | ast_case_item |
Describes a single exeuctable item in a case statement. More... | |
struct | ast_case_statement |
Describes the top level of a case statement in terms of its items. More... | |
Enumerations | |
enum | ast_case_statement_type { CASE, CASEX, CASEZ } |
Records the three different types of case statement Verilog has. | |
Functions | |
ast_case_item * | ast_new_case_item (ast_list *conditions, ast_statement *body) |
Create and return a new item in a cast statement. More... | |
ast_case_statement * | ast_new_case_statement (ast_expression *expression, ast_list *cases, ast_case_statement_type type) |
Creates and returns a new case statement. More... | |
ast_case_item* ast_new_case_item | ( | ast_list * | conditions, |
ast_statement * | body | ||
) |
Create and return a new item in a cast statement.
conditions | - The conditions on which the item is executed. |
body | - Executes when any of the conditions are met. |
ast_case_statement* ast_new_case_statement | ( | ast_expression * | expression, |
ast_list * | cases, | ||
ast_case_statement_type | type | ||
) |
Creates and returns a new case statement.
expression | - The expression evaluated to select a case. |
cases | - list of possible cases. |