Package: types_pkg
- File: types_pkg.vhd
Constants
Name | Type | Value | Description |
---|---|---|---|
C_LOG_HDR_FOR_WAVEVIEW_WIDTH | natural | 100 | For string in waveview indicating last log header |
C_FLAG_NAME_LENGTH | positive | 20 | |
C_SYNC_FLAG_DEFAULT | t_sync_flag_record | ( flag_name => (others => NUL), is_blocked => true ) |
|
C_WATCHDOG_CTRL_DEFAULT | t_watchdog_ctrl | ( extend => false, restart => false, terminate => false, extension => 0 ns, new_timeout => 0 ns ) |
|
C_INFO_ON_FINISHING_AWAIT_ANY_COMPLETION_VVC_NAME_DEFAULT | string | "no await_any_completion() finshed yet\n" | defaults for t_uvvm_status and t_info_on_finishing_await_any_completion |
C_UVVM_STATUS_DEFAULT | t_uvvm_status | ( found_unexpected_simulation_warnings_or_worse => 0, found_unexpected_simulation_errors_or_worse => 0, mismatch_on_expected_simulation_warnings_or_worse => 0, mismatch_on_expected_simulation_errors_or_worse => 0, info_on_finishing_await_any_completion => (vvc_name => (C_INFO_ON_FINISHING_AWAIT_ANY_COMPLETION_VVC_NAME_DEFAULT, others => ' '), vvc_cmd_idx => 0, vvc_time_of_completion => 0 ns) ) |
|
C_VOID_BFM_CONFIG | t_void_bfm_config | VOID |
Types
Name | Type | Description |
---|---|---|
t_void | (VOID) | |
t_natural_array | array (natural range <>) of natural | |
t_integer_array | array (natural range <>) of integer | |
t_slv_array | array (natural range <>) of std_logic_vector | |
t_slv_array_ptr | ||
t_signed_array | array (natural range <>) of signed | |
t_unsigned_array | array (natural range <>) of unsigned | |
t_natural_vector | array (natural range <>) of natural | Additions to predefined vector types |
t_positive_vector | array (natural range <>) of positive | |
t_info_target | (LOG_INFO, ALERT_INFO, USER_INFO) |
Note: Most types below have a matching to_string() in 'string_methods_pkg.vhd' |
t_alert_level | (NO_ALERT, NOTE, TB_NOTE, WARNING, TB_WARNING, MANUAL_CHECK, ERROR, TB_ERROR, FAILURE, TB_FAILURE) |
|
t_enabled | (ENABLED, DISABLED, NA) |
|
t_attention | (REGARD, EXPECT, IGNORE) |
|
t_radix | (BIN, HEX, DEC, HEX_BIN_IF_INVALID) |
|
t_radix_prefix | (EXCL_RADIX, INCL_RADIX) |
|
t_order | (INTERMEDIATE, FINAL) |
|
t_ascii_allow | (ALLOW_ALL, ALLOW_PRINTABLE_ONLY) |
|
t_blocking_mode | (BLOCKING, NON_BLOCKING) |
|
t_from_point_in_time | (FROM_NOW, FROM_LAST_EVENT) |
|
t_vvc_select | (ANY_OF, ALL_OF, ALL_VVCS) |
|
t_list_action | (KEEP_LIST, CLEAR_LIST) |
|
t_format_zeros | (AS_IS, KEEP_LEADING_0, SKIP_LEADING_0) |
AS_IS is deprecated and will be removed. Use KEEP_LEADING_0. |
t_format_string | (AS_IS, TRUNCATE, SKIP_LEADING_SPACE) |
Deprecated, will be removed. |
t_format_spaces | (KEEP_LEADING_SPACE, SKIP_LEADING_SPACE) |
|
t_truncate_string | (ALLOW_TRUNCATE, DISALLOW_TRUNCATE) |
|
t_log_format | (FORMATTED, UNFORMATTED) |
|
t_log_if_block_empty | (WRITE_HDR_IF_BLOCK_EMPTY, SKIP_LOG_IF_BLOCK_EMPTY, NOTIFY_IF_BLOCK_EMPTY) |
|
t_log_destination | (CONSOLE_AND_LOG, CONSOLE_ONLY, LOG_ONLY) |
|
t_match_strictness | (MATCH_STD, MATCH_STD_INCL_Z, MATCH_EXACT) |
|
t_alert_counters | ||
t_alert_attention | ||
t_attention_counters | Only used to build below type | |
t_alert_attention_counters | ||
t_quietness | (NON_QUIET, QUIET) |
|
t_deprecate_setting | (NO_DEPRECATE, DEPRECATE_ONCE, ALWAYS_DEPRECATE) |
|
t_deprecate_list | ||
t_action_when_transfer_is_done | (RELEASE_LINE_AFTER_TRANSFER, HOLD_LINE_AFTER_TRANSFER) |
|
t_when_to_start_transfer | (START_TRANSFER_IMMEDIATE, START_TRANSFER_ON_NEXT_SS) |
|
t_action_between_words | (RELEASE_LINE_BETWEEN_WORDS, HOLD_LINE_BETWEEN_WORDS) |
|
t_byte_endianness | (LOWER_BYTE_LEFT, LOWER_BYTE_RIGHT, LOWER_WORD_LEFT, LOWER_WORD_RIGHT, FIRST_BYTE_LEFT, FIRST_BYTE_RIGHT) |
|
t_pulse_continuation | (ALLOW_PULSE_CONTINUATION, NO_PULSE_CONTINUATION_ALLOWED) |
|
t_global_ctrl | ||
t_current_log_hdr | ||
t_flag_returning | (KEEP_UNBLOCKED, RETURN_TO_BLOCK) |
value after unblock |
t_sync_flag_record | ||
t_sync_flag_record_array | array (natural range <>) of t_sync_flag_record | |
t_watchdog_ctrl | ||
t_info_on_finishing_await_any_completion | type for identifying VVC and command index finishing await_any_completion() | |
t_uvvm_status | ||
t_justify_center | (center) | |
t_parity | ( PARITY_NONE, PARITY_ODD, PARITY_EVEN ) |
|
t_stop_bits | ( STOP_BITS_ONE, STOP_BITS_ONE_AND_HALF, STOP_BITS_TWO ) |
|
t_check_type | (CHECK_VALUE, CHECK_VALUE_IN_RANGE, CHECK_STABLE, CHECK_TIME_WINDOW) |
|
t_check_counters_array | ||
t_transaction_result | (ACK, NAK, ERROR) |
add more when needed |
t_hierarchy_alert_level_print | ||
t_hierarchy_node | ||
t_bfm_delay_type | (NO_DELAY, TIME_FINISH2START, TIME_START2START) |
|
t_inter_bfm_delay | ||
t_void_bfm_config | (VOID) | |
t_data_routing | ( NA, TO_SB, TO_BUFFER, FROM_BUFFER, TO_RECEIVE_BUFFER) |
|
t_bfm_sync | ( SYNC_ON_CLOCK_ONLY, SYNC_WITH_SETUP_AND_HOLD ) |
TO_FILE and FROM_FILE may be added later on |
t_test_status | (NA, PASS, FAIL) |
|
t_activity | (ACTIVE, INACTIVE) |
|
t_extent_tickoff | (LIST_SINGLE_TICKOFF, LIST_EVERY_TICKOFF) |
|
t_identifier_option | (ENTRY_NUM, POSITION) |
----------------------------------- SB ----------------------------------- Identifier_option: Typically describes what the next parameter means. - ENTRY_NUM : Incremented for each entry added to the queue. Unlike POSITION, the ENTRY_NUMBER will stay the same for this entry, even if entries are inserted before this entry - POSITION : Position of entry in queue, independent of when the entry was inserted. |
t_range_option | (SINGLE, AND_LOWER, AND_HIGHER) |
|
t_tag_usage | (TAG, NO_TAG) |