User commands section, Cfg_rd – Altera PCI Compiler User Manual
Page 337
Altera Corporation
User Guide Version 11.1
8–7
October 2011
PCI Compiler
Testbench
USER COMMANDS Section
The master transactor USER COMMANDS section contains the
commands that initiate the PCI transactions you want to run for your
tests. The list of events that are executed by these commands is defined in
the PROCEDURES and TASKS sections. Customize the USER
COMMANDS section to execute the sequence of commands needed to
test your design.
shows the commands that the master transactor supports.
cfg_rd
The cfg_rd command performs single-cycle PCI configuration read
transactions with the address provided in the command argument.
Table 8–4. Supported Master Transactor Commands
Command Name
Action
cfg_rd
Performs a configuration read
cfg_wr
Performs a configuration write
mem_wr_32
Performs a 32-bit memory write
mem_rd_32
Performs a 32-bit memory read
mem_wr_64
Performs a 64-bit memory write
mem_rd_64
Performs a 64-bit memory read
io_rd
Performs an I/O read
io_wr
Performs an I/O write
Syntax:
cfg_rd(address)
Arguments:
address
Transaction address. This value must be in
hexadecimal radix.