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.1. Shared Memory Constants

The following constants are defined in altrpcietb_g3bfm_shmem.v. They select a data pattern for the shmem_fill and shmem_chk_ok routines. These shared memory constants are all Verilog HDL type integer.

Table 9.  Constants: Verilog HDL Type INTEGER

Constant

Description

SHMEM_FILL_ZEROS

Specifies a data pattern of all zeros.

SHMEM_FILL_BYTE_INC

Specifies a data pattern of incrementing 8-bit bytes (0x00, 0x01, 0x02, etc.).

SHMEM_FILL_WORD_INC

Specifies a data pattern of incrementing 16-bit words (0x0000, 0x0001, 0x0002, etc.).

SHMEM_FILL_DWORD_INC

Specifies a data pattern of incrementing 32-bit DWORDs (0x00000000, 0x00000001, 0x00000002, etc.).

SHMEM_FILL_QWORD_INC

Specifies a data pattern of incrementing 64-bit qwords (0x0000000000000000, 0x0000000000000001, 0x0000000000000002, etc.).

SHMEM_FILL_ONE

Specifies a data pattern of all ones.