Mem_wr_64 – Altera PCI Compiler User Manual

Page 340

Advertising
background image

8–10

User Guide Version 11.1

Altera Corporation

PCI Compiler

October 2011

Testbench Specifications

mem_wr_64

The mem_wr_64 command performs a memory write of the data to the
address provided in the command. This command can perform
single-cycle or burst 64-bit memory write depending on the value of the
qword

argument.

This command performs a single-cycle 64-bit memory write if the
qword

value is one.

This command performs a burst-cycle 64-bit memory write if the
qword

value is greater than one. In a burst transaction, the first data

phase uses the data value provided in the command. The
subsequent data phases use values incremented sequentially by one
from the data provided in the command argument.

Syntax:

mem_wr_64(address, data, qword)

Arguments:

address

Transaction address. This value must be in
hexadecimal radix.

data

Data used for first data phase. Subsequent
data phases use a value sequentially
incremented by one from this data. This value
must be in hexadecimal radix.

qword

The number

QWORD

s written in a transaction.

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

Advertising