Skip to content

Commit

Permalink
feat: update project tt_um_a1k0n_demo from a1k0n/tt08-vgademo
Browse files Browse the repository at this point in the history
Commit: 8c4b1024dfbddbdb35ce60422f74f7e70659235a
Workflow: https://github.com/a1k0n/tt08-vgademo/actions/runs/10606118168
  • Loading branch information
TinyTapeoutBot authored and urish committed Aug 29, 2024
1 parent e7e9401 commit 1209af0
Show file tree
Hide file tree
Showing 8 changed files with 14,570 additions and 15,995 deletions.
6 changes: 3 additions & 3 deletions projects/tt_um_a1k0n_demo/commit_id.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"app": "Tiny Tapeout tt08 3c88e6eb",
"app": "Tiny Tapeout tt08 86beb5d8",
"repo": "https://github.com/a1k0n/tt08-vgademo",
"commit": "e8db65ca9026ffa5b3cd4c1908b6b84ba51d1f45",
"workflow_url": "https://github.com/a1k0n/tt08-vgademo/actions/runs/10275421976",
"commit": "8c4b1024dfbddbdb35ce60422f74f7e70659235a",
"workflow_url": "https://github.com/a1k0n/tt08-vgademo/actions/runs/10606118168",
"sort_id": 1722976113433,
"openlane_version": "OpenLane2 2.0.8",
"pdk_version": "open_pdks bdc9412b3e468c102d01b7cf6337be06ec6e9c9a"
Expand Down
33 changes: 23 additions & 10 deletions projects/tt_um_a1k0n_demo/docs/info.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,34 @@ You can also include images in this folder and reference them in the markdown. E

## How it works

It's a standalone demo that fits in two tiles; you'll just have to see.
It's a standalone VGA+sound demo that fits in two tiles; you'll just have to
see.

This was developed on a FPGA with a 48MHz clock (and I couldn't figure out how
to get the PLL to generate 25.175MHz), so it's in a funky VGA video mode --
it's standard 640x480@60Hz VGA, but with 1220 horizontal pixels instead of 640.
This was developed with a 48MHz clock, so it's in a funky VGA video mode -- it's
standard 640x480@60Hz VGA timing, but with 1220 horizontal pixels instead of
640. All graphics are dithered down to RGB222 with a Bayer matrix which
alternates each frame. Because of the dithering and the weird resolution, it
looks best on a real CRT, but any VGA monitor ought to work.

I will add more info here after the deadline passes.
Sound is generated using a 16-bit sigma-delta DAC on io7 from an internal
3-channel synth (triangle, noise, and square waves).

## How to test
I will add more info here after the deadline passes, as the demo is in flux as I
try to fit effects into 2 tiles...

Run at 48MHz (or, for more accurate VGA timings if your monitor complains, at 47.989844MHz).
## How to test

Input in[7] will pause the demo when high; leave it at 0 for normal operation.
Run clock at 48MHz, connect VGA and sound Pmods, and give it a reset pulse.

## External hardware

Uses the [TinyVGA PMOD](https://github.com/mole99/tiny-vga) for output. Plug
into a VGA monitor and power it up.
Follows the [democompo hardware rules](https://tinytapeout.com/competitions/demoscene/#what-are-the-rules):

[TinyVGA Pmod](https://github.com/mole99/tiny-vga) for video on o[7:0].

1-bit sound on io[7], compatible with [Tiny Tapeout Audio
Pmod](https://github.com/MichaelBell/tt-audio-pmod), or any basic ~20kHz RC filter
on io7 to an amplifier will work.

This audio is not going to sound very good on the built-in piezo speaker on the
Pmod, though, so an external speaker is highly recommended.
15 changes: 9 additions & 6 deletions projects/tt_um_a1k0n_demo/info.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
# Tiny Tapeout project information
project:
title: "vgademo"
title: "Demo by a1k0n"
author: "Andy Sloane"
discord: "a1k0n"
description: "tt08 democompo entry"
description: "Tiny Tapeout demo competition entry"
language: "Verilog"
clock_hz: 47989844 # N.B. this is a slightly detuned 48MHz to more closely match the ideal VGA horizontal frequency
clock_hz: 48000000

# How many tiles your design occupies? A single tile is about 167x108 uM.
tiles: "1x2" # Valid values: 1x1, 1x2, 2x2, 3x2, 4x2, 6x2 or 8x2

top_module: "tt_um_a1k0n_demo"

source_files:
- "tt_um_a1k0n_demo.v"
- "vgademo.v"
- "recip16.v"
# - "romcomb.v"
- "rom.v"
- "recip16.v"
- "audiotrack.v"
- "songrom.v"

# The pinout of your project. Leave unused pins blank. DO NOT delete or add any pins.
pinout:
Expand Down Expand Up @@ -48,7 +51,7 @@ pinout:
uio[4]: ""
uio[5]: ""
uio[6]: ""
uio[7]: ""
uio[7]: "AudioPWM"

# Do not change!
yaml_version: 6
Loading

0 comments on commit 1209af0

Please sign in to comment.