Altera® Sensor Link is an edge platform that brings several sensors into one Agilex™ 5 FPGA and delivers them to a host over a high-speed network link as separate RoCEv2 streams. Data is tagged with a common IEEE 1588 96-bit timestamp, and a UDP-based control plane, provided by the Altera® Host Control library, allows the host to read and write any IP register in the design.
The reference design ingests four physical sensors and turns them into five heterogeneous data streams, listed in Streams in this Reference Design.
Every stream is published as RoCEv2 traffic over the 10 GbE link, and each one has its own queue pair (QP). The host tells the streams apart by QP number, so it can handle each data type on its own path. The host can consume the streams in one of three ways:
- Raw packet parsing: capture the RoCEv2 packets and decode the headers and payloads directly. This gives full control and needs no RDMA stack.
- Software RoCE receiver: run a software implementation of RoCEv2 on a standard NIC, for example Linux SoftRoCE (
rdma_rxe), and receive the streams through the RDMA verbs API. - RDMA transactions: use an RDMA-capable NIC and the verbs API. The FPGA writes each frame into host memory buffers, so the host registers those buffers and reads them as they fill. Each frame ends with an Immediate packet that carries the timestamp.
Details for each stream are in Data Formats.
This release is a Reference Design. It is not a production-ready solution.
- Agilex™ 5 FPGA and SoC E-Series Modular Development Kit (ES) (MK-A5E065BB32AES1), or Agilex™ 5 FPGA and SoC E-Series 065B Modular Development Kit (Group B Device) (MK-A5E065BB32AEA)
- Two Framos FSM:GO IMX678C camera modules (MIPI0 can use an optional Framos GMSL3 module)
- Slamtec RPLIDAR A1M8 (UART, needs a cable rework and a 5 V supply)
- Livox MID-360S (Ethernet)
- A host with a 10 GbE link
The full list with purchase links is in the Bill of Materials.
The SOF files are published on the BIN_REL_1_0 release.
DUAL-CAM_LIDAR2D_LIDAR3D_ES.sof: Provides the hardware to configure two cameras over direct MIPI connection and/or one GMSL module connected to the MIPI0 connector. The user selects the configuration through the control interface. This SOF includes a 2D lidar ingest and a 3D lidar (point cloud and IMU) for the Agilex™ 5 FPGA and SoC E-Series Modular Development Kit (ES) (MK-A5E065BB32AES1).DUAL-CAM_LIDAR2D_LIDAR3D_PROD.sof: Provides the hardware to configure two cameras over direct MIPI connection and/or one GMSL module connected to the MIPI0 connector. The user selects the configuration through the control interface. This SOF includes a 2D lidar ingest and a 3D lidar (point cloud and IMU) for the Agilex™ 5 FPGA and SoC E-Series 065B Modular Development Kit (Group B Device) (MK-A5E065BB32AEA).
The Altera® Host Control Library is published in its own repository: altera-fpga/host-control-library. This library is used for initializing and configuring the FPGA IP exposed through the control plane. You can find example host applications to support the SOFs listed above in host-examples.
Note
Run PTP on the host as a master before programming the board. The FPGA internal PTP engine only supports secondary mode.
- Wire the sensors as described in Getting Started: Hardware Connection.
- Power on the lidar and the GMSL module, then the development kit.
- Program the SOF that matches your board with Quartus Programmer 26.1. See Getting Started: Configure the Board.
- Build and run the corresponding Altera® Host Control example application from the host-examples directory. No RoCEv2 packets are sent until the host configures the FPGA. See Getting Started: Execute the Control Plane.
| Queue pair | Stream | Source |
|---|---|---|
| 0x2 | Video 0, 1080p30 | Framos IMX678C camera or test pattern |
| 0x3 | Video 1, 1080p30 | Framos IMX678C camera or test pattern |
| 0x4 | 2D lidar | Slamtec RPLIDAR A1M8, about 5.5 Hz |
| 0x5 | 3D lidar point cloud | Livox MID-360S, about 2.1 kHz |
| 0x6 | 3D lidar IMU | Livox MID-360S, about 133 Hz |
The transport is unidirectional RoCEv2 (Unreliable Connection) from the FPGA to the host. For the layout of each stream, including the timestamp format, see Data Formats.
The full documentation is in the Documentation folder.
- Introduction and Scope
- Architecture
- Bill of Materials
- Getting Started: Hardware Connection, Configure the Board, Execute the Control Plane
- Data Formats
- FPGA System Description
- Altera® Host Control Library
- Terminology and References
- Appendix A: Control Subsystem Memory Map
Altera® Corporation technologies may require enabled hardware, software or service activation. No product or component can be absolutely secure. Performance varies by use, configuration and other factors. Your costs and results may vary. You may not use or facilitate the use of this document in connection with any infringement or other legal analysis concerning Altera® or products described herein. You agree to grant Altera® Corporation a non-exclusive, royalty-free license to any patent claim thereafter drafted which includes subject matter disclosed herein. No license (express or implied, by estoppel or otherwise) to any intellectual property rights is granted by this document, with the sole exception that you may publish an unmodified copy. You may create software implementations based on this document and in compliance with the foregoing that are intended to execute on the Altera® product(s) referenced in this document. No rights are granted to create modifications or derivatives of this document. The products described may contain design defects or errors known as errata which may cause the product to deviate from published specifications. Current characterized errata are available on request. Altera® disclaims all express and implied warranties, including without limitation, the implied warranties of merchantability, fitness for a particular purpose, and non-infringement, as well as any warranty arising from course of performance, course of dealing, or usage in trade. You are responsible for safety of the overall system, including compliance with applicable safety-related requirements or standards.
© Altera® Corporation. Altera®, the Altera® logo, and other Altera® marks are trademarks of Altera® Corporation. Other names and brands may be claimed as the property of others.
OpenCL* and the OpenCL* logo are trademarks of Apple Inc. used by permission of the Khronos Group™.
