Package: vvc_cmd_pkg

Description

========================================================================================================================

Constants

Name Type Value Description
C_VVC_CMD_DATA_MAX_LENGTH natural 1024 Create constants for the maximum sizes to use in this VVC. You can create VVCs with smaller sizes than these constants, but not larger. For example, given a VVC with parallel data bus and address bus, constraints should be added for maximum data length and address length Example:
C_VVC_CMD_ADDR_MAX_LENGTH natural 64
C_VVC_CMD_STRING_MAX_LENGTH natural 300
C_VVC_CMD_DEFAULT t_vvc_cmd_record ( addr => (others => '0'),
data => (others => '0'),
max_receptions => 1,
-- Common VVC fields operation => NO_OPERATION,
proc_call => (others => NUL),
msg => (others => NUL),
data_routing => NA,
cmd_idx => 0,
command_type => NO_COMMAND_TYPE,
msg_id => NO_ID,
gen_integer_array => (others => -1),
gen_boolean => false,
timeout => 0 ns,
alert_level => FAILURE,
delay => 0 ns,
quietness => NON_QUIET,
parent_msg_id_panel => C_UNUSED_MSG_ID_PANEL )

Types

Name Type Description
t_operation ( NO_OPERATION,
AWAIT_COMPLETION,
AWAIT_ANY_COMPLETION,
ENABLE_LOG_MSG,
DISABLE_LOG_MSG,
FLUSH_COMMAND_QUEUE,
FETCH_RESULT,
INSERT_DELAY,
TERMINATE_CURRENT_COMMAND,
WRITE,
READ,
CHECK )
t_vvc_cmd_record ======================================================================================================================== t_vvc_cmd_record - Record type used for communication with the VVC ========================================================================================================================
t_vvc_result_queue_element
t_vvc_response
t_last_received_cmd_idx array (t_channel range <>,
natural range <>) of integer
=============================================================================================== t_last_received_cmd_idx : - Used to store the last queued cmd in vvc interpreter. ===============================================================================================