L- and H-Tile Avalon® Streaming and Single Root I/O Virtualization (SR-IOV) Intel® FPGA IP for PCI Express* User Guide

ID 683111
Date 4/23/2024
Public
Document Table of Contents

9.4.10.4. shmem_display Verilog HDL Function

The shmem_display Verilog HDL function displays a block of data from the BFM shared memory.

Location

altrpcietb_g3bfm_shmem.v

Syntax

dummy_return:=shmem_display(addr, length, word_size, flag_addr, msg_type);

Arguments

addr

BFM shared memory starting address for displaying data.

length

Length, in bytes, of data to display.

word_size

Size of the words to display. Groups individual bytes into words. Valid values are 1, 2, 4, and 8.

flag_addr

Adds a <== flag to the end of the display line containing this address. Useful for marking specific data. Set to a value greater than 2**21 (size of BFM shared memory) to suppress the flag.

msg_type

Specifies the message type to be displayed at the beginning of each line. See “BFM Log and Message Procedures” on pages 18–37 for more information about message types. Set to one of the constants defined in Tables 18–36 on pages 18–41.