beautypg.com

Himage4, Himage8, Himage16 – Altera Arria V Avalon-ST User Manual

Page 218

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

.

16-48

himage4

2014.12.15

Altera Corporation

Testbench and Design Example

Send Feedback

This manual is related to the following products: