Avalon Verification IP Suite: User Guide

ID 683439
Date 2/17/2022
Document Table of Contents

5.2. Block Diagram

The following figure provides a block diagram of the Avalon-MM Master BFM. As this figure illustrates, the BFM includes the following major blocks:
  • Avalon-MM Master API—Provides methods to create Avalon-MM transactions and query the state of all queues.
  • Command Descriptor—Accumulates the fields of an Avalon-MM command transaction using the set_command API call. Inserts completed commands onto the pending command queue.
  • Avalon-MM Interface Driver—Issues transfers to the system interconnect fabric and holds each transfer until waitrequest is deasserted. For burst transfers, there is a separate transfer for each word of the burst. The system interconnect fabric can assert waitrequest for each word of the burst, as necessary.
  • Timestamp Counter—Records a timestamp with commands for use in timing calculations. The driver and monitor both use the timestamp counter for timing calculations.
  • Avalon-MM Interface Monitor—Monitors the system interconnect fabric and records responses for read transfers in the response queue.
  • Response Descriptor—Collects information about completed transactions using the get_response_<rolename> API calls. The testbench uses this information for further analysis.
  • Public Events—Provides status response that arrives together with the data. The public event signals indicate the status of the Master’s request, such as successful completion, timeout, or error.
    Figure 6. Block Diagram of the Avalon-MM Master BFM