Arria® 10 and Cyclone® 10 GX Avalon® Streaming Interface for PCI Express* User Guide

ID 683647
Date 9/11/2024
Public
Document Table of Contents

16.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_bfm_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.