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

  • 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 17
May 2011 Altera Corporation Avalon Verification IP Suite User Guide
1. Clock Source BFM
The Avalon Verification IP Suite includes a Clock Source BFM that you can use to
generate a clock signal for your testbench.
1 The Clock Source BFM is only supported in Qsys.
Parameters
Table 11 lists the parameter settings for the clock signal.
Application Program Interface
This section describes the API for the Clock Source BFM.
clock_start()
clock_stop()
get_run_state()
Table 1–1. Clock Source BFM Parameter Settings
Option Default Value Legal Values Description
Clock rate 10 Specifies the clock rate in MHz.
Prototype:
clock_start
().
Arguments: None.
Returns:
void
.
Description: Turns on the clock.
Prototype:
clock_stop()
.
Arguments: None.
Returns:
void
.
Description: Turns off the clock.
Prototype:
get_run_state()
.
Arguments: None.
Returns:
bit
.
Description: Returns the state of the clock source; 1=running, 0=stop.
Zobrazit stránku 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 ... 177 178

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

Žádné komentáře