Dimage3, Dimage4, Dimage5 – Altera Arria 10 Avalon-MM User Manual

Page 191

Advertising
background image

dimage3

This function creates a three-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 3-digit decimal representation of the input argument

that is padded with leading 0s if necessary. Return data is type

reg

with a

range

of 24:1.

Returns the letter U if the value cannot be represented.

dimage4

This function creates a four-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 4-digit decimal representation of the input argument

that is padded with leading 0s if necessary. Return data is type

reg

with a

range

of 32:1.

Returns the letter U if the value cannot be represented.

dimage5

This function creates a five-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.

UG-01145_avmm

2015.05.14

dimage3

14-41

Avalon-MM Testbench and Design Example

Altera Corporation

Send Feedback

Advertising