Arria® 10 and Cyclone® 10 GX Avalon® Memory-Mapped (Avalon-MM) Interface for PCI Express* User Guide

ID 683724
Date 9/10/2024
Public
Document Table of Contents

13.5.10.1. Shared Memory Constants

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

Table 79.  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.