Entity: avalon_st_vvc

Diagram

boolean GC_VVC_IS_MASTER integer GC_CHANNEL_WIDTH integer GC_DATA_WIDTH integer GC_DATA_ERROR_WIDTH integer GC_EMPTY_WIDTH natural GC_INSTANCE_IDX t_avalon_st_bfm_config GC_AVALON_ST_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_avalon_st_if avalon_st_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 Avalon-Stream master. Data is output from BFM. When false: This VVC is an Avalon-Stream slave. Data is input to BFM.
GC_CHANNEL_WIDTH integer 1
GC_DATA_WIDTH integer
GC_DATA_ERROR_WIDTH integer 1
GC_EMPTY_WIDTH integer 1
GC_INSTANCE_IDX natural
GC_AVALON_ST_BFM_CONFIG t_avalon_st_bfm_config C_AVALON_ST_BFM_CONFIG_DEFAULT
GC_CMD_QUEUE_COUNT_MAX natural 1000 Common VVC fields
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
avalon_st_vvc_if inout t_avalon_st_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 ==========================================================================================