R-Tile Avalon® Streaming Intel® FPGA IP for PCI Express* Design Example User Guide

ID 683544
Date 11/05/2024
Public
Document Table of Contents

2.4.5.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, leng, word_size, flag_addr, msg_type);

Arguments

addr

BFM shared memory starting address for displaying data.

leng

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.