beautypg.com

Avalon-mm monitor, Avalon-mm monitor -1 – Altera Avalon Verification IP Suite User Manual

Page 73

background image

7

Avalon-MM Monitor

Subscribe

Send Feedback

The Avalon-MM Monitor verifies Avalon-MM interfaces using SystemVerilog assertions. In addition, it
provides test coverage reports. The coverage reports provide the information necessary to determine when
your test vectors provide sufficient test coverage of the DUT.

The Avalon-MM Monitor is implemented in SystemVerilog and uses the SystemVerilog Assertion (SVA)
language. The SVA language is supported by the Synopsys VCS, and Mentor Graphics Questa simulators.
If you are using ModelSim, the monitor component still compiles and simulates. However, the assertion
checking is disabled.

The following figure shows a testbench that uses an Avalon-MM Monitor to test components with Avalon-
MM interfaces. The monitor’s Avalon-MM Master interface is connected to a component’s Avalon-MM
slave interface. An Avalon-MM Slave interface is connected to a component’s Avalon-MM master interface.
The test program communicates with the monitor. The test program can use the monitor’s assertion checking
and coverage groups to ensure that all legal parameter values for the DUT’s Avalon-MM interface are tested.
The Avalon-MM Monitor also includes a transaction collector feature to collect and monitor transaction
status.

Figure 7-1: Testbench Using an Avalon-MM Monitor with Avalon-MM Interfaces

Testbench

Test Program

System Verilog with VMM

generator

object

instance

generator

object

instance

generator

object

instance

configu-

ration

transactor

Avalon-MM Monitor

M

S

S

Avalon-MM

Slave BFM

Avalon-MM
Master BFM

M

Assertion
Checking

Test

Coverage

API Methods

Transaction

Collector

initial()

ISO

9001:2008
Registered

©

2014 Altera Corporation. All rights reserved. ALTERA, ARRIA, CYCLONE, ENPIRION, MAX, MEGACORE, NIOS, QUARTUS and STRATIX words

and logos are trademarks of Altera Corporation and registered in the U.S. Patent and Trademark Office and in other countries. All other
words and logos identified as trademarks or service marks are the property of their respective holders as described at

www.altera.com/common/legal.html

. Altera warrants performance of its semiconductor products to current specifications in accordance with

Altera's standard warranty, but reserves the right to make changes to any products and services at any time without notice. Altera assumes
no responsibility or liability arising out of the application or use of any information, product, or service described herein except as expressly
agreed to in writing by Altera. Altera customers are advised to obtain the latest version of device specifications before relying on any published
information and before placing orders for products or services.

www.altera.com

101 Innovation Drive, San Jose, CA 95134