Package: ti_vvc_framework_support_pkg

Signals

Name Type Description
VVC_BROADCAST std_logic
global_trigger_vvc_activity_register std_logic ---------------------------------------------------------------------- Common signals for triggering VVC activity in central VVC register ----------------------------------------------------------------------
global_awaiting_completion std_logic_vector(C_MAX_NUM_SEQUENCERS-1 downto 0) ACK on global triggers

Constants

Name Type Value Description
C_VVC_NAME_MAX_LENGTH natural C_MAX_VVC_NAME_LENGTH
C_BROADCAST_CMD_STRING_MAX_LENGTH natural 300
C_VVC_BROADCAST_CMD_DEFAULT t_vvc_broadcast_cmd_record ( operation => NO_CMD,
msg_id => NO_ID,
msg => (others => NUL),
proc_call => (others => NUL),
quietness => NON_QUIET,
delay => 0 ns,
timeout => 0 ns,
gen_integer => -1 )
C_DUT_IF_FIELD_CONFIG_DEFAULT t_dut_if_field_config(dut_address(0 downto 0)) ( dut_address => (others => '0'),
dut_address_increment => 0,
data_width => 8,
use_field => true,
field_description => "default")
C_DUT_IF_FIELD_CONFIG_DIRECTION_ARRAY_DEFAULT t_dut_if_field_config_direction_array(t_direction'low to t_direction'high)(0 to 0)(dut_address(0 downto 0),
field_description(1 to 7))
(others => (others => C_DUT_IF_FIELD_CONFIG_DEFAULT))

Types

Name Type Description
t_immediate_or_queued (NO_command_type,
IMMEDIATE,
QUEUED)
---------------------------------------------------------------------- Common support types for UVVM ----------------------------------------------------------------------
t_flag_record
t_uvvm_state (IDLE,
PHASE_A,
PHASE_B,
INIT_COMPLETED)
t_lastness (LAST,
NOT_LAST)
t_broadcastable_cmd (NO_CMD,
ENABLE_LOG_MSG,
DISABLE_LOG_MSG,
FLUSH_COMMAND_QUEUE,
INSERT_DELAY,
AWAIT_COMPLETION,
TERMINATE_CURRENT_COMMAND)
t_vvc_broadcast_cmd_record
t_vvc_operation (TRANSMIT,
RECEIVE)
Type of operation to be executed by the VVC
t_direction (TRANSMIT,
RECEIVE)
Direction of the interface (used by the IF field config)
t_field_position (FIRST,
MIDDLE,
LAST,
FIRST_AND_LAST)
Position of a field within a packet
t_hvvc_to_bridge
t_bridge_to_hvvc
t_dut_if_field_config
t_dut_if_field_config_array array (natural range <>) of t_dut_if_field_config
t_dut_if_field_config_direction_array array (t_direction range <>) of t_dut_if_field_config_array

Functions

Description

flag_handler

Flag handler is a general flag/semaphore handling mechanism between two separate processes/threads
The idea is to allow one process to set a flag and another to reset it. The flag may then be used by both - or others
May be used for a message from process 1 to process 2 with acknowledge; - like do-something & done, or valid & ack

Description

set_flag

Sets reset and is_active to 'Z' and pulses set_flag

Description

reset_flag

Sets set and is_active to 'Z' and pulses reset_flag

Description

await_uvvm_initialization

Waits until uvvm has been initialized

Description


BROADCAST COMMANDS

*

enable_log_msg (Broadcast)

Enables a log message for all VVCs

Description

disable_log_msg (Broadcast)

Disables a log message for all VVCs

Description

flush_command_queue (Broadcast)

Flushes the command queue for all VVCs

Description

insert_delay (Broadcast)

Inserts delay into all VVCs (specified as number of clock cycles)

Description

insert_delay (Broadcast)

Inserts delay into all VVCs (specified as time)

Description

await_completion (Broadcast)

Wait for all VVCs to finish (specified as time)

Description

terminate_current_command (Broadcast)

terminates all current tasks

Description

terminate_all_commands (Broadcast)

terminates all tasks

Description

transmit_broadcast

Common broadcast transmission routine

Description

await_completion

Awaits completion of any VVC in the list or until timeout.

Description
Awaits completion of all the VVCs in the activity register or until timeout.

Description
============================================================================
Activity Watchdog
============================================================================