Altera IP Compiler for PCI Express Manual do Utilizador Página 281

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 372
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 280
Chapter 15: Testbench and Design Example 15–49
BFM Procedures and Functions
August 2014 Altera Corporation IP Compiler for PCI Express User Guide
dimage1
This function creates a one-digit decimal string representation of the input argument
that can be concatenated into a larger message string and passed to
ebfm_display
.
dimage2
This function creates a two-digit decimal string representation of the input argument
that can be concatenated into a larger message string and passed to
ebfm_display
.
dimage3
This function creates a three-digit decimal string representation of the input argument
that can be concatenated into a larger message string and passed to
ebfm_display
.
Argument range
vec
Input data type reg with a range of 63:0.
Return range
string
Returns a 16-digit hexadecimal representation of the input argument, padded with leading
0s, if they are needed. Return data is type
reg
with a
range
of 128:1.
Table 15–52. himage16
Table 15–53. dimage1
Location altpcietb_bfm_log.v
syntax
string:= dimage(vec)
Argument range
vec
Input data type
reg
with a
range
of 31:0.
Return range
string
Returns a 1-digit decimal representation of the input argument that is padded with leading
0s if necessary. Return data is type
reg
with a
range
of 8:1.
Returns the letter U if the value cannot be represented.
Table 15–54. dimage2
Location altpcietb_bfm_log.v
syntax
string:= dimage(vec)
Argument range
vec
Input data type
reg
with a
range
of 31:0.
Return range
string
Returns a 2-digit decimal representation of the input argument that is padded with leading
0s if necessary. Return data is type
reg
with a
range
of 16:1.
Returns the letter U if the value cannot be represented.
Table 15–55. dimage3
Location altpcietb_bfm_log.v
syntax
string:= dimage(vec)
Argument range
vec
Input data type
reg
with a
range
of 31:0.
Return range string
Returns a 3-digit decimal representation of the input argument that is padded with leading
0s if necessary. Return data is type
reg
with a
range
of 24:1.
Returns the letter U if the value cannot be represented.
Vista de página 280
1 2 ... 276 277 278 279 280 281 282 283 284 285 286 ... 371 372

Comentários a estes Manuais

Sem comentários