
XzT is a small VGA demo made only with logic gates. There is no CPU and no memory: the color of each pixel is calculated in real time while the screen is drawn, at 640x480 and 60 Hz.
A frame counter decides which scene is shown. There are 6 scenes, each one lasts about 2 seconds, and the sequence repeats forever:
| Scene | Effect |
|---|---|
| 0 | "XzT" title over moving squares |
| 1 | Colorful XOR pattern |
| 2 | Circular waves |
| 3 | Diamond tunnel |
| 4 | Color bars |
| 5 | "XzT" title over waves, flashing to the beat |
The shapes come from simple math on the pixel position, like the distance to the center of the screen. The "XzT" letters are drawn with lines and bars instead of a stored font. The output has 2 bits per color (64 colors) and goes to the TinyVGA PMOD.
Based on "Drop" by Renaldas Zioma, Erik Hemming and Matthias Kampa.
You can also try it without hardware in the VGA Playground (https://vga-playground.com) by pasting the code there.
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | R1 | ||
| 1 | G1 | ||
| 2 | B1 | ||
| 3 | VSync | ||
| 4 | R0 | ||
| 5 | G0 | ||
| 6 | B0 | ||
| 7 | HSync |