Altera Avalon Verification IP Suite Uživatelský manuál Strana 73

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 178
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 72
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.
Zobrazit stránku 72
1 2 ... 68 69 70 71 72 73 74 75 76 77 78 ... 177 178

Komentáře k této Příručce

Žádné komentáře