Altera Avalon Verification IP Suite Manuel d'utilisateur Page 18

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 178
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.
Vue de la page 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 ... 177 178

Commentaires sur ces manuels

Pas de commentaire