Home

Awesome

Minimal DVI / HDMI Framebuffer

Github: https://github.com/ultraembedded/core_dvi_framebuffer

This component allows the addition of a DVI/HDMI output to your FPGA project.
The IP fetches pixel data from an external AXI-4 memory target and converts to a TMDS suitable for driving DVI or HDMI (DVI mode) outputs from a FPGA.

Block Diagram

Based around Mike Field's TMDS encoder code.

Features

Interfaces

NameDescription
clk_iClock input - must be suitable for the configured res/refresh rate.
clk_x5_iClock input x 5.
rst_iAsync reset, active-high.
cfg_*AXI-4 Lite configuration port (optional if VIDEO_ENABLE=1).
outport_*AXI4 master interface for pixel fetch data.
intr_oActive high interrupt output (single cycle strobe).

Params

NameDefaultDescription
VIDEO_WIDTH800Display resolution (H).
VIDEO_HEIGHT600Display resolution (V).
VIDEO_REFRESH72Display refresh rate.
VIDEO_ENABLE1Pixel fetch enable after reset (changeable via AXI-4L regif).
VIDEO_FB_RAM32'h3000000Framebuffer base address (changeable via AXI-4L regif).

Linux Framebuffer

Example Linux DTS configuration with the framebuffer located @ 0x300_0000 and 800x600 display resolution;

    framebuffer {
      compatible = "simple-framebuffer";
      reg = <0x3000000 (800 * 600 * 2)>;
      width = <800>;
      height = <600>;
      stride = <(800 * 2)>;
      format = "r5g6b5";
    }; 

Testing

Tested on a Xilinx Artix 7 (Digilent Arty A7) with Dell U2515 monitor and a LG LCD TV with various resolutions. Used with the Linux Kernel 'simple-framebuffer' driver.

References