Altera Stratix V Avalon-ST Manual de usuario Pagina 258

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 293
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 257
Related Information
BFM Log and Message Procedures on page 17-43
ebfm_log_open Verilog HDL Function
The ebfm_log_open procedure opens a log file of the specified name. All displayed messages are called by
ebfm_display and are written to this log file as simulator standard output.
Location altpcietb_bfm_driver_rp.v
Syntax
ebfm_log_open (fn)
Argument
fn
This argument is type string and provides the file name of log
file to be opened.
ebfm_log_close Verilog HDL Function
The ebfm_log_close procedure closes the log file opened by a previous call to ebfm_log_open.
Location altpcietb_bfm_driver_rp.v
Syntax
ebfm_log_close
Argument NONE
Verilog HDL Formatting Functions
The Verilog HDL Formatting procedures and functions are available in the altpcietb_bfm_driver_rp.v.
The formatting functions are only used by Verilog HDL. All these functions take one argument of a
specified length and return a vector of a specified length.
himage1
This function creates a one-digit hexadecimal string representation of the input argument that can be
concatenated into a larger message string and passed to ebfm_display.
Location altpcietb_bfm_driver_rp.v
Syntax
string:= himage(vec)
Argument
vec
Input data type reg with a range of 3:0.
Return
range
string
Returns a 1-digit hexadecimal representation of the input
argument. Return data is type reg with a range of 8:1
himage2
This function creates a two-digit hexadecimal string representation of the input argument that can be
concatenated into a larger message string and passed to ebfm_display.
UG-01097_avst
2014.12.15
ebfm_log_open Verilog HDL Function
17-47
Testbench and Design Example
Altera Corporation
Send Feedback
Vista de pagina 257
1 2 ... 253 254 255 256 257 258 259 260 261 262 263 ... 292 293

Comentarios a estos manuales

Sin comentarios