Package: td_target_support_pkg

Signals

Name Type Description
global_vvc_ack std_logic ACK on global triggers
global_vvc_busy std_logic ACK on global triggers

Constants

Name Type Value Description
C_VVC_TARGET_RECORD_DEFAULT t_vvc_target_record_unresolved ( trigger => 'L',
vvc_name => (others => '?'),
vvc_instance_idx => -1,
vvc_channel => NA )
C_VVC_INDEX_NOT_FOUND integer -1

Types

Name Type Description
t_vvc_target_record_unresolved
t_vvc_target_record_drivers array (natural range <> ) of t_vvc_target_record_unresolved

Functions

Description

to_string

to_string method for VVC name, instance and channel

  • If channel is set to NA, it will not be included in the string

Description

send_command_to_vvc

Sends command to VVC and waits for ACK or timeout

  • Logs with ID_UVVM_SEND_CMD when sending to VVC
  • Logs with ID_UVVM_CMD_ACK when ACK or timeout occurs

Description

set_vvc_target_defaults

Returns a vvc target record with vvc_name and values specified in C_VVC_TARGET_RECORD_DEFAULT

Description

set_general_target_and_command_fields

Sets target index and channel, and updates shared_vvc_cmd

Description

set_general_target_and_command_fields

Sets target index and channel, and updates shared_vvc_cmd

Description

acknowledge_cmd

Drives global_vvc_ack signal (to '1') for 1 delta cycle, then sets it back to 'Z'.

Description

Helper procedure for getting the VVC index in the VVC activity register
and the number of instances of this VVC.