Altera Arria 10 Avalon-MM Bedienungsanleitung Seite 188

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 212
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 187
Related Information
BFM Log and Message Procedures on page 14-34
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.
14-38
ebfm_log_open Verilog HDL Function
UG-01145_avmm
2015.05.14
Altera Corporation
Avalon-MM Testbench and Design Example
Send Feedback
Seitenansicht 187
1 2 ... 183 184 185 186 187 188 189 190 191 192 193 ... 211 212

Kommentare zu diesen Handbüchern

Keine Kommentare