Himage4, Himage8, Himage16 – Altera Arria 10 Avalon-MM User Manual

Page 189

Advertising
background image

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

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

.

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.

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

.

Location

altpcietb_bfm_driver_rp.v

Syntax

string:= himage(vec)

Argument

range

vec

Input data type reg with a range of 31:0.

Return

range

string

Returns an 8-digit hexadecimal representation of the input

argument, padded with leading 0s, if they are needed. Return

data is type

reg

with a

range

of 64:1.

himage16

This function creates a 16-digit hexadecimal string representation of the input argument that can be

concatenated into a larger message string and passed to

ebfm_display

.

UG-01145_avmm

2015.05.14

himage4

14-39

Avalon-MM Testbench and Design Example

Altera Corporation

Send Feedback

Advertising