Coverage group, Set_enable_c_b2b_read_read(), Set_enable_c_b2b_read_write() – Altera Avalon Verification IP Suite User Manual
Page 73: Set_enable_c_b2b_write_read(), Coverage group –10

5–10
Chapter 5: Avalon-MM Monitor
Application Program Interface
Avalon Verification IP Suite User Guide
May 2011
Altera Corporation
Coverage Group
Coverage group ensures that the verification suite tests all expected functionality of
the interface. For example, the
cover_b2b_read_write
method ensures that the
verification suite includes a test for sequential read and write commands. The
Avalon-MM Monitor includes 30 coverage groups. By default all coverage groups are
enabled. However, depending on the parameterization of a the Avalon-MM interface,
some coverage groups are automatically disabled. For example, if the interface does
not allow burst transfers, the coverage groups that test burst transfers are
automatically disabled. The names of all methods that enable coverage functionality
begin with
set_enable_c
.
To generate the coverage report when using the Synopsys VCS simulator, use the
following command:
urg –dir simv.vdb
r
To generate the coverage report when using the ModelSim-Altera software, use the
following command:
run –all
r
coverage report –details –file report.rpt
r
set_enable_c_b2b_read_read()
set_enable_c_b2b_read_write()
set_enable_c_b2b_write_read()
Prototype:
set_enable_c_b2b_read_read().
Arguments:
Boolean
.
Returns:
void
.
Description:
Enables a coverage group to test back-to-back read transfers. This method
is disabled when reads are not supported.
Prototype:
set_enable_c_b2b_read_write().
Arguments:
Boolean
.
Returns:
void
.
Description:
Enables a coverage group to test a read transfer immediately followed by a
write transfer. This method is disabled when reads or writes are not
supported.
Prototype:
set_enable_c_b2b_write_read().
Arguments:
Boolean
.
Returns:
void
.
Description:
Enables a coverage group to test a write transfer immediately followed by a
read. This method is disabled if either reads or writes are not supported.