Altera HyperTransport MegaCore Function User Manual
Page 26
2–18
Chapter 2: Getting Started
Example Simulation and Compilation
HyperTransport MegaCore Function User Guide
© November 2009
Altera Corporation
About the Test Vectors
The example design has a host connected to an instance of the HyperTransport
MegaCore function configured as an end-chain link. When simulating the receive link
interface, the following events occur:
1. The host configures the end chain link’s
BAR0
with
0xfa000000
. It then writes
0x01
as the
UnitID
and
0x0007
in the command register of the device header
space.
2. The host writes double-word data with data ranging from 1 to 16 DWORDs to the
posted channel followed by a byte write with data ranging from 1 to 8 DWORDs.
3. The host writes double-word data with data ranging from 1 to 16 DWORDs to the
non-posted channel followed by a byte write with data ranging from 1 to 8
DWORDs.
4. The host performs a read request with data ranging from 1 to 16 DWORDs to the
non-posted channel followed by a byte read request with data ranging from 1 to 8
DWORDs.
Analyzing the transmit local-side interface, the following sequence of events occurs:
1. The local side writes double word data with data ranging from 1 to 16 DWORDs to
the posted channel followed by a byte write with data ranging from 1 to 8
DWORDs.
2. The local side writes double word data with data ranging from 1 to 16 DWORDs to
the non-posted channel followed by a byte write with data ranging from 1 to 8
DWORDs.
3. The local side performs a read request with data ranging from 1 to 16 DWORDs to
the non-posted channel followed by a byte read request with data ranging from 1
to 8 DWORDs.