Dimage6, Dimage7 – Altera Arria V Avalon-ST User Manual

Page 221

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.

2014.12.15

dimage6

16-51

Testbench and Design Example

Altera Corporation

Send Feedback

Advertising
This manual is related to the following products: