Case study
An 8-channel 12G-SDI capture card for PCIe
Eight SDI inputs, each at 12G, 6G or 3G, sharing a PCIe Gen3 x8 host link. We wrote the FPGA gateware, the Linux V4L2 driver and the sample application, and the client had working code in twelve weeks.
- SDI inputs
- 8 inputs, each 12G, 6G or 3G with rate autodetect
- Audio
- Embedded audio extraction and processing
- Host interface
- PCIe Gen3 x8, custom multichannel DMA engine
- Link budget
- 63 Gb/s per direction, shared by all inputs
- Driver
- Custom V4L2 capture driver, Linux
- Firmware update
- PCIe flash controller, in-field capable
- Delivery
- 12 weeks, architecture through commissioning

What the system does
Eight independent SDI receivers, each detecting its own incoming rate, feed a shared DMA engine over PCIe Gen3 x8. Embedded audio is extracted alongside the video.
Firmware can be updated in the field over PCIe, so the card does not have to come out of the chassis to be revised.
What was delivered
The FPGA design, the kernel driver and a working application on top. All three were delivered together, against one deadline.
FPGA gateware
- Eight SDI receiver front ends with 12G/6G/3G rate autodetect
- Embedded audio extraction and processing pipeline
- Multichannel PCIe Gen3 x8 DMA engine
- Dynamic memory management sized to worst-case burst
- PCIe flash controller for in-field firmware update
- Real-time status and error monitoring
Linux driver stack
- V4L2 capture driver presenting all channels as standard devices
- PCIe driver integration and device enumeration
- DMA buffer management with zero-copy paths to userspace
- Flash update utilities
- Userspace libraries for application integration
Sample application
- Working reference application against the delivered driver
- Demonstrated simultaneous capture across all inputs
- Gave the client a running starting point, not just an API
- Documentation and handover
Where the difficulty was
Four layers of work on one schedule
A 12G-SDI front end, a PCIe DMA engine, a V4L2 kernel driver, and an application on top are normally four different people on three different teams. In that arrangement much of the schedule goes into the interfaces between them.
A tight bandwidth budget
Eight inputs at up to 12G each can offer more video than a PCIe Gen3 x8 link can carry, so the link is a shared budget. The DMA scheduling, the buffer sizing, and the memory subsystem had to be designed against the worst-case mix of input rates, not tuned afterwards.
Schedule
A system of this shape is typically quoted at six to twelve months with a full team. This one was specified, built, integrated, and deployed in twelve weeks, because hardware and software progressed in parallel rather than in sequence.
Twelve weeks, in order
Hardware and software ran in parallel. The driver was written against the gateware while the gateware was still being built, which works when one engineer owns both sides of the interface.
Week 1
System architecture and requirements
Requirements analysis, PCIe bandwidth budgeting, FPGA resource planning, Software stack design.
Complete technical specification and development roadmap.
Weeks 2 to 7
FPGA core development
SDI receiver controllers with rate autodetect, Audio processing pipeline, Multichannel PCIe Gen3 x8 DMA engine, Dynamic memory management, PCIe flash controller, Real-time status monitoring.
Verified design covering full SDI and audio processing.
Weeks 8 to 10
Linux driver and software stack
V4L2 driver framework, PCIe driver integration, DMA buffer management, Flash update utilities, Userspace libraries.
Complete Linux stack, V4L2 compliant.
Weeks 11 to 12
Integration and deployment
Hardware and software integration, Performance optimisation, System stress testing, Documentation and handover, Client deployment.
Working system delivered and commissioned.
Planning a similar system?
If your project spans gateware, a kernel driver and an application, describe it in a paragraph. We reply within one business day.
Open the contact form