#include <defines.h>
Data Fields | |
char * | name |
char * | op_str |
bool(* | func )(expression *, thread *, const sim_time *) |
struct { | |
uint32 is_event:1 | |
uint32 is_static:1 | |
uint32 is_comb:2 | |
uint32 is_unary:1 | |
uint32 measurable:1 | |
uint32 is_context_switch:1 | |
uint32 assignable:1 | |
uint32 tmp_vecs:3 | |
uint32 real_op:2 | |
} | suppl |
Contains static information about each expression operation type.
uint32 exp_info_s::assignable |
Specifies if this operation can be immediately assigned (i.e., +=)
bool(* exp_info_s::func)(expression *, thread *, const sim_time *) |
Operation function to call
Referenced by expression_op_func__dly_op(), expression_op_func__repeat_dly(), and expression_operate().
uint32 exp_info_s::is_comb |
Specifies if operation is combinational (both left/right expressions valid)
Referenced by combination_get_tree_stats(), combination_two_vars(), and rank_gather_comb_cov().
Specifies if this operation will cause a context switch
uint32 exp_info_s::is_event |
Specifies if operation is an event
uint32 exp_info_s::is_static |
Specifies if operation is a static value (does not change during simulation)
uint32 exp_info_s::is_unary |
Specifies if operation is unary (left expression valid only)
uint32 exp_info_s::measurable |
Specifies if this operation type can be measured
char* exp_info_s::name |
Operation name
char* exp_info_s::op_str |
Operation string name for report output purposes
Referenced by combination_event(), combination_two_vars(), and combination_unary().
uint32 exp_info_s::real_op |
Specifies if this operation can have a real value result. 0=no, 1=only right, 2=only left, 3=either
Referenced by expression_create_value().
struct { ... } exp_info_s::suppl |
Supplemental information about this expression
Referenced by combination_get_tree_stats(), combination_two_vars(), expression_create_value(), and rank_gather_comb_cov().
uint32 exp_info_s::tmp_vecs |
Number of temporary vectors used by this expression