Genesys 2 OLED Demo



The OLED Demo project demonstrates a simple usage of the Genesys 2's Organic Light Emitting Diode (OLED) Display.

Features Used

Not Used Used
8 User Switches X
8 User LEDs X
6 User Push Buttons X
128×32 Monochrome OLED Display X
Fully Bonded 400-pin FMC HPC Connector X
Micro SD Card Connector X
HDMI Sink and HDMI Source X
VGA Connector X
Two four-lane DisplayPort Connectors X
Audio Codec w/ Four 3.5mm Jacks X
10/100/1000 Ethernet PHY X
1GiB 1800Mt/s DDR3 Memory X
Serial Flash X
Five Pmod Ports X
Pmod for XADC Signals X
USB 2.0 Host/Device/OTG PHY X



  • Genesys 2 FPGA board
  • Micro-USB cable
  • Genesys 2 Power Supply


  • Vivado Design Suite 2016.4
    • Newer versions can be used, but the procedure may vary slightly


Genesys 2 OLED Demo Project Repository – ZIP Archive GIT Repo

Download and Launch the Genesys 2 OLED Demo

1) Follow the Using Digilent Github Demo Projects Tutorial. This is an HDL design project, and as such does not support Vivado SDK, select the tutorial options appropriate for a Vivado-only design. Return to this guide when prompted to check for extra hardware requirements and setup.
2) Ensure that your board is plugged into a 12 Volt power supply and connected to your computer via a MicroUSB cable attached to the JTAG port. Then return to the Github Projects Tutorial to finish programming the demo onto your board.

Using the Genesys 2 OLED Demo

1. Top-Level State Machine

The state machine diagram presented below shows in a detailed way how the demo operates. Each of the different controls will be discussed in the following sections.

2. Startup and Bringdown

As seen in the above state machine, the OLED display can be turned on and off by pressing the CPU Reset Button (RSTN). When the board is first programmed, the display will automatically be initialized. When you are done operating the demo, and want to turn your board off, press the CPU Reset Button to turn the display off. The status of the display is indicated by LED0, if it is on, the display is on. The display can be turned on from an off state by pressing the CPU Reset Button again.


Make sure to turn off the OLED display before shutting down or reprogramming your board.

3. Toggle the Display

Once the display has been turned on, each pixel on the display can be lit up at once by pressing the center D-Pad button (BTNC). To return the display to its original state, press this button again.

4. Display Strings

With the display on, you can load pre-defined text onto the display by pressing the up D-Pad button (BTNU). To clear the display, press the down D-Pad button (BTND).