#include <defines.h>
Data Fields | |
union { | |
expression * expr | |
vsignal * sig | |
statement * stmt | |
funit_inst * inst | |
} | elem |
union { | |
uint32 all | |
struct { | |
uint32 type: 3 | |
uint32 conn_id: 16 | |
uint32 stop_true: 1 | |
uint32 stop_false: 1 | |
uint32 resolved: 1 | |
uint32 removed: 1 | |
} part | |
} | suppl |
char * | varname |
gen_item * | next_true |
gen_item * | next_false |
Container holding a generate block item.
uint32 gen_item_s::all |
Specifies the entire supplemental field
Referenced by gen_item_create_bind(), gen_item_create_expr(), gen_item_create_inst(), gen_item_create_sig(), gen_item_create_stmt(), gen_item_create_tfn(), and gen_item_stringify().
uint32 gen_item_s::conn_id |
Connection ID (used for connecting)
union { ... } gen_item_s::elem |
Union of various pointers this generate item is pointing at
Referenced by db_add_instance(), funit_find_signal(), gen_item_assign_ids(), gen_item_bind(), gen_item_compare(), gen_item_create_bind(), gen_item_create_expr(), gen_item_create_inst(), gen_item_create_sig(), gen_item_create_stmt(), gen_item_create_tfn(), gen_item_db_write(), gen_item_db_write_expr_tree(), gen_item_dealloc(), gen_item_remove_if_contains_expr_calling_stmt(), gen_item_resize_stmts_and_sigs(), gen_item_resolve(), gen_item_stringify(), and generate_remove_stmt_helper().
Pointer to an expression
Referenced by gen_item_bind(), gen_item_compare(), gen_item_create_bind(), gen_item_create_expr(), gen_item_dealloc(), gen_item_resolve(), and gen_item_stringify().
Pointer to instance
Referenced by db_add_instance(), gen_item_compare(), gen_item_create_inst(), gen_item_create_tfn(), gen_item_dealloc(), gen_item_resolve(), and gen_item_stringify().
Pointer to the next generate item if expr is false
Referenced by db_gen_item_connect_false(), gen_item_connect(), gen_item_create_bind(), gen_item_create_expr(), gen_item_create_inst(), gen_item_create_sig(), gen_item_create_stmt(), gen_item_create_tfn(), gen_item_dealloc(), gen_item_display_block_helper(), gen_item_find(), gen_item_remove_if_contains_expr_calling_stmt(), gen_item_resize_stmts_and_sigs(), gen_item_resolve(), and gen_item_stringify().
Pointer to the next generate item if expr is true
Referenced by db_gen_item_connect_true(), gen_item_connect(), gen_item_create_bind(), gen_item_create_expr(), gen_item_create_inst(), gen_item_create_sig(), gen_item_create_stmt(), gen_item_create_tfn(), gen_item_dealloc(), gen_item_display_block_helper(), gen_item_find(), gen_item_remove_if_contains_expr_calling_stmt(), gen_item_resize_stmts_and_sigs(), gen_item_resolve(), and gen_item_stringify().
struct { ... } gen_item_s::part |
Referenced by db_add_function_task_namedblock(), db_add_instance(), db_find_gen_item(), gen_item_assign_ids(), gen_item_bind(), gen_item_compare(), gen_item_connect(), gen_item_create_bind(), gen_item_create_expr(), gen_item_create_inst(), gen_item_create_sig(), gen_item_create_stmt(), gen_item_create_tfn(), gen_item_db_write(), gen_item_db_write_expr_tree(), gen_item_dealloc(), gen_item_display_block_helper(), gen_item_find(), gen_item_remove_if_contains_expr_calling_stmt(), gen_item_resize_stmts_and_sigs(), gen_item_resolve(), gen_item_stringify(), and generate_remove_stmt_helper().
uint32 gen_item_s::removed |
Specifies if this generate item has been "removed" from the design
uint32 gen_item_s::resolved |
Specifies if this generate item has been resolved
Pointer to signal
Referenced by funit_find_signal(), gen_item_assign_ids(), gen_item_compare(), gen_item_create_sig(), gen_item_db_write(), gen_item_dealloc(), gen_item_resize_stmts_and_sigs(), gen_item_resolve(), and gen_item_stringify().
Pointer to statement
Referenced by gen_item_assign_ids(), gen_item_compare(), gen_item_create_stmt(), gen_item_db_write(), gen_item_db_write_expr_tree(), gen_item_dealloc(), gen_item_remove_if_contains_expr_calling_stmt(), gen_item_resize_stmts_and_sigs(), gen_item_resolve(), gen_item_stringify(), and generate_remove_stmt_helper().
uint32 gen_item_s::stop_false |
Specifies that we should stop traversing the false path
uint32 gen_item_s::stop_true |
Specifies that we should stop traversing the true path
union { ... } gen_item_s::suppl |
Referenced by db_add_function_task_namedblock(), db_add_instance(), db_find_gen_item(), gen_item_assign_ids(), gen_item_bind(), gen_item_compare(), gen_item_connect(), gen_item_create_bind(), gen_item_create_expr(), gen_item_create_inst(), gen_item_create_sig(), gen_item_create_stmt(), gen_item_create_tfn(), gen_item_db_write(), gen_item_db_write_expr_tree(), gen_item_dealloc(), gen_item_display_block_helper(), gen_item_find(), gen_item_remove_if_contains_expr_calling_stmt(), gen_item_resize_stmts_and_sigs(), gen_item_resolve(), gen_item_stringify(), and generate_remove_stmt_helper().
uint32 gen_item_s::type |
Specifies which element pointer is valid
char* gen_item_s::varname |
Specifies genvar name (for TFN) or signal/TFN name to bind to (BIND)
Referenced by gen_item_bind(), gen_item_compare(), gen_item_connect(), gen_item_create_bind(), gen_item_create_expr(), gen_item_create_inst(), gen_item_create_sig(), gen_item_create_stmt(), gen_item_create_tfn(), gen_item_dealloc(), gen_item_resolve(), and gen_item_stringify().