Open FPGA Stack Overview¶
Open FPGA Stack (OFS): OFS is an open-source hardware and software framework that reduces the development time for creating your custom platform. Provided within this framework are reference designs targeting different Intel® FPGA devices with upstreamed drivers and management software tools.
The reference shells, called FPGA Interface Manager (FIMs), provide an integrated, timing closed design with the most common interfaces for applications. You can add or subtract interfaces depending on your application requirements. You can leverage the build scripts, RTL, unit tests, Universal Verification Methodology (UVM) environment, software and drivers targeting this reference shell as a starting point for your own FPGA platform solution.
OFS targets Intel Stratix® 10 and Intel Agilex™ FPGA Device Families.
To find out more about Intel FPGAs, visit the Intel Stratix 10 and Intel Agilex pages at Intel.com
How Can I Start Using OFS?¶
If you are board developer you can get started in four basic steps.
Start by selecting the reference FIM that closest matches your requirements and leveraging our evaluation scripts to give OFS a test drive. The reference FIMs can be used as-is or as a starting point for modification, greatly reducing development time.
If you are a workload developer, you can choose between an RTL or OneAPI based design flow.
For all of our designs, we have up-streamed software drivers and user space tools that you can use to get your application up and running quickly. Please refer to our Software Documentation for more details.
Below details the three current reference designs (aka FIMs) you can choose from:
OFS FIM Targeting Intel® Agilex® PCIe Attach Features
Key Feature | Description |
---|---|
PCIe | P-tile PCIe* Gen4x16 |
Virtualization | 5 physical functions/3 virtual functions with ability to expand |
Memory | 5 DDR Channels:* One HPS DDR4 bank, x40 (x32 Data and x8 ECC), 1200 MHz, 1GB each* Four Fabric DDR4 banks, x32 (no ECC), 1200 MHz, 4GB |
Ethernet | 2x4x25GbE |
Hard Processor System | 64-bit quad core Arm® Cortex®-A53 MPCore with integrated peripherals. |
Configuration and Board Manageability | * FPGA Management Engine that provides general control of common FPGA tasks (ex. error reporting, partial reconfiguration) * Platform Controller Management Interface (PMCI) Module for Board Management Controller |
Partial Reconfiguration | Supported |
OneAPI | OneAPI Acceleration Support Package (ASP) provided with compiled FIM to support OneAPI Runtime |
Software Support | * Linux DFL drivers targeting OFS FIMs * OPAE Software Development Kit* OPAE Tools |
Click here for the OFS Collateral for Intel® Agilex® PCIe Attach Reference FIM documentation.
OFS FIM Features Targeting Intel® Agilex® SoC Attach
Key Feature | Description |
---|---|
PCIe | P-tile PCIe* Gen4x16 to the Host P-tile PCIe* Gen4x16 to the SoC (IceLake-D) |
Virtualization | Host: 2 physical functions SoC: 1 physical function and 3 Virtual functions |
Memory | Four Fabric DDR4 banks, x40 (optional ECC, be configured as x32 and ECC x8 ), 1200 MHz, 4GB |
Ethernet | 2x4x25GbE |
Configuration and Board Manageability | * FPGA Management Engine that provides general control of common FPGA tasks (ex. error reporting, partial reconfiguration) * Platform Controller Management Interface (PMCI) Module for Board Management Controller |
Partial Reconfiguration | Supported |
Software Support | * Linux DFL drivers targeting OFS FIMs * OPAE Software Development Kit * OPAE Tools |
Note: Source code for BMC RTL/Firmware that works with this reference FIM can be obtained by contacting your Intel Sales Representative.
Click here for the OFS Collateral for Intel® Agilex® SoC Attach Reference FIM documentation.
OFS FIM Targeting Intel® Stratix® 10 FPGA PCIe Attach
Key Feature | Intel Stratix 10 Reference FIM |
---|---|
FPGA | Intel Stratix 10 SX FPGA |
Ethernet Configuration | 1x10GbE example with 2x100GbE capability |
PCIe | Gen3x16 |
EMIF | Up to four DDR channels |
PF/VF | 1 PF/3 VFs |
Management | FPGA Management Engine (FME) with FIM management registers |
Interface | Arm® AMBA®4 AXI Interface |
HLD support | oneAPI |
Software | Kernel code upstreamed to Linux.org |
Click here for the OFS Collateral for Intel® Stratix® 10 FPGA PCIe Attach Reference FIM documentation.
To find information on the latest releases, go to the Discussions Tab in the OFS GitHub repository.
Open FPGA Stack Repositories¶
Accessing OFS ingredients to use within the development framework is easy. The github.com/OFS site provides all the hardware and software repositories in one location.
Development Focus | Repository Folder | Description |
---|---|---|
Hardware | ofs-n6001 | Provides RTL, unit tests, and build scripts to create Intel® Agilex® FIM and is leveraged as a starting point for a custom PCIe Attach design. The reference FIM targets an Intel® FPGA SmartNIC N6001-PL Platform. |
Hardware | ofs-f2000x-pl | Provides RTL, unit tests, and build scripts to create Intel®Agilex® FIM and is leveraged as a starting point for a custom SoC Attach design. The reference FIM targets an Intel® FPGA IPU F2000X-PL Platform. |
Hardware | ofs-d5005 | Provides RTL, unit tests, and build scripts to create Intel® Stratix 10® FIM and is leveraged as a starting point for a custom PCIe Attach design. The reference FIM targets an Intel® FPGA PAC D5005 development board. |
Hardware | oneapi-asp | Contains the files to generate the support package that works with the reference shells and allows you to use OneAPI. This is an optional repository for developers interested in OneAPI |
Hardware | ofs-fim-common | Provides RTL components that are shared among all new platforms that are introduced in OFS. This folder is a subumodule in each platform repository folder. |
Hardware | examples-afu | Provides simple Accelerator Functional Unit (AFU) examples you can use as a template for starting your own workload design. |
Hardware | ofs-platform-afu-bbb | Contains the hardware code to build a standard interface between the FIM and your workload. |
Software | linux-dfl | This repository is a mirror of the linux.org Git site and contains the most up-to-date drivers that are being developed and upstreamed for OFS platforms. |
Software | meta-ofs) | This repository provides the Linux® DFL kernel and the OPAE SDK for the Yocto® Project. |
Software | opae-sdk | Contains the ingredients to build the OFS Open Programmable Acceleration Engine (OPAE) Software Development Kit which provides APIs and userspace tools for OFS FPGA management. |
Software | opae-sim | This repository is used to build the AFU Hardware/Software Co-Simulation Environment workload developers can use to ensure their AFU can work with the OFS software stack. |
Software | linux-dfl-backport | A place for finding and leveraging out-of-tree backported drivers for older OS versions . |
Software | opae-legacy | Supports OFS platforms built on the legacy version of OPAE software. Not used in current OFS designs |
Documentation | ofs.github.io | Contains the hardware and software collateral that surfaces on the OFS website: https://ofs.github.io |
RTL Repository¶
Every FPGA RTL development repository is named after the platform it targets. This platform target is a starting point for development and can be considered a best known configuration for debugging.
The structure of the RTL repository remains the same regardless of which device platform you decide to use. The advantage of this is you will quickly become familiar with the hierarchy as you consider new FPGA application development.
Directory | Description |
---|---|
eval_scripts | Provides resources to setup, compile, simulate and test the reference FIM that can be built in the repository. |
ipss | Contains the code and supporting files that configure and build the default configuration of the key subsystems |
license | Contains license required to build the IP in Quartus®. Note you still utilize an evaluation license or purchase a license to use Quartus Prime Pro Software. |
ofs-common@commit# | Contains scripts and source code that are common to all of the platform RTL repositories and to your own FPGA design. This directory is referenced through a specific commit and you have the option to update to the latest ofs-common as your design evolves. |
sim | Provides test benches and supporting code for unit tests. |
src | Contains all structural and behavioral code for FIM including top-level RTL for synthesis and AFU infrastructure code. |
syn | Provides scripts, settings and setup files for running FIM synthesis. |