L-Tile and H-Tile Avalon® Memory-mapped+ Intel® FPGA IP for PCI Express* User Guide

ID 683527
Date 3/05/2024
Public
Document Table of Contents

C.12.7. dimage2

This function creates a two-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 2-digit decimal representation of the input argument that is padded with leading 0s if necessary. Return data is type reg with a range of 16:1.

Returns the letter U if the value cannot be represented.