This is the OFS Agilex 7 PCIe Attach FPGA development top-level directory. This repository supports targeting the same design to multiple board configurations specified in syn/board/<board_name> folder.
The configurations described here are included as examples in the reference release. Users may construct their own .ofss settings files. For example, the number of PFs or VFs could be changed in any PCIe configuration.
OFSS settings control PCIe configuration, primary clock frequency, local memory and Ethernet topology.
Work directory names in the commands below are merely examples and may be changed.
-
n6001
- Default .ip parameters are based on n6001 design
./ofs-common/scripts/common/syn/build_top.sh -p n6001 work_n6001
- Additionally, the n6001 FIM supports reconfiguring the IP via .ofss flow. For example, to change the HSSI configuration pass the .ofss files below:
# n6001 with 2x100G ./ofs-common/scripts/common/syn/build_top.sh -p --ofss tools/ofss_config/hssi/hssi_2x100.ofss n6001 work_n6001_2x100 # n6001 with 8x10G ./ofs-common/scripts/common/syn/build_top.sh -p --ofss tools/ofss_config/hssi/hssi_8x10.ofss n6001 work_n6001_8x10
- Multiple IP changes can be combined. This selects a 470 MHz clock and 8x10G Ethernet:
./ofs-common/scripts/common/syn/build_top.sh -p --ofss tools/ofss_config/iopll/iopll_470MHz.ofss,tools/ofss_config/hssi/hssi_8x10.ofss n6001 work_dir
-
fseries-dk
- The default fseries-dk configuration includes Ethernet 8x25G:
./ofs-common/scripts/common/syn/build_top.sh -p fseries-dk work_fseries-dk
-
n6000
./ofs-common/scripts/common/syn/build_top.sh -p n6000 work_n6000
-
iseries-dk
- The default iseries-dk sets PCIe to Gen5x16 and Ethernet to 8x25G. The PCIe data bus width is 1024 bits:
./ofs-common/scripts/common/syn/build_top.sh -p iseries-dk work_iseries-dk
- PCIe may also be configured with 2 independent links, each with 512 bit data buses:
./ofs-common/scripts/common/syn/build_top.sh -p --ofss tools/ofss_config/pcie/pcie_host_2link.ofss iseries-dk work_iseries-dk
- For lower host bandwidth applications, selecting PCIe Gen4x16 will save area by instantiating a 512 bit PCIe data bus:
./ofs-common/scripts/common/syn/build_top.sh -p --ofss tools/ofss_config/pcie/pcie_host_gen4.ofss iseries-dk work_iseries-dk-1link
- Multiple IP configurations may be specified, for example 2 PCIe links and Ethernet 200G:
./ofs-common/scripts/common/syn/build_top.sh -p --ofss tools/ofss_config/pcie/pcie_host_2link.ofss,tools/ofss_config/hssi/hssi_2x200_ftile.ofss iseries-dk work_iseries-dk_200
- Ethernet 400G:
./ofs-common/scripts/common/syn/build_top.sh -p --ofss tools/ofss_config/hssi/hssi_1x400_ftile.ofss iseries-dk work_iseries-dk_400
- Slim FIM with 2 PCIe Gen5x8 links, each with 1PF and 1VF, no HSSI:
./ofs-common/scripts/common/syn/build_top.sh -p --ofss tools/ofss_config/pcie/pcie_host_2link_1pf_1vf.ofss iseries-dk:no_hssi,pr_floorplan=syn/board/iseries-dk/setup/pr_assignments_slim.tcl work_iseries-dk_slim
- Contains resources to report and setup development environment.
- Contains the software repositories needed for OFS/OPAE development and integration.
- Lightweight virtual environment containing the required Python packages needed for this repo and its tools.
- Contains the code and supporting files that define or set up the IP subsystems contained in the FPGA Interface Manager (FIM)
- Contains the license setup software for the version of Quartus used for this distribution/release.
- Contains the scripts, source code, and verification environment resources that are common to all of the repositories.
- This directory is referenced via a link within each of the FPGA-Specific repositories.
- Contains the testbenches and supporting code for all of the unit test simulations.
- Bus Functional Model code is contained here.
- Scripts are included for automating a myriad of tasks.
- All of the individual unit tests and their supporting code is also located here.
- This directory contains all of the structural and behavioral code for the FIM.
- Also included are scripts for generating the AXI buses for module interconnect.
- Top-level RTL for synthesis is located in this directory.
- Accelerated Functional Unit (AFU) infrastructure code is contained in this directory.
- This directory contains all of the scripts, settings, and setup files for running synthesis on the FIM.
- This directory contains the shell and Python scripts that form the OFSS configuration tool.
Please see the following file for more information on this block
- This directory contains all of the scripts, testbenches, and test cases for the supported UVM tests for the FIM.
- NOTE: UVM resources are currently not available in this release due to difficulties in open-sourcing some components. It is hoped that this will be included in future releases.