Dimage1, Dimage2 – Altera Arria 10 Avalon-MM User Manual

Page 190

Advertising
background image

Location

altpcietb_bfm_driver_rp.v

Syntax

string:= himage(vec)

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.

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

.

Location

altpcietb_bfm_driver_rp.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.

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

.

Location

altpcietb_bfm_driver_rp.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.

14-40

dimage1

UG-01145_avmm

2015.05.14

Altera Corporation

Avalon-MM Testbench and Design Example

Send Feedback

Advertising