Package: vvc_methods_pkg
- File: vvc_methods_pkg.vhd
Description
========================================================================================================================
Signals
Name | Type | Description |
---|---|---|
WISHBONE_VVCT | t_vvc_target_record |
Constants
Name | Type | Value | Description |
---|---|---|---|
C_VVC_NAME | string | "WISHBONE_VVC" | |
C_WISHBONE_INTER_BFM_DELAY_DEFAULT | t_inter_bfm_delay | ( delay_type => NO_DELAY, delay_in_time => 0 ns, inter_bfm_delay_violation_severity => WARNING ) |
Type found in UVVM-Util types_pkg |
C_WISHBONE_VVC_CONFIG_DEFAULT | t_vvc_config | ( inter_bfm_delay => C_WISHBONE_INTER_BFM_DELAY_DEFAULT, cmd_queue_count_max => C_CMD_QUEUE_COUNT_MAX, cmd_queue_count_threshold => C_CMD_QUEUE_COUNT_THRESHOLD, cmd_queue_count_threshold_severity => C_CMD_QUEUE_COUNT_THRESHOLD_SEVERITY, result_queue_count_max => C_RESULT_QUEUE_COUNT_MAX, result_queue_count_threshold_severity => C_RESULT_QUEUE_COUNT_THRESHOLD_SEVERITY, result_queue_count_threshold => C_RESULT_QUEUE_COUNT_THRESHOLD, bfm_config => C_WISHBONE_BFM_CONFIG_DEFAULT, msg_id_panel => C_VVC_MSG_ID_PANEL_DEFAULT, parent_msg_id_panel => C_VVC_MSG_ID_PANEL_DEFAULT ) |
|
C_VVC_STATUS_DEFAULT | t_vvc_status | ( current_cmd_idx => 0, previous_cmd_idx => 0, pending_cmd_cnt => 0 ) |
|
C_TRANSACTION_INFO_DEFAULT | t_transaction_info | ( -- Example: operation => NO_OPERATION, addr => (others => '0'), data => (others => '0'), msg => (others => ' ') ) |
Types
Name | Type | Description |
---|---|---|
t_vvc_config | ||
t_vvc_config_array | array (natural range <>) of t_vvc_config | |
t_vvc_status | ||
t_vvc_status_array | array (natural range <>) of t_vvc_status | |
t_transaction_info | Transaction information to include in the wave view during simulation | |
t_transaction_info_array | array (natural range <>) of t_transaction_info |
Functions
- wishbone_write ( signal VVCT : inout t_vvc_target_record;
constant vvc_instance_idx : in integer;
constant addr : in unsigned;
constant data : in std_logic_vector;
constant msg : in string;
constant scope : in string := C_VVC_CMD_SCOPE_DEFAULT;
constant parent_msg_id_panel : in t_msg_id_panel := C_UNUSED_MSG_ID_PANEL -- Only intended for usage by parent HVVCs ) return ()
Description
Methods dedicated to this VVC
- These procedures are called from the testbench in order for the VVC to execute
BFM calls towards the given interface. The VVC interpreter will queue these calls
and then the VVC executor will fetch the commands from the queue and handle the
actual BFM execution.
For details on how the BFM procedures work, see the QuickRef.
- wishbone_read ( signal VVCT : inout t_vvc_target_record;
constant vvc_instance_idx : in integer;
constant addr : in unsigned;
constant data_routing : in t_data_routing;
constant msg : in string;
constant scope : in string := C_VVC_CMD_SCOPE_DEFAULT;
constant parent_msg_id_panel : in t_msg_id_panel := C_UNUSED_MSG_ID_PANEL -- Only intended for usage by parent HVVCs ) return ()
- wishbone_read ( signal VVCT : inout t_vvc_target_record;
constant vvc_instance_idx : in integer;
constant addr : in unsigned;
constant msg : in string;
constant scope : in string := C_VVC_CMD_SCOPE_DEFAULT;
constant parent_msg_id_panel : in t_msg_id_panel := C_UNUSED_MSG_ID_PANEL -- Only intended for usage by parent HVVCs ) return ()
- wishbone_check ( signal VVCT : inout t_vvc_target_record;
constant vvc_instance_idx : in integer;
constant addr : in unsigned;
constant data : in std_logic_vector;
constant msg : in string;
constant alert_level : in t_alert_level := ERROR;
constant scope : in string := C_VVC_CMD_SCOPE_DEFAULT;
constant parent_msg_id_panel : in t_msg_id_panel := C_UNUSED_MSG_ID_PANEL -- Only intended for usage by parent HVVCs ) return ()
- update_vvc_activity_register ( signal global_trigger_vvc_activity_register : inout std_logic;
variable vvc_status : inout t_vvc_status;
constant activity : in t_activity;
constant entry_num_in_vvc_activity_register : in integer;
constant last_cmd_idx_executed : in natural;
constant command_queue_is_empty : in boolean;
constant scope : in string := C_VVC_NAME) return ()
Description
VVC Activity
- pad_wishbone_sb ( constant data : in std_logic_vector ) return std_logic_vector