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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 178
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 125
Chapter 1: Conduit BFM 1–3
Application Program Interface
May 2011 Altera Corporation Avalon Verification IP Suite User Guide
Application Program Interface
This section describes the API for the Conduit BFM.
get_<role name>()
get_version()
set_<role name>()
set_<role name>_oe()
signal_input_<role name>_change
Prototype:
int
<<
width of the role name port
>
get_
<
role name
>
()
.
Arguments: None.
Returns:
Int
<
width of the role name port
>.
Description: Returns interface signal value from the input/bidirectional port.
Prototype:
string get_version()
.
Arguments: None.
Returns:
String.
Description: Returns BFM version as a string of three integers separated by periods. For example,
version 10.1 sp1 is encoded as "10.1.1".
Prototype:
void set_<role name>()
.
Arguments:
new_value.
Returns:
void.
Description: Rewrites the registers inside the BFMs that are driven to the <
role name
> output ports.
Prototype:
void set_<role name>_oe()
.
Arguments: bit enable.
Returns:
void
Description: Enables the bidirectional ports when the value is set to 1.
Prototype:
signal_input_<role name>_change
.
Arguments: None.
Returns:
void.
Description: Triggers when the input signal for a particular port changes its value. For a bidirectional
port, this event is only triggered if its input value defers from its last input value.
Vista de página 125
1 2 ... 121 122 123 124 125 126 127 128 129 130 131 ... 177 178

Comentários a estes Manuais

Sem comentários