A 16550-compatible UART your existing serial drivers already know
The Zen UART is a full-duplex asynchronous serial controller with a 16550-compatible register model — so the UART drivers and boot ROMs your software already ships run unchanged. It brings independent TX and RX FIFOs, programmable frame format and baud rate, and a single aggregated interrupt, and drops into an SoC through APB4 or AXI4-Lite. Product / integrator view; every number is sourced from the product datasheet or marked TBC with an owner.
1. The UART in one paragraph
The Zen UART presents the ubiquitous 16550 eight-register programming model — RBR/THR, IER, IIR/FCR, LCR, MCR, LSR, MSR, SCR, plus the DLAB-selected divisor latches. Because the register map and behavior match the de-facto NS16550A standard, the UART driver already baked into your OS, bootloader, or boot ROM talks to it without a line of change. Software writes a byte to THR and it serializes out uart_tx_o; an inbound frame on uart_rx_i lands in the RX FIFO and surfaces at RBR. A programmable divisor sets the baud rate, LCR sets the frame format, and a single aggregated interrupt (decoded through IIR) tells software what needs service.
- Zen UART (controller + FIFOs)
- host / SoC fabric · serial line
CLK_FREQ you integrate at.2. What it is, at a glance
| Element | Detail | Default | Status |
|---|---|---|---|
| Register model | 16550-compatible, 8 registers (DLAB-banked divisor) | — | exists |
| TX / RX FIFOs | independent, programmable depth | 16 | exists |
| Data bits | 5 / 6 / 7 / 8, via LCR | — | exists |
| Parity | none / odd / even (stick optional), via LCR | — | exists |
| Stop bits | 1 / 2, via LCR | — | exists |
| Baud generation | DLAB divisor latch (DLL/DLM) off the reference clock | — | exists |
| Line status (LSR) | DR · overrun · parity · framing · break · THRE · TEMT | — | exists |
| Interrupt | single aggregated line, IIR-decoded cause | — | exists |
| RX synchronizer | 2-FF metastability sync on the serial input | — | exists |
| Bus frontends | native peripheral bus · APB4 · AXI4-Lite | — | exists |
| Hardware auto-flow (RTS/CTS) | software-managed today via LSR/MSR | — | TBC |
| Max baud @ reference clock | function of clock / divisor | — | TBC |
Sources: Zen UART product datasheet; as-built RTL.
3. How a client uses it
- Instantiate the UART with one host frontend — native peripheral bus, APB4, or AXI4-Lite — and wire
uart_tx_o/uart_rx_ito your pads; connect the single interrupt line to your controller. - Set the frame + baud — program LCR for data bits, parity, and stop bits, then set the DLAB divisor for the baud you need at your reference clock.
- Move data — write bytes to THR (they buffer in the TX FIFO and serialize out); read received bytes from RBR as LSR.DR reports them; enable the FIFOs and trigger level through FCR.
- Service by interrupt or poll — enable sources in IER and let the aggregated interrupt fire, reading IIR for the cause; or poll LSR for data-ready / holding-empty and the error flags.
4. Verification & provenance
- Compliance tested: an assertion-based cocotb environment with byte-exact checks — 10 / 10 tests passing against the 16550 behavioral model.
- Build gates: clean through the Verilator DV gate and the Yosys synthesis check (no inferred latches); re-verified independently in review.
- Delivered as a kit: parameterized RTL plus APB4 / AXI4-Lite frontends, compliance testbenches with shared bus VIP, integration docs, and a two-gate compliance statement.
Sources read
Sources: Zen UART product datasheet; as-built RTL.