
DemosceneTTSKY is a fully autonomous VGA visual synthesizer. It generates a 640×480 @ 60 Hz video signal entirely from logic gates, with no RAM, ROM, or CPU.
x 0–799, y 0–524) create precise hsync and vsync pulses for a standard VGA monitor.(x,y) coordinates, a frame counter t_frame, and a shift amount. The equations use only shifts, XORs, ANDs, ORs, add/sub, and a single multiplication.(high_byte >> shift) ^ (low_byte & mask). The audio parameters also change every second using the same LFSR.clk pin.rst_n low for at least a few clock cycles, then release it high.uo_out:
uo_out[7] : vsyncuo_out[6] : hsyncuo_out[5:0] : RGB (2 bits per channel)uio_out[7:0] to a speaker via a DAC. During the video blanking periods, these pins output the Bytebeat audio. (The uio_oe signal is high during blanking, low during active video, so the pins are safe to share with other circuits.)ui_in control switches are not used by the autonomous mode, but you can connect them to override the LFSR for manual control if you later modify the design.| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | Shift amount bit 0 | R1 (Red MSB) | Audio bit 0 |
| 1 | Shift amount bit 1 | G1 (Green MSB) | Audio bit 1 |
| 2 | Shift amount bit 2 | B1 (Blue MSB) | Audio bit 2 |
| 3 | Shift override enable | VSYNC | Audio bit 3 |
| 4 | Mode override enable | R0 (Red LSB) | Audio bit 4 |
| 5 | Mode bit 0 | G0 (Green LSB) | Audio bit 5 |
| 6 | Mode bit 1 | B0 (Blue LSB) | Audio bit 6 |
| 7 | Mode bit 2 | HSYNC | Audio bit 7 |