Altera PCI Compiler User Manual
Page 214

4–4
User Guide Version 11.1
Altera Corporation
PCI Compiler
October 2011
PCI Testbench Files
describes the reference design files provided in the local_bfm
directory, For more information on these files refer to
.
The example directory (
) contains the following subgroups of
files:
■
Testbench files modified to simulate the reference design provided
in local_bfm
■
A top-level design file
■
Simulation scripts
Table 4–2. Files Contained in the local_bfm Directory
Description
This module serves as a direct memory access (DMA)
engine for the reference design
This module generates a
lm_lastn
signal for
local_master
This module initiates master transactions from the local side.
The DMA engine triggers the state machine inside
local_master
.
local_target
The module consists of a simple target state machine that
performs 32 or 64-bit memory read/write transactions with
the LPM memory and 32-bit single-cycle IO read/write
transactions with an I/O register defined in the local target
prefetch
This module is used to prefetch the data from a memory
block during burst target read transactions and burst master
write transactions.
lpm_ram_32
This module is used to instantiate 1 KByte of RAM. This RAM
is accessible by both
local_target
and
local_master
.
local_top
This module instantiates all the local reference design
modules.
(1)
All files are provided in both VHDL and Verilog HDL.
(2)
Not applicable to the pci_t32 and pci_t64 MegaCore functions.