The frame: start, data, stop

You will learn

How a UART frame is built bit by bit, and what the compiler emits for it.

A UART frame is the atoms of the bus: the line idles high, a start bit pulls it low, eight data bits follow, and a stop bit returns it high. The testbench spec of the last lesson of this module checks the idle itself -- uart_tb_tx_idle_high and uart_tb_rx_idle_high are two of its seven tests. The recording shows the compiler lowering the spec to synthesizable Verilog: the module ZeroDSP_UART, its clk, rst_n, en, data and ready ports, the datapath as wires.

Open the interactive lesson →