IPR-PCIE/8 Altera, IPR-PCIE/8 Datasheet - Page 173

IP CORE Renewal Of IP-PCIE/8

IPR-PCIE/8

Manufacturer Part Number
IPR-PCIE/8
Description
IP CORE Renewal Of IP-PCIE/8
Manufacturer
Altera
Type
MegaCorer
Datasheets

Specifications of IPR-PCIE/8

Software Application
IP CORE, Interface And Protocols, PCI
Supported Families
Arria GX, Cyclone II, HardCopy II, Stratix II
Core Architecture
FPGA
Core Sub-architecture
Arria, Cyclone, Stratix
Rohs Compliant
NA
Function
PCI Express Compiler, x8 Link Width
License
Renewal License
Lead Free Status / RoHS Status
na
Lead Free Status / RoHS Status
na
Testbench & Example Designs
Altera Corporation
December 2006
BFM Test Driver Module for Chaining DMA Example Design
The BFM driver module generated by the MegaWizard interface during
the generate step is configured to test the chain DMA example endpoint
design. The BFM driver module configures the endpoint configuration
space registers and then tests the example endpoint chaining DMA
channel.
For a VHDL version of this file, see:
<variation name>_example_chaining_dma/testbench/
<variation name>_altpcietb_bfm_driver_chaining.vhd
For a Verilog HDL file, see:
<variation name>_example_chaining_dma/testbench/
<variation name>_altpcietb_bfm_driver_chaining.v
The BFM test driver module performs the following steps in sequence:
1.
2.
3.
DMA Write Cycles
The procedure dma_wr_test used for DMA writes uses the following
steps:
1.
e.
Configures the root port and endpoint configuration spaces, which
the BFM test driver module does by calling the procedure
ebfm_cfg_rp_ep, which is part of altpcierd_bfm_configure.
Finds a suitable BAR to access the example endpoint design control
register space. One of BARs, 2 or 3, must be at least a 128 byte
memory BAR to perform the DMA channel test. The
find_mem_bar procedure in the altpcietb_bfm_driver_chaining
does this.
If a suitable BAR is found in the previous step, the example
endpoint design chaining DMA is tested by the procedure
chained_dma_test in the altpcietb_bfm_driver. This procedure
is a wrapper which calls the procedures dma_wr_test and
dma_rd_test for respectively DMA write and DMA read, based
on the value of the direction argument.
Configure the BFM shared memory. This is done with three
descriptors tables with the content shown below:
PCI Express Compiler Version 6.1
The simulation is stopped by calling the procedure
ebfm_log_stop_sim in altpcieb_bfm_log.
PCI Express Compiler User Guide
5–23

Related parts for IPR-PCIE/8