beautypg.com

Altera Avalon Verification IP Suite User Manual

Page 63

background image

4–2

Chapter 4: Avalon-MM Slave BFM with Avalon-ST API Wrapper

Avalon Verification IP Suite User Guide

May 2011

Altera Corporation

In

Figure 4–1

, the API call interface and Avalon-ST call and return interface operate in

separate clock domains with

av_clk

synchronizing the FPGA logic and

api_clk

synchronizing the Avalon-ST translation interface. The Avalon-ST interface, which is
not part of the actual hardware design, operates at a much faster frequency than the
Avalon-MM Slave BFM interface, enabling 1000 API calls and returns to be issued to
the BFM per Avalon clock cycle.

For every function call in the BFM, there is a channel identifier that stores the fixed
mapping between channel number and the function.
<$install_dir>/ip/altera/sopc_builder_ip/verification/lib/
altera_avalon_components_pkg.vhd

defines the following function calls:

MM_SLV_SIGNAL_FATAL_ERROR

MM_SLV_SIGNAL_ERROR_EXCEED_MAX_PENDING_READS

MM_SLV_SIGNAL_COMMAND_RECEIVED

MM_SLV_SIGNAL_RESP_ISSUED

MM_SLV_SIGNAL_RESERVED_4

MM_SLV_SIGNAL_RESERVED_5

MM_SLV_SIGNAL_RESERVED_6

MM_SLV_SIGNAL_RESERVED_7

With the exception of the API wrapper, the Avalon-MM Slave BFM with Avalon-ST
API Wrapper component is identical to the Avalon-MM Slave BFM. For more
information about this component, refer to

Chapter 3, Avalon-MM Slave BFM

.