
Example project · UC 09
Every vehicle network. One gateway.
An example project that turns a single FPGA into a central vehicle gateway. An automotive-grade RISC-V routes and filters traffic between CAN FD, CAN, LIN and automotive Ethernet, and answers diagnostic requests over UDS and DoIP.
Conceptual illustration
The problem
Modern vehicles run many networks that all need to talk.
Powertrain, chassis and body ECUs sit on separate CAN FD, CAN and LIN buses, while ADAS and infotainment move to automotive Ethernet. A gateway has to route only the right messages between them, at deterministic latency, keep domains isolated, and give service tools one diagnostic entry point. Doing it in FPGA logic with a RISC-V for control gives hardware-speed routing that stays programmable.
The prompt
Build an FPGA-based automotive gateway using an automotive-grade RISC-V processor that routes and filters messages between CAN FD, CAN and LIN buses and automotive Ethernet, and supports vehicle diagnostics over UDS and DoIP.
An example request. Compatibility and availability are confirmed for each selected configuration.
What SIGPT reads into it.
The prompt names the networks and the diagnostics. SIGPT turns them into controllers, a routing engine and a diagnostic stack around an automotive-grade RISC-V.
Safety-minded control
The automotive-grade core runs routing tables, network management and diagnostics, with a watchdog and lockstep-friendly configuration.
In-vehicle buses
CAN FD controllers for powertrain and chassis, classic CAN and LIN for body electronics. Bit timing is taken from your network specification.
Gateway router
Generated hardware that filters by message ID, translates between buses, and rate-limits each route so one domain can't flood another.
Backbone link
An Ethernet MAC with TSN and IEEE 1588 PTP for time-aware traffic to ADAS and infotainment domains.
Vehicle diagnostics
UDS services over CAN and over Ethernet using DoIP, so a service tester reaches every ECU through the gateway.
Boot, memory and timing
QSPI boot flash, DDR for buffers and logs, plus timers for scheduling and message timeouts.
A simple conceptual architecture.
A RISC-V in the prompt. Gateway firmware included.
Firmware is implicit. The prompt names an automotive-grade RISC-V, so SIGPT generates the standard stack automatically. The prompt also describes behaviour, routing, filtering and diagnostics, so those are added on top.
Standard firmware stack
- Boot and startup codeReset vector, clock and memory setup, QSPI boot, linker script
- Board support packageRegister headers and interrupt map, from the same spec as the RTL
- A driver for every selected IPCAN FD, CAN, LIN, Ethernet, timer, watchdog, DMA
- Bring-up self-testChecks each controller, memory and PHY link at power-on
- UART console and JTAG debugStatus, register peek and poke, and logs
- Build filesMakefile and standard RISC-V GCC toolchain
Gateway and diagnostics
routes and filters messages
Routing-table manager and filter configuration for the hardware routerbetween CAN FD, CAN and LIN … and automotive Ethernet
Signal and frame mapping between buses, plus a LIN schedule tablevehicle diagnostics over UDS
UDS server: read and clear DTCs, read data by ID, ECU reset, sessionsand DoIP
DoIP entity: vehicle announcement, routing activation, diagnostic message relay- Automotive-grade defaultsWatchdog servicing, bus-off recovery and network-management timeouts
forward wheel-speed frames to Ethernet every 10 ms, and support secure flashing over DoIP. Anything you don't describe stays standard.
IP needed
What SIGPT would assemble.
Selected from 140+ 3rd-party FPGA-proven IPs, starting with the automotive-grade RISC-V and the automotive bus controllers.
Validation steps
How it would be proven on hardware.
Board validation is its own milestone, separate from bitfile generation. Any results are measured on your setup, and none are shown here.
- Program the bitfile, load the generated firmware and check the self-test on the UART console.
- Inject traffic on each CAN FD, CAN and LIN bus and confirm only the configured messages are routed, with the expected translation.
- Flood one bus and confirm rate limits protect the other domains.
- Connect a diagnostic tester over DoIP and read and clear DTCs on ECUs behind the gateway.
- Measure routing latency and bus-off recovery against the agreed acceptance criteria.
From lab bench toward the vehicle.
Once the gateway passes in the lab, choose how to take it further. Vehicle programmes add safety analysis and qualification, which are planned with you.
Start from this prompt. Make it yours.
We’ll prefill your request with this use case. Edit it to match your requirements.