Altera Avalon Verification IP Suite Manual do Utilizador Página 18

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 178
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 ... 177 178

Comentários a estes Manuais

Sem comentários