34 Commits

Author SHA1 Message Date
uelen 43573f5d8f Added a few more demos and one last attempt
ci/woodpecker/push/test-workflow Pipeline was successful
at audio fixup. It did nothing of course lol

Reverted back to 16-bit pcm because it sounds marginally better than
8-bit
2025-06-10 14:27:39 -07:00
uelen ce217dbbdf Merge branch 'master' into comment_clean_up 2025-06-10 13:32:14 -07:00
uelen f840d27b8e Demo commit
ci/woodpecker/push/test-workflow Pipeline was successful
The audio output is still messed up, but this commit gets everything as
ready as it can get. Fixed up all the testbenches and added state
machines for everything
2025-06-10 13:26:35 -07:00
Dilanthi 9af830daa0 comment clean up 2025-06-10 02:51:18 -07:00
Dilanthi 53b48c0bce comment clean up for segment_display folder 2025-06-10 01:38:52 -07:00
Dilanthi a07e811a16 code clean up for playback_controller.sv 2025-06-10 01:30:51 -07:00
uelen fe227d1b61 Broken SD card
ci/woodpecker/push/test-workflow Pipeline was successful
How tf did it break bro
2025-06-09 15:41:13 -07:00
uelen 71eecd18e8 Added modules to read sdcard data and cmd response
ci/woodpecker/push/test-workflow Pipeline was successful
These were realy headaches but the testbenches are passing. We need to
take a look at the audio_buffer testbench for sure, it is way wrong and
needs reworked to use the interface. Should do a pass through every
module probably.
2025-06-07 21:57:17 -07:00
uelen e32563131f Added command signal driver module
ci/woodpecker/push/test-workflow Pipeline was successful
2025-06-06 20:49:18 -07:00
uelen 71f08bdf15 Add CRC generation for sd card
ci/woodpecker/push/test-workflow Pipeline was successful
Works great according to the testbench
2025-06-06 18:13:14 -07:00
uelen 35cb264b26 Its working! Demo commit
ci/woodpecker/push/test-workflow Pipeline was successful
We have something at least, audio is working and sounding dang good
2025-06-06 01:06:20 -07:00
uelen 7980424dc8 Lots of changes, trying to get ROM working
ci/woodpecker/push/test-workflow Pipeline was successful
I think I did some funny math errors so new goal is 8-bit pcm
2025-06-05 18:48:53 -07:00
Dilanthi 02e2d77640 header for rom_sd.sv
ci/woodpecker/push/test-workflow Pipeline was successful
2025-06-04 14:34:49 -07:00
Dilanthi 1beb6cbf5c Implement rom_sd state machine
ci/woodpecker/push/test-workflow Pipeline was successful
2025-06-04 13:17:36 -07:00
uelen 89558d8313 More fixup on rom_sd
ci/woodpecker/push/test-workflow Pipeline was successful
2025-06-03 22:36:57 -07:00
uelen 2387fdbe3b Fixup on rom_sd flowchart
ci/woodpecker/push/test-workflow Pipeline was successful
2025-06-03 22:36:01 -07:00
uelen b9b6be7cbe Typo fixup 2025-06-02 17:47:35 -07:00
Dilanthi 636b375c48 added headers/ updated old ones 2025-06-02 17:36:27 -07:00
uelen dff929de84 Initial work on rom_sd
This module needs way reworked to just be a state machine. I was trying
to get way too tricky with it so I went back to the drawing board and
made a state machine diagram for it. The diagram is included with this
commit. I also moved the current collection of documentation to a doc/
folder, and added a second-long audio rom to test everything out once
the rom_sd is working.
2025-06-02 14:02:50 -07:00
uelen a50efdc6c6 Fixed up debouncer and added some assertions
I moved around where packages are. I couldn't find any evidence of where
other people put them, but for now they are in the `lib/` folder. Other
infrastructure changes are that all the weird includes we need to make
the linter happy are gated behind ifdefs, so they don't mess with
vivado.

I kinda can't believe concurrent assertions work because there's so
little info about them, good to ssee they actually do something
2025-05-30 13:56:52 -07:00
Dilanthi d4bedd06ce added pwn.sv
ci/woodpecker/push/test-workflow Pipeline was successful
added x16 fast forward speed to playback_controller.sv

corrected dates on pwn.sv, playback_controller.sv, display_converter.sv,
and seconds_display.sv
2025-05-29 14:48:46 -07:00
uelen 100c8017cc Added audio buffer
ci/woodpecker/push/test-workflow Pipeline was successful
It should be working reasonably well at this point
2025-05-28 19:23:17 -07:00
uelen 927437e12c Fixup to get main demo working
ci/woodpecker/push/test-workflow Pipeline was successful
This adds some unnecessary stuff into the debug core  that I used to
troubleshoot. There are like 5 bugfixes here. Especially of note is the
low freq clock gen, I was trying to use modulo like you would do in a
computer program but it was too slow, so I had to move the logic around
a bunch.
2025-05-26 22:52:14 -07:00
uelen ec6ce08b21 Add stubbed out pwm implementation
ci/woodpecker/push/test-workflow Pipeline was successful
2025-05-22 20:26:29 -07:00
Dilanthi 3f626074f9 Added playback controller and testbench
ci/woodpecker/push/test-workflow Pipeline was successful
2025-05-22 20:06:31 -07:00
uelen 18aab51325 Add debouncer TB and fixup on debouncer
ci/woodpecker/push/test-workflow Pipeline was successful
2025-05-19 16:13:35 -07:00
uelen 3b30a32045 Moved 7 segment display logic to subdirectory
ci/woodpecker/push/test-workflow Pipeline was successful
Also fixed up the one type I found in the seconds display
2025-05-19 15:48:05 -07:00
uelen 15509fa27a Fixup merge
ci/woodpecker/push/test-workflow Pipeline was successful
2025-05-19 15:26:01 -07:00
uelen 89a9c5a60c Merge branch 'wcude' 2025-05-19 15:22:32 -07:00
uelen 2fde75a330 Added a in-progress top file
Some of this stuff should get split out into 7-segment logic probably,
having logic in the top file seems like a bad call
2025-05-19 15:21:53 -07:00
Dilanthi 4b041651d4 added seven segment display logic / seconds counter
ci/woodpecker/push/test-workflow Pipeline was successful
2025-05-17 20:38:52 -07:00
uelen 34d62a197f Add some stubbed out modules for the first bit
ci/woodpecker/push/test-workflow Pipeline was successful
Hopefully theses are right ...
2025-05-16 17:58:25 -07:00
uelen 831e588986 Add vivado project
ci/woodpecker/push/test-workflow Pipeline was successful
Hopefully this is enough of the project files for this to work ...
2025-05-16 17:16:08 -07:00
uelen bd7286a858 Initial commit 2025-05-06 13:46:53 -07:00