Course project · FPGA / SoC

RISC-V HDMI Character Display System

A custom Verilog IP on a RISC-V SoC that turns characters received over UART into a 640×480 HDMI image.

Role
Designer
When
Exchange year, 2023 – 2024
Where
Tongji University, Shanghai
RISC-V HDMI Display
640×480resolution at 60 Hz
ICBbus peripheral on the E203 core
UART → HDMIend-to-end character path

How it works

  1. 01

    UART in

    ASCII characters arrive from the host over UART.

  2. 02

    RISC-V firmware

    The E203 core writes characters to the custom IP through the ICB bus.

  3. 03

    Glyph → bitmap

    Characters are converted to pixel bitmaps.

  4. 04

    DPRAM

    The frame buffer lives in dual-port RAM.

  5. 05

    HDMI driver

    Sync and RGB signals generated for 640×480 at 60 Hz.

Overview

This project combines digital design, memory management and video signal generation. A custom hardware module written in Verilog is attached to the ICB bus of a Hummingbird E203 RISC-V core on FPGA, and displays the ASCII characters it receives over UART on an HDMI screen.

System design

The design is a modular pipeline:

  • an ICB bus interface that maps the peripheral into the processor’s address space;
  • dual-port RAM (DPRAM) holding the pixel data;
  • a character-to-bitmap converter;
  • an HDMI driver that generates the synchronisation and RGB signals at 640×480 at 60 Hz.

At start-up a colour-bar test mode checks the timing and signal integrity before switching to character rendering.

GTKWave trace: bus writes into the frame buffer, followed by the HDMI sync and RGB activity.
GTKWave trace: bus writes into the frame buffer, followed by the HDMI sync and RGB activity.

Debugging

The ICB transactions, memory writes and video timing were all checked through waveform analysis in GTKWave before moving to hardware.

Tools & techniques

  • Verilog
  • FPGA
  • RISC-V E203
  • ICB bus
  • UART
  • HDMI
  • GTKWave