Mem_rd_64, Io_wr, Io_rd – Altera PCI Compiler User Manual

Page 341

Advertising
background image

Altera Corporation

User Guide Version 11.1

8–11

October 2011

PCI Compiler

Testbench

mem_rd_64

The mem_rd_64 command performs memory read transactions with the
address provided in the command argument. This command can perform
single-cycle or burst 64-bit memory read depending on the value of the
qword argument.

If the qword value is one, the command performs a single-cycle
transaction.

If the qword value is greater than one, the command performs a
burst transaction.

io_wr

The io_wr command performs a single-cycle memory write transaction
with the address and data provided in the command arguments.

io_rd

The io_rd command performs single-cycle I/O read transactions with
the address provided in the command argument.

Syntax:

mem_rd_32(address, qword)

Arguments:

address

Transaction address. This value must be in
hexadecimal radix.

qword

The number

QWORD

s read in the transaction. A

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

Syntax:

io_wr(address, data)

Arguments:

address

Transaction address. This value must be
in hexadecimal radix.

data

Data written during the transaction. This
value must be in hexadecimal radix.

Syntax:

io_rd(address)

Arguments:

address

Transaction address. This value must be in
hexadecimal radix.

Advertising