Dimage6, Dimage7 – Altera Arria 10 Avalon-MM User Manual

Page 192

Advertising
background image

Location

altpcietb_bfm_driver_rp.v

Return

range

string

Returns a 5-digit decimal representation of the input argument

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

reg

with a

range

of 40:1.

Returns the letter U if the value cannot be represented.

dimage6

This function creates a six-digit decimal string representation of the input argument that can be concaten‐

ated into a larger message string and passed to

ebfm_display

.

Location

altpcietb_bfm_log.v

Syntax

string:= dimage(vec)

Argument

range

vec

Input data type

reg

with a

range

of 31:0.

Return

range

string

Returns a 6-digit decimal representation of the input argument

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

reg

with a

range

of 48:1.

Returns the letter U if the value cannot be represented.

dimage7

This function creates a seven-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_log.v

Syntax

string:= dimage(vec)

Argument

range

vec

Input data type

reg

with a

range

of 31:0.

Return

range

string

Returns a 7-digit decimal representation of the input argument

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

reg

with a

range

of 56:1.

Returns the letter <U> if the value cannot be represented.

Procedures and Functions Specific to the Chaining DMA Design Example

The procedures specific to the chaining DMA design example are in the Verilog HDL module file

altpcietb_bfm_driver_rp.v.

14-42

dimage6

UG-01145_avmm

2015.05.14

Altera Corporation

Avalon-MM Testbench and Design Example

Send Feedback

Advertising