Contains definitions/structures used in the Covered utility. More...
#include "../config.h"
#include <float.h>
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include "cexcept.h"
Go to the source code of this file.
Contains definitions/structures used in the Covered utility.
#define CDD_VERSION 24 |
Contains the CDD version number of all CDD files that this version of Covered can write and read.
Referenced by info_db_read(), and info_db_write().
#define COVERED_HEADER "\nCovered %s -- Verilog Code Coverage Utility\nWritten by Trevor Williams (phase1geo@gmail.com)\nFreely distributable under the GPL license\n", COVERED_VERSION |
This contains the header information specified when executing this tool.
Referenced by command_exclude(), command_merge(), command_rank(), command_report(), and command_score().
#define COVERED_VERSION VERSION |
Specifies current version of the Covered utility.
Referenced by main().
#define DEFAULT_LINE_WIDTH 105 |
If -w option is specified to report command, specifies number of characters of width we will output.
Referenced by report_parse_args(), and report_usage().
#define DEQ | ( | x, | |||
y | ) | (fabs(x-y) < DBL_EPSILON) |
Compares two double values
Referenced by expression_op_func__cond(), expression_op_func__cond_sel(), expression_op_func__sassign(), vector_from_int(), vector_from_real64(), vector_from_uint64(), vector_is_not_zero(), vector_op_add(), vector_op_divide(), vector_op_eq(), vector_op_multiply(), vector_op_ne(), vector_op_negate(), vector_op_subtract(), and vector_vcd_assign().
#define DFLT_DUMPVARS_NAME "covered_dump.v" |
Default filename that will contain the code necessary to dump only the needed signals of the design.
Referenced by score_parse_args().
#define DFLT_OUTPUT_CDD "cov.cdd" |
Default database filename if not specified on command-line.
Referenced by command_score().
#define DFLT_VPI_NAME "covered_vpi.v" |
Default filename that will contain the code necessary to attach Covered as a VPI to the Verilog simulator.
Referenced by score_parse_args(), and score_usage().
#define EXPR_COMB_MISSED | ( | x | ) | (EXPR_IS_MEASURABLE( x ) && (x->ulid != -1)) |
Returns a value of 1 if the specified expression was measurable for combinational coverage but not fully covered during simulation.
Referenced by combination_get_missed_expr().
#define EXPR_IS_COMB | ( | x | ) |
((exp_op_info[x->op].suppl.is_comb > 0) && \ (EXPR_IS_OP_AND_ASSIGN(x) || \ (!expression_is_static_only( x->left ) && \ !expression_is_static_only( x->right))))
Returns a value of true if the specified expression is considered a combination expression by the combinational logic report generator.
Referenced by combination_get_missed_expr(), combination_get_tree_stats(), and rank_gather_comb_cov().
#define EXPR_IS_CONTEXT_SWITCH | ( | x | ) |
((exp_op_info[x->op].suppl.is_context_switch == 1) || \ ((x->op == EXP_OP_NB_CALL) && !ESUPPL_IS_IN_FUNC(x->suppl)))
These expressions will only allow a statement block to advance when they evaluate to a value of true (i.e., their statement's false path is NULL). They allow context switching to occur if they evaluate to false.
Referenced by sim_thread(), and statement_connect().
#define EXPR_IS_EVENT | ( | x | ) | exp_op_info[x->op].suppl.is_event |
Returns a value of true if the specified expression is considered to be an event type (i.e., it either occurred or did not occur -- WAS_FALSE is not important).
Referenced by combination_get_missed_expr(), combination_get_tree_stats(), and rank_gather_comb_cov().
#define EXPR_IS_MEASURABLE | ( | x | ) |
(((exp_op_info[x->op].suppl.measurable == 1) && \ (ESUPPL_IS_LHS( x->suppl ) == 0) && \ (x->value->suppl.part.data_type != VDATA_R64) && \ (x->value->suppl.part.data_type != VDATA_R32) && \ !((ESUPPL_IS_ROOT( x->suppl ) == 0) && \ ((x->op == EXP_OP_SIG) || \ (x->op == EXP_OP_SBIT_SEL) || \ (x->op == EXP_OP_MBIT_SEL) || \ (x->op == EXP_OP_MBIT_POS) || \ (x->op == EXP_OP_MBIT_NEG)) && \ (x->parent->expr->op != EXP_OP_ASSIGN) && \ (x->parent->expr->op != EXP_OP_DASSIGN) && \ (x->parent->expr->op != EXP_OP_BASSIGN) && \ (x->parent->expr->op != EXP_OP_NASSIGN) && \ (x->parent->expr->op != EXP_OP_RASSIGN) && \ (x->parent->expr->op != EXP_OP_DLY_OP) && \ (x->parent->expr->op != EXP_OP_IF) && \ (x->parent->expr->op != EXP_OP_WHILE) && \ (x->parent->expr->op != EXP_OP_COND)) && \ (x->line != 0)) ? 1 : 0)
Returns a value of 1 if the specified expression is considered to be measurable.
Referenced by combination_get_tree_stats(), combination_output_expr(), and rank_gather_comb_cov().
#define EXPR_IS_OP_AND_ASSIGN | ( | x | ) |
((x->op == EXP_OP_ADD_A) || \ (x->op == EXP_OP_SUB_A) || \ (x->op == EXP_OP_MLT_A) || \ (x->op == EXP_OP_DIV_A) || \ (x->op == EXP_OP_MOD_A) || \ (x->op == EXP_OP_AND_A) || \ (x->op == EXP_OP_OR_A) || \ (x->op == EXP_OP_XOR_A) || \ (x->op == EXP_OP_LS_A) || \ (x->op == EXP_OP_RS_A) || \ (x->op == EXP_OP_ALS_A) || \ (x->op == EXP_OP_ARS_A))
Specifies if the expression is an op-and-assign operation (i.e., +=, -=, &=, etc.)
Referenced by expression_is_static_only_helper().
#define EXPR_IS_STATIC | ( | x | ) | exp_op_info[x->op].suppl.is_static |
Returns a value of TRUE if the specified expression is a STATIC, PARAM, PARAM_SBIT, PARAM_MBIT, PARAM_MBIT_POS or PARAM_MBIT_NEG operation type.
Referenced by expression_db_read(), expression_is_static_only_helper(), reentrant_count_afu_bits(), reentrant_restore_data_bits(), and reentrant_store_data_bits().
#define EXPR_IS_UNARY | ( | x | ) | exp_op_info[x->op].suppl.is_unary |
Returns a value of true if the specified expression is considered a unary expression by the combinational logic report generator.
#define EXPR_LEFT_DEALLOCABLE | ( | x | ) |
(((x->op != EXP_OP_CASE) && \ (x->op != EXP_OP_CASEX) && \ (x->op != EXP_OP_CASEZ)) || \ (x->suppl.part.owned == 1))
Returns a value of 1 if the specified expression's left child may be deallocated using the expression_dealloc function. We can deallocate any left expression that doesn't belong to a case statement or has the owned bit set to 1.
Referenced by exp_link_remove(), expression_db_write_tree(), and expression_dealloc().
#define EXPR_OP_HAS_DIM | ( | x | ) |
((x == EXP_OP_DIM) || \ (x == EXP_OP_SBIT_SEL) || \ (x == EXP_OP_PARAM_SBIT) || \ (x == EXP_OP_MBIT_SEL) || \ (x == EXP_OP_PARAM_MBIT) || \ (x == EXP_OP_MBIT_POS) || \ (x == EXP_OP_MBIT_NEG) || \ (x == EXP_OP_PARAM_MBIT_POS) || \ (x == EXP_OP_PARAM_MBIT_NEG))
Returns TRUE if this expression should have its dim element populated.
Referenced by expression_create(), and expression_dealloc().
#define EXPR_OWNS_VEC | ( | o | ) |
((o != EXP_OP_SIG) && \ (o != EXP_OP_SBIT_SEL) && \ (o != EXP_OP_MBIT_SEL) && \ (o != EXP_OP_MBIT_POS) && \ (o != EXP_OP_MBIT_NEG) && \ (o != EXP_OP_TRIGGER) && \ (o != EXP_OP_PARAM) && \ (o != EXP_OP_PARAM_SBIT) && \ (o != EXP_OP_PARAM_MBIT) && \ (o != EXP_OP_PARAM_MBIT_POS) && \ (o != EXP_OP_PARAM_MBIT_NEG) && \ (o != EXP_OP_ASSIGN) && \ (o != EXP_OP_DASSIGN) && \ (o != EXP_OP_BASSIGN) && \ (o != EXP_OP_NASSIGN) && \ (o != EXP_OP_RASSIGN) && \ (o != EXP_OP_IF) && \ (o != EXP_OP_WHILE) && \ (o != EXP_OP_PASSIGN) && \ (o != EXP_OP_DLY_ASSIGN) && \ (o != EXP_OP_DIM))
These expressions all use someone else's vectors instead of their own.
Referenced by expression_db_write(), reentrant_count_afu_bits(), reentrant_restore_data_bits(), and reentrant_store_data_bits().
#define EXPR_RIGHT_DEALLOCABLE | ( | x | ) | (TRUE) |
Specifies if the right expression can be deallocated (currently there is no reason why a right expression can't be deallocated.
Referenced by exp_link_remove(), and expression_dealloc().
#define EXPR_TMP_VECS | ( | x | ) | exp_op_info[x].suppl.tmp_vecs |
Specifies the number of temporary vectors required by the given expression operation.
Referenced by expression_create_tmp_vecs(), and expression_dealloc().
#define FEQ | ( | x, | |||
y | ) | (fabs(x-y) < FLT_EPSILON) |
Compares two float values
Referenced by expression_op_func__cond(), expression_op_func__sassign(), vector_from_int(), vector_from_real64(), vector_from_uint64(), vector_is_not_zero(), vector_op_add(), vector_op_divide(), vector_op_multiply(), vector_op_negate(), vector_op_subtract(), and vector_vcd_assign().
#define INTEGER_WIDTH (SIZEOF_INT * 8) |
Determine size of integer in bits.
#define MAX_BIT_WIDTH 65536 |
Specifies the maximum number of bits that a vector can hold.
Referenced by expression_create_value(), inst_parm_add(), vector_bitwise_and_op(), vector_bitwise_nand_op(), vector_bitwise_nor_op(), vector_bitwise_nxor_op(), vector_bitwise_or_op(), vector_bitwise_xor_op(), vector_from_int(), vector_from_string(), vector_from_uint64(), vector_op_add(), vector_op_arshift(), vector_op_expand(), vector_op_list(), vector_op_lshift(), vector_op_negate(), vector_op_rshift(), vector_op_subtract(), vector_part_select_pull(), vector_part_select_push(), vector_set_to_x(), vector_set_value_ulong(), vector_unary_inv(), vector_vcd_assign(), and vsignal_db_write().
#define MAX_MALLOC_SIZE (MAX_BIT_WIDTH * 2) |
Specifies the maximum number of bytes that can be allocated via the safe allocation functions in util.c.
Referenced by malloc_safe1(), realloc_safe1(), and strdup_safe1().
#define PROFILING_OUTPUT_NAME "covered.prof" |
Default profiling output filename.
Referenced by covered_sim_calltf(), and main().
#define SIGNAL_ASSIGN_FROM_DUMPFILE | ( | x | ) |
((x->suppl.part.assigned == 0) && \ (x->suppl.part.type != SSUPPL_TYPE_PARAM) && \ (x->suppl.part.type != SSUPPL_TYPE_PARAM_REAL) && \ (x->suppl.part.type != SSUPPL_TYPE_ENUM) && \ (x->suppl.part.type != SSUPPL_TYPE_MEM) && \ (x->suppl.part.type != SSUPPL_TYPE_GENVAR) && \ (x->suppl.part.type != SSUPPL_TYPE_EVENT))
Returns TRUE if the signal must be assigned from the dumpfile.
Referenced by db_assign_symbol(), and funit_is_one_signal_assigned().
#define SIGNAL_IS_NET | ( | x | ) |
((x->suppl.part.type == SSUPPL_TYPE_INPUT_NET) || \ (x->suppl.part.type == SSUPPL_TYPE_OUTPUT_NET) || \ (x->suppl.part.type == SSUPPL_TYPE_INOUT_NET) || \ (x->suppl.part.type == SSUPPL_TYPE_EVENT) || \ (x->suppl.part.type == SSUPPL_TYPE_DECL_NET) || \ (x->suppl.part.type == SSUPPL_TYPE_IMPLICIT) || \ (x->suppl.part.type == SSUPPL_TYPE_IMPLICIT_POS) || \ (x->suppl.part.type == SSUPPL_TYPE_IMPLICIT_NEG))
Returns TRUE if the given vsignal is a net type.
Referenced by vsignal_db_write().
#define TIME_CMP_GE | ( | x, | |||
y | ) | ((((x).lo >= (y).lo) && ((x).hi >= (y).hi)) || ((x).hi > (y).hi)) |
#define TIME_CMP_GT | ( | x, | |||
y | ) | (((x).lo > (y).lo) || ((x).hi > (y).hi)) |
Referenced by sim_thread_insert_into_delay_queue().
#define TIME_CMP_LE | ( | x, | |||
y | ) | ((((x).lo <= (y).lo) && ((x).hi <= (y).hi)) || ((x).hi < (y).hi)) |
Overload for the snprintf function which verifies that we don't overrun character arrays
Performs time comparison with the sim_time structure
Referenced by expression_op_func__delay(), and sim_simulate().
#define TIME_CMP_NE | ( | x, | |||
y | ) | (((x).lo ^ (y).lo) || ((x).hi ^ (y).hi)) |
#define TIME_INC | ( | x, | |||
y | ) | (x).hi+=((0xffffffff-(x).lo)<(y).lo)?((y).hi+1):(y).hi; (x).lo+=(y).lo; (x).full+=(y).full; |
Performs time increment where x is the sim_time structure to increment and y is a 64-bit value to increment to
Referenced by expression_op_func__delay().
#define UL_DIV | ( | x | ) | (((unsigned int)x) >> UL_DIV_VAL) |
Create defines for unsigned long.
Divides a bit position by an unsigned long
Referenced by rank_create_comp_cdd_cov(), rank_dealloc_comp_cdd_cov(), rank_gather_comb_cov(), rank_gather_expression_cov(), rank_gather_fsm_cov(), rank_gather_signal_cov(), rank_perform(), rank_perform_greedy_sort(), rank_perform_weighted_selection(), rank_selected_cdd_cov(), reentrant_restore_data_bits(), reentrant_store_data_bits(), vector_bitwise_and_op(), vector_bitwise_nand_op(), vector_bitwise_nor_op(), vector_bitwise_nxor_op(), vector_bitwise_or_op(), vector_bitwise_xor_op(), vector_ceq_ulong(), vector_copy_range(), vector_copy_val_and_sign_extend_ulong(), vector_from_int(), vector_from_uint64(), vector_get_eval_a(), vector_get_eval_b(), vector_get_eval_c(), vector_get_eval_d(), vector_get_sign_extend_vector_ulong(), vector_get_toggle01_ulong(), vector_get_toggle10_ulong(), vector_lshift_ulong(), vector_mem_rw_count(), vector_op_add(), vector_op_arshift(), vector_op_cxeq(), vector_op_czeq(), vector_op_eq(), vector_op_expand(), vector_op_ge(), vector_op_gt(), vector_op_le(), vector_op_list(), vector_op_lshift(), vector_op_lt(), vector_op_ne(), vector_op_negate(), vector_op_rshift(), vector_op_subtract(), vector_part_select_pull(), vector_part_select_push(), vector_reverse_for_cmp_ulong(), vector_rshift_ulong(), vector_set_assigned(), vector_set_coverage_and_assign_ulong(), vector_set_static(), vector_set_to_x(), vector_set_value_ulong(), vector_sign_extend_ulong(), vector_to_string(), vector_unary_inv(), and vector_vcd_assign().
#define UL_MOD | ( | x | ) | (((unsigned int)x) & UL_MOD_VAL) |
Mods a bit position by an unsigned long
Referenced by rank_gather_comb_cov(), rank_gather_expression_cov(), rank_gather_fsm_cov(), rank_gather_signal_cov(), rank_perform(), rank_perform_greedy_sort(), rank_perform_weighted_selection(), rank_selected_cdd_cov(), reentrant_restore_data_bits(), reentrant_store_data_bits(), vector_ceq_ulong(), vector_copy_range(), vector_display_toggle01_ulong(), vector_display_toggle10_ulong(), vector_display_value_ulong(), vector_display_value_ulongs(), vector_get_eval_a(), vector_get_eval_b(), vector_get_eval_c(), vector_get_eval_d(), vector_get_sign_extend_vector_ulong(), vector_get_toggle01_ulong(), vector_get_toggle10_ulong(), vector_lshift_ulong(), vector_op_add(), vector_op_cxeq(), vector_op_czeq(), vector_op_eq(), vector_op_expand(), vector_op_ge(), vector_op_gt(), vector_op_le(), vector_op_list(), vector_op_lt(), vector_op_ne(), vector_op_subtract(), vector_reverse_for_cmp_ulong(), vector_rshift_ulong(), vector_set_static(), vector_sign_extend_ulong(), vector_to_string(), and vector_vcd_assign().
#define USER_MSG_LENGTH (MAX_BIT_WIDTH * 2) |
Length of user_msg global string (used for inputs to snprintf calls).
Referenced by bind_perform(), bind_signal(), bind_task_function_namedblock(), check_option_value(), combination_underline_tree(), command_exclude(), command_merge(), command_rank(), command_report(), command_score(), covered_create_value_change_cb(), covered_parse_instance(), covered_parse_signals(), covered_parse_task_func(), covered_value_change_bin(), covered_value_change_real(), db_add_declared_param(), db_add_defparam(), db_add_enum(), db_add_expression(), db_add_file_version(), db_add_function_task_namedblock(), db_add_instance(), db_add_module(), db_add_override_param(), db_add_signal(), db_add_statement(), db_add_typedef(), db_add_vector_param(), db_assign_symbol(), db_bind_expr_tree(), db_check_dumpfile_scopes(), db_connect_statement_false(), db_connect_statement_true(), db_create_attr_param(), db_create_expr_from_static(), db_create_expression(), db_create_statement(), db_do_timestep(), db_end_function_task_namedblock(), db_end_module(), db_find_gen_item(), db_find_signal(), db_find_typedef(), db_gen_item_connect(), db_gen_item_connect_false(), db_gen_item_connect_true(), db_parallelize_statement(), db_read(), db_remove_statement(), db_remove_statement_from_current_funit(), db_set_symbol_char(), db_set_symbol_string(), db_set_vcd_scope(), db_statement_connect(), db_vcd_upscope(), db_write(), defparam_add(), directory_load(), enumerate_resolve(), exclude_apply_exclusions(), exclude_assert_from_id(), exclude_expr_from_id(), exclude_fsm_from_id(), exclude_get_message(), exclude_line_from_id(), exclude_memory_from_id(), exclude_parse_args(), exclude_toggle_from_id(), expression_assign(), expression_create_value(), expression_db_read(), expression_dealloc(), expression_op_func__bitstoreal(), expression_op_func__bitstoshortreal(), expression_op_func__itor(), expression_op_func__realtobits(), expression_op_func__rtoi(), expression_op_func__shortrealtobits(), expression_op_func__test_plusargs(), expression_op_func__urandom_range(), expression_op_func__value_plusargs(), expression_operate(), expression_resize(), expression_string(), fsm_arg_parse_attr(), fsm_arg_parse_trans(), fsm_db_read(), fsm_var_bind_expr(), funit_db_read(), funit_db_write(), 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_resolve(), instance_resolve_helper(), lxt2_rd_iter_radix(), lxt2_rd_iter_radix0(), lxt2_rd_process_block(), main(), merge_parse_args(), merged_cdd_db_read(), param_find_and_set_expr_value(), parse_and_score_dumpfile(), parse_design(), parse_readline(), print_output(), profiler_report(), race_check_race_count(), race_handle_race_condition(), rank_check_index(), rank_output(), rank_parse_args(), rank_perform(), rank_read_cdd(), read_command_file(), report_parse_args(), report_parse_metrics(), scope_find_param(), scope_find_signal(), scope_find_task_function_namedblock(), score_generate_pli_tab_file(), score_generate_top_dumpvars_module(), score_generate_top_vpi_module(), score_parse_args(), search_add_directory_path(), search_add_extensions(), search_add_file(), search_add_include_path(), search_add_no_score_funit(), sim_expr_changed(), sim_expression(), sim_thread(), stmt_blk_specify_removal_reason(), substitute_env_vars(), vcd_parse_def(), vcd_parse_sim(), VLerror(), VLwarn(), and vsignal_vcd_assign().
#define VECTOR_MERGE_MASK 0x6c |
Used for merging two vector nibbles from two vectors. Both vector nibble fields are ANDed with this mask and ORed together to perform the merge. Fields that are merged are:
#define VSUPPL_MASK (unsigned char)0x7f |
Mask for signal supplemental field when writing to CDD file.
Referenced by vector_db_write().
typedef struct attr_param_s attr_param |
Renaming attribute parameter structure for convenience.
typedef struct case_gitem_s case_gitem |
Renaming case generate item structure for convenience.
typedef struct case_stmt_s case_statement |
Renaming case statement structure for convenience.
typedef struct comp_cdd_cov_s comp_cdd_cov |
Renaming comp_cdd_cov_s structure for convenience.
typedef struct const_value_s const_value |
Renaming vector structure for convenience.
typedef enum cp_indices_e cp_indices |
Enumeration of coverage point types that are stored in the cps array in the comp_cdd_cov structure.
typedef struct dim_and_nba_s dim_and_nba |
Renaming dim_and_nba_s structure for convenience.
typedef struct dim_range_s dim_range |
Renaming dim_range_s structure for convenience.
typedef struct enum_item_s enum_item |
Renaming enum_item_s structure for convenience.
typedef struct exclude_reason_s exclude_reason |
Renaming exclude_reason_s structure for convenience.
typedef struct exp_bind_s exp_bind |
Renaming signal/functional unit to expression binding structure for convenience.
typedef struct exp_info_s exp_info |
Renaming expression operation information structure for convenience.
typedef struct exp_link_s exp_link |
Renaming expression link structure for convenience.
typedef enum exp_op_type_e exp_op_type |
Enumeration of the various expression operations that Covered supports.
typedef union expr_stmt_u expr_stmt |
Renaming expression statement union for convenience.
typedef struct expression_s expression |
Renaming expression structure for convenience.
typedef struct fsm_link_s fsm_link |
Renaming fsm_link structure for convenience.
typedef struct fsm_table_s fsm_table |
Renaming FSM table structure for convenience.
typedef struct fsm_table_arc_s fsm_table_arc |
Renaming FSM table arc structure for convenience.
typedef struct func_unit_s func_unit |
Renaming functional unit structure for convenience.
typedef struct funit_inst_s funit_inst |
Renaming functional unit instance structure for convenience.
typedef struct funit_link_s funit_link |
Renaming functional unit link structure for convenience.
typedef struct gen_item_s gen_item |
Renaming gen_item_s structure for convenience.
typedef struct gitem_link_s gitem_link |
Renaming gitem_link_s structure for convenience.
typedef struct inst_link_s inst_link |
Renaming functional unit instance link structure for convenience.
typedef struct inst_parm_s inst_parm |
Renaming instance parameter structure for convenience.
typedef enum logic_rm_type_e logic_rm_type |
Reasons for excluding a logic block from coverage consideration.
typedef struct mod_parm_s mod_parm |
Renaming module parameter structure for convenience.
typedef struct nonblock_assign_s nonblock_assign |
Renaming nonblock_assign_s structure for convenience.
typedef struct param_oride_s param_oride |
Renaming param_orides_s structure for convenience.
typedef struct perf_stat_s perf_stat |
Renaming perf_stat structure for convenience.
typedef struct port_info_s port_info |
Renaming port_info_s structure for convenience.
typedef struct profiler_s profiler |
Renaming profiler_s structure for convenience.
typedef struct race_blk_s race_blk |
Renaming race_blk structure for convenience.
typedef struct reentrant_s reentrant |
Renaming reentrant_s structure for convenience.
typedef enum rpt_type_e rpt_type |
Enumeration of report types to output.
typedef struct rstack_entry_s rstack_entry |
Renaming rstack_entry_s structure for convenience.
typedef struct sig_link_s sig_link |
Renaming signal link structure for convenience.
typedef struct sig_range_s sig_range |
Renaming sig_range_s structure for convenience.
typedef struct sim_time_s sim_time |
Renaming sim_time_s structure for convenience.
typedef struct statement_s statement |
Renaming statement structure for convenience.
typedef struct static_expr_s static_expr |
Renaming static expression structure for convenience.
typedef struct statistic_s statistic |
Renaming statistic structure for convenience.
typedef struct stmt_blk_s stmt_blk |
Renaming statement-signal structure for convenience.
typedef struct stmt_link_s stmt_link |
Renaming statement link structure for convenience.
typedef struct stmt_loop_link_s stmt_loop_link |
Renaming statement loop link structure for convenience.
typedef struct str_link_s str_link |
Renaming string link structure for convenience.
typedef struct struct_union_s struct_union |
Renaming struct_unions_s structure for convenience.
typedef struct su_member_s su_member |
Renaming su_member_s structure for convenience.
typedef struct symtable_s symtable |
Renaming symbol table structure for convenience.
typedef struct thr_link_s thr_link |
Renaming thr_link structure for convenience.
typedef struct thr_list_s thr_list |
Renaming thr_list structure for convenience.
typedef struct typedef_item_s typedef_item |
Renaming typedef_item_s structure for convenience.
typedef unsigned long ulong |
Create an 8-bit unsigned value.
Create an 16-bit unsigned value.
Create a 32-bit unsigned value.
Create a 32-bit real value.
Create a 64-bit unsigned value.
Create a 64-bit real value.
Machine-dependent value.
typedef struct vector_width_s vector_width |
Renaming vector width structure for convenience.
enum bool |
enum cp_indices_e |
Enumeration of coverage point types that are stored in the cps array in the comp_cdd_cov structure.
CP_TYPE_LINE | |
CP_TYPE_TOGGLE | |
CP_TYPE_MEM | |
CP_TYPE_LOGIC | |
CP_TYPE_FSM | |
CP_TYPE_ASSERT | |
CP_TYPE_NUM |
01248 { 01249 CP_TYPE_LINE, 01250 CP_TYPE_TOGGLE, 01251 CP_TYPE_MEM, 01252 CP_TYPE_LOGIC, 01253 CP_TYPE_FSM, 01254 CP_TYPE_ASSERT, 01255 CP_TYPE_NUM 01256 } cp_indices;
enum exp_op_type_e |
Enumeration of the various expression operations that Covered supports.
00789 { 00790 EXP_OP_STATIC = 0, 00791 EXP_OP_SIG, 00792 EXP_OP_XOR, 00793 EXP_OP_MULTIPLY, 00794 EXP_OP_DIVIDE, 00795 EXP_OP_MOD, 00796 EXP_OP_ADD, 00797 EXP_OP_SUBTRACT, 00798 EXP_OP_AND, 00799 EXP_OP_OR, 00800 EXP_OP_NAND, 00801 EXP_OP_NOR, 00802 EXP_OP_NXOR, 00803 EXP_OP_LT, 00804 EXP_OP_GT, 00805 EXP_OP_LSHIFT, 00806 EXP_OP_RSHIFT, 00807 EXP_OP_EQ, 00808 EXP_OP_CEQ, 00809 EXP_OP_LE, 00810 EXP_OP_GE, 00811 EXP_OP_NE, 00812 EXP_OP_CNE, 00813 EXP_OP_LOR, 00814 EXP_OP_LAND, 00815 EXP_OP_COND, 00816 EXP_OP_COND_SEL, 00817 EXP_OP_UINV, 00818 EXP_OP_UAND, 00819 EXP_OP_UNOT, 00820 EXP_OP_UOR, 00821 EXP_OP_UXOR, 00822 EXP_OP_UNAND, 00823 EXP_OP_UNOR, 00824 EXP_OP_UNXOR, 00825 EXP_OP_SBIT_SEL, 00826 EXP_OP_MBIT_SEL, 00827 EXP_OP_EXPAND, 00828 EXP_OP_CONCAT, 00829 EXP_OP_PEDGE, 00830 EXP_OP_NEDGE, 00831 EXP_OP_AEDGE, 00832 EXP_OP_LAST, 00833 EXP_OP_EOR, 00834 EXP_OP_DELAY, 00835 EXP_OP_CASE, 00836 EXP_OP_CASEX, 00837 EXP_OP_CASEZ, 00838 EXP_OP_DEFAULT, 00839 EXP_OP_LIST, 00840 EXP_OP_PARAM, 00841 EXP_OP_PARAM_SBIT, 00842 EXP_OP_PARAM_MBIT, 00843 EXP_OP_ASSIGN, 00844 EXP_OP_DASSIGN, 00845 EXP_OP_BASSIGN, 00846 EXP_OP_NASSIGN, 00847 EXP_OP_IF, 00848 EXP_OP_FUNC_CALL, 00849 EXP_OP_TASK_CALL, 00850 EXP_OP_TRIGGER, 00851 EXP_OP_NB_CALL, 00852 EXP_OP_FORK, 00853 EXP_OP_JOIN, 00854 EXP_OP_DISABLE, 00855 EXP_OP_REPEAT, 00856 EXP_OP_WHILE, 00857 EXP_OP_ALSHIFT, 00858 EXP_OP_ARSHIFT, 00859 EXP_OP_SLIST, 00860 EXP_OP_EXPONENT, 00861 EXP_OP_PASSIGN, 00862 EXP_OP_RASSIGN, 00863 EXP_OP_MBIT_POS, 00864 EXP_OP_MBIT_NEG, 00865 EXP_OP_PARAM_MBIT_POS, 00866 EXP_OP_PARAM_MBIT_NEG, 00867 EXP_OP_NEGATE, 00868 EXP_OP_NOOP, 00869 EXP_OP_ALWAYS_COMB, 00870 EXP_OP_ALWAYS_LATCH, 00871 EXP_OP_IINC, 00872 EXP_OP_PINC, 00873 EXP_OP_IDEC, 00874 EXP_OP_PDEC, 00875 EXP_OP_DLY_ASSIGN, 00876 EXP_OP_DLY_OP, 00877 EXP_OP_RPT_DLY, 00878 EXP_OP_DIM, 00879 EXP_OP_WAIT, 00880 EXP_OP_SFINISH, 00881 EXP_OP_SSTOP, 00882 EXP_OP_ADD_A, 00883 EXP_OP_SUB_A, 00884 EXP_OP_MLT_A, 00885 EXP_OP_DIV_A, 00886 EXP_OP_MOD_A, 00887 EXP_OP_AND_A, 00888 EXP_OP_OR_A, 00889 EXP_OP_XOR_A, 00890 EXP_OP_LS_A, 00891 EXP_OP_RS_A, 00892 EXP_OP_ALS_A, 00893 EXP_OP_ARS_A, 00894 EXP_OP_FOREVER, 00895 EXP_OP_STIME, 00896 EXP_OP_SRANDOM, 00897 EXP_OP_PLIST, 00898 EXP_OP_SASSIGN, 00899 EXP_OP_SSRANDOM, 00900 EXP_OP_SURANDOM, 00901 EXP_OP_SURAND_RANGE, 00902 EXP_OP_SR2B, 00903 EXP_OP_SB2R, 00904 EXP_OP_SSR2B, 00905 EXP_OP_SB2SR, 00906 EXP_OP_SI2R, 00907 EXP_OP_SR2I, 00908 EXP_OP_STESTARGS, 00909 EXP_OP_SVALARGS, 00910 EXP_OP_SSIGNED, 00911 EXP_OP_SUNSIGNED, 00912 EXP_OP_SCLOG2, 00913 EXP_OP_SREALTIME, 00914 EXP_OP_NUM 00915 } exp_op_type;
enum logic_rm_type_e |
Reasons for excluding a logic block from coverage consideration.
00779 { 00780 LOGIC_RM_REAL = 0, 00781 LOGIC_RM_SYSFUNC, 00782 LOGIC_RM_SYSTASK, 00783 LOGIC_RM_NUM 00784 } logic_rm_type;
enum rpt_type_e |
Enumeration of report types to output.
01261 { 01262 RPT_TYPE_HIT, 01263 RPT_TYPE_MISS, 01264 RPT_TYPE_EXCL 01265 } rpt_type;
define_exception_type | ( | int | ) |
This will define the exception type that gets thrown (Covered does not care about this value)
struct exception_context the_exception_context[1] |
Exception context structure used by cexcept.h for throwing and catching exceptions.
Referenced by covered_sim_calltf(), and main().