Stratix V Avalon-ST Interface for PCIe Solutions: User Guide

ID 683093
Date 5/03/2019
Public
Document Table of Contents

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