Initialization section – Altera PCI Compiler User Manual

Page 336

Advertising
background image

8–6

User Guide Version 11.1

Altera Corporation

PCI Compiler

October 2011

Testbench Specifications

The master transactor terminates the PCI transactions in the following
cases:

The PCI transaction has successfully transferred all the intended
data.

The PCI target terminates the transaction prematurely with a target
retry, disconnect, or abort as defined in the PCI Local Bus Specification,
Revision 3.0.

A target does not claim the transaction resulting in a master abort.

The bus monitor informs the master transactor of a successful data
transaction or a target termination. Refer to the source code, which shows
you how the master transactor uses these termination signals from the
bus monitor.

The PCI testbench master transactor PROCEDURES and TASKS sections
implement basic PCI transaction functionality. If your application
requires different functionality, modify the events to change the behavior
of the master transactor. Additionally, you can create new procedures or
tasks in the master transactor by using the existing events as an example.

INITIALIZATION Section

This user-defined section defines the parameters and reset length of your
PCI bus on power-up. Specifically, the system should reset the bus and
write the configuration space of the PCI agents. You can modify the
master transactor INITIALIZATION section to match your system
requirements by changing the time that the system reset is asserted and
by modifying the data written in the configuration space of the PCI
agents.

Advertising