AMX DESIGN XPRESS V 1.5 - PROGRAMMER GUIDE Podręcznik Użytkownika Strona 263

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 288
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 262
Chapter 17: Testbench and Design Example 17–41
BFM Procedures and Functions
December 2013 Altera Corporation Cyclone V Hard IP for PCI Express
User Guide
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
.
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
.
himage4
This function creates a four-digit hexadecimal string representation of the input
argument can be concatenated into a larger message string and passed to
ebfm_display
.
himage8
This function creates an 8-digit hexadecimal string representation of the input
argument that can be concatenated into a larger message string and passed to
ebfm_display
.
Table 17–43. himage1
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
Table 17–44. himage2
Location altpcietb_bfm_driver_rp.v
syntax
string:= himage(vec)
Argument range
vec
Input data type
reg
with a
range
of 7:0.
Return range
string
Returns a 2-digit hexadecimal presentation of the input argument, padded with leading
0s, if they are needed. Return data is type
reg
with a
range
of 16:1
Table 17–45. himage4
Location altpcietb_bfm_driver_rp.v
syntax
string:= himage(vec)
Argument range
vec
Input data type
reg
with a
range
of 15:0.
Return range
Returns a four-digit hexadecimal representation of the input argument, padded with leading
0s, if they are needed. Return data is type
reg
with a
range
of 32:1.
Table 17–46. himage8
Location altpcietb_bfm_driver_rp.v
syntax
string:= himage(vec)
Przeglądanie stron 262
1 2 ... 258 259 260 261 262 263 264 265 266 267 268 ... 287 288

Komentarze do niniejszej Instrukcji

Brak uwag