Design a Verified UART Receiver and Loopback for an FPGA Sensor Hub
The situation
Helax Edge Systems is a 28-person industrial Internet-of-Things startup in Munich that builds edge-sensor hubs for factory-automation integrators, and its next hub revision standardizes on a Xilinx 7-series FPGA to ingest serial sensor data at several customer-specified baud rates.
Your task
Design a verified, configurable UART receiver in Verilog for Helax's edge-sensor hub that recovers bytes correctly across three baud rates and proves itself on a real Arty A7 board.
The brief
What you do
- Propose and deliver a UART receiver for Helax's sensor hub that meets the functional requirements in the requirements brief (the 'uart-requirements-brief' material): 16-times oversampling of the incoming serial line, a configurable baud divisor, start-bit detection, 8N1 framing (8 data bits, no parity, 1 stop bit), and a framing-error flag raised on a missing stop bit.
- As non-functional requirements, the design must run on the Digilent Arty A7-35 (Xilinx XC7A35T) using the public pin and clock constraints in the 'arty-a7-constraints' material, and it must safely cross the asynchronous serial input into the FPGA clock domain.
- Pair your receiver with the supplied transmitter in the 'uart-tx-reference-module' material to form a loopback, and write a testbench that replays the byte streams in the 'loopback-test-vectors' material at 9600, 115200, and 1,000,000 bits per second, including the deliberate bit-error rows that should trigger the framing-error flag.
Success looks like
Success means every expected byte and every expected framing flag in the test vectors is reproduced in simulation, and the receiver correctly reads random bytes from a real USB-to-serial adapter on the Arty A7.
What you will practice
- Design a 16-times-oversampled UART receiver with configurable baud and 8N1 framing in Verilog
- Safely cross an asynchronous serial input into the FPGA clock domain to avoid metastability
- Write a self-checking testbench that exercises multiple baud rates and injected framing errors
- Synthesize for a Xilinx 7-series FPGA and validate a design end-to-end against real hardware
- Communicate hardware design decisions clearly in a concise written proposal
A suggested way in
- Use a two-flip-flop synchronizer on the serial input before any logic samples it
- Drive simulation from the provided test vectors with Vivado simulator or an open-source toolchain, and inspect timing in GTKWave
- Apply the official Arty A7 constraints file rather than hand-writing pin assignments
- Confirm bit timing by counting oversample ticks per bit at each baud rate before testing on hardware
Skills you will practice
Verilog, Uart, Fpga, Testbench design, Metastability, Hardware validation
Where it leads
FPGA Design Engineer, Digital Verification Engineer, Embedded Hardware Engineer
How it is assessed
- Receiver correctness30%
The self-checking testbench reproduces every expected byte and every expected framing-error flag in the 'loopback-test-vectors' material at all three baud rates.
- Metastability handling20%
The asynchronous serial input is synchronized into the FPGA clock domain exactly as required by the 'uart-requirements-brief', with no logic sampling the raw pin.
- Hardware validation30%
The design synthesizes with the 'arty-a7-constraints' pin and clock file and correctly reads random bytes from a real USB-to-serial adapter on the Arty A7.
- Proposal clarity20%
The proposal document explains bit timing, the clock-domain-crossing approach, and framing behavior with a clear rationale traceable to the requirements brief.
Resources
- VivadoTool
Synthesizes and simulates the Verilog design and generates the Arty A7 bitstream.
- GTKWaveTool
Inspects simulation waveforms to confirm bit timing and framing behavior.
- USB-to-UART adapterTool
Drives real serial traffic into the board for end-to-end hardware validation.
- GitTool
Versions the RTL, testbench, and constraints so the submission is reproducible.
- NotionTool
Hosts the written design proposal and hardware-test report.
Finish it. Earn this.
A verified certificate with your name. Anyone can check it.
Time to practice.
Solve this challengeMore like this.
- Software EngineerGreedy Delivery-Slot Assignment for a Munich Grocery Startup
- Data ArchitectDesigning a Data Warehouse for a Renewable Energy Firm
- Database AdministratorCut a 42-Minute Trino Query to Under Five Minutes
- AI Solutions ArchitectBuild an OWL Ontology for a Pharma R&D Knowledge Base
-
Greedy Delivery-Slot Assignment for a Munich Grocery Startup Software Engineer Using the provided order history sample, rider roster, and manual dispatch baseline, design and implement a greedy slot-assignment algorithm in Python greedy algorithmsalgorithm analysispython Open challenge → -
Designing a Data Warehouse for a Renewable Energy Firm Data Architect You are given sample data from three sources: energy production logs, weather data, and equipment maintenance records. Your task is to: (1) design a s data warehousingstar schemaetl Open challenge → -
Cut a 42-Minute Trino Query to Under Five Minutes Database Administrator Using the slow query, the EXPLAIN ANALYZE readout, the Iceberg table schemas, and the 30-day execution-metrics dataset provided, design an optimizatio trinosql optimizationiceberg Open challenge → -
Build an OWL Ontology for a Pharma R&D Knowledge Base AI Solutions Architect You receive a CSV-form starter knowledge base (around 4,000 compounds, 600 targets, 1,200 assays) and a list of 12 competency questions the scientists ontology designowlknowledge representation Open challenge →