Entity: axistream_vvc

Diagram

boolean GC_VVC_IS_MASTER integer GC_DATA_WIDTH integer GC_USER_WIDTH integer GC_ID_WIDTH integer GC_DEST_WIDTH natural GC_INSTANCE_IDX natural GC_PACKETINFO_QUEUE_COUNT_MAX t_axistream_bfm_config GC_AXISTREAM_BFM_CONFIG natural GC_CMD_QUEUE_COUNT_MAX natural GC_CMD_QUEUE_COUNT_THRESHOLD t_alert_level GC_CMD_QUEUE_COUNT_THRESHOLD_SEVERITY natural GC_RESULT_QUEUE_COUNT_MAX natural GC_RESULT_QUEUE_COUNT_THRESHOLD t_alert_level GC_RESULT_QUEUE_COUNT_THRESHOLD_SEVERITY std_logic clk t_axistream_if axistream_vvc_if

Description

================================================================================================================================ Copyright 2020 Bitvis Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 and in the provided LICENSE.TXT.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and limitations under the License.

Note : Any functionality not explicitly described in the documentation is subject to change at any time


Description : See library quick reference (under 'doc') and README-file(s)

----------------------------------------------------------------------------------------

Generics

Generic name Type Value Description
GC_VVC_IS_MASTER boolean When true: This VVC is an AXI4 Stream master. Data is output from BFM. When false: This VVC is an AXI4 Stream slave. Data is input to BFM.
GC_DATA_WIDTH integer
GC_USER_WIDTH integer 1
GC_ID_WIDTH integer 1 (Note: STRB_WIDTH = DATA_WIDTH/8)
GC_DEST_WIDTH integer 1
GC_INSTANCE_IDX natural
GC_PACKETINFO_QUEUE_COUNT_MAX natural 1 Number of PacketInfo Queues, normally one per source VVC
GC_AXISTREAM_BFM_CONFIG t_axistream_bfm_config C_AXISTREAM_BFM_CONFIG_DEFAULT
GC_CMD_QUEUE_COUNT_MAX natural 1000
GC_CMD_QUEUE_COUNT_THRESHOLD natural 950
GC_CMD_QUEUE_COUNT_THRESHOLD_SEVERITY t_alert_level warning
GC_RESULT_QUEUE_COUNT_MAX natural 1000
GC_RESULT_QUEUE_COUNT_THRESHOLD natural 950
GC_RESULT_QUEUE_COUNT_THRESHOLD_SEVERITY t_alert_level WARNING

Ports

Port name Direction Type Description
clk in std_logic
axistream_vvc_if inout t_axistream_if

Signals

Name Type Description
executor_is_busy boolean
queue_is_increasing boolean
last_cmd_idx_executed natural
terminate_current_cmd t_flag_record
entry_num_in_vvc_activity_register integer VVC Activity

Constants

Name Type Value Description
C_SCOPE string C_VVC_NAME & ",
" & to_string(GC_INSTANCE_IDX)
C_VVC_LABELS t_vvc_labels assign_vvc_labels(C_SCOPE,
C_VVC_NAME,
GC_INSTANCE_IDX,
NA)

Functions

Description
UVVM: temporary fix for HVVC, remove function below in v3.0

Processes

Description
======================================================================================================================== ======================================================================================================================== Command interpreter - Interpret, decode and acknowledge commands from the central sequencer ========================================================================================================================

Description
======================================================================================================================== ======================================================================================================================== Command executor - Fetch and execute the commands ========================================================================================================================