Altera Avalon Verification IP Suite Manual de usuario Pagina 18

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 178
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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.
Vista de pagina 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 ... 177 178

Comentarios a estos manuales

Sin comentarios