Mem_rd_32 – Altera PCI Compiler User Manual

Page 339

Advertising
background image

Altera Corporation

User Guide Version 11.1

8–9

October 2011

PCI Compiler

Testbench

mem_rd_32

The mem_rd_32 command performs a memory read with the address
provided in the command argument. This command can perform single-
cycle or burst 32-bit memory read depending on the value of the dword
argument.

If the dword value is 1, the command performs a single-cycle
transaction.

If the dword value is greater than 1, the command performs a burst
transaction.

Syntax:

mem_rd_32(address, dword)

Arguments:

address

Transaction address. This value must be in
hexadecimal radix.

dword

The number of

DWORD

s read during the

transaction. A value of one indicates a
single-cycle memory read transaction. A value
greater than one indicates a burst transaction.
This value must be an integer.

Advertising