Commit graph

119 commits

Author SHA1 Message Date
Aadi Desai bb94e58a53
Completed dacVolume.sv, issues remain
If dacVolume and testSaw are instantiated in the same design, the design fails to run
2023-05-22 13:28:14 +01:00
Aadi Desai 4c831539a8
Add ifdefs for CSR in note header and source 2023-05-22 13:26:37 +01:00
Aadi Desai 6c54b80d80
Add volume control to main.cpp 2023-05-21 01:23:08 +01:00
Aadi Desai 275a74013c
Create volume control module, not functional 2023-05-21 01:22:39 +01:00
Aadi Desai 40a969e30d
Notes for saw -> sine conversion 2023-05-21 01:21:41 +01:00
Aadi Desai 8dbcd18269
Auto calc safe max depth for Litescope Analyzer
Avoids failed compilations and manually hunting for usable, valid depth
2023-05-18 16:21:45 +01:00
Aadi Desai c4469cd6f6
Flip MSB of square wave, avoid DAC automute 2023-05-18 16:19:53 +01:00
Aadi Desai 79ab8cd538
Add waveform selection to demo software
Available waveforms: Sawtooth, Square, Triangle, Sine (To be completed)
2023-05-18 12:52:17 +01:00
Aadi Desai 6381cb53a8
Optimise triangle wave gen and add comments 2023-05-18 12:42:09 +01:00
Aadi Desai a17429c105
Support selecting waveform in genSaw 2023-05-18 12:35:39 +01:00
Aadi Desai 166e6c913c
Clean up .svlint.toml 2023-05-18 12:34:03 +01:00
Aadi Desai 81cf1ebc5c
Replace assign with always_comb in rtl/
Update to better match IEEE1800-2017
2023-05-18 12:01:56 +01:00
Aadi Desai afcf1093be
Update note.cpp and main.cpp for new CSRStorage layout 2023-05-18 11:38:39 +01:00
Aadi Desai b2573b5f95
Add docs link for MigenAsyncFIFO to readme 2023-05-16 22:22:19 +01:00
Aadi Desai 5b80f2538f
Update litescope for new TestSaw module
Also increase scope download baudrate
2023-05-16 22:14:09 +01:00
Aadi Desai 3190265343
Update testSaw to match updated genSaw / dacDriver 2023-05-16 22:13:24 +01:00
Aadi Desai 06fc184cc5
Working version of dac driver
Output limited to 16bit as the set bitclock rate is too low for 24bit
Main work was on timing issues and inconsistent output
2023-05-16 22:12:41 +01:00
Aadi Desai 0ce0835a45
Working version of sample generator 2023-05-16 22:11:17 +01:00
Aadi Desai cf504787e2
Create note control library for testing 2023-05-16 22:09:35 +01:00
Aadi Desai 2717f4e417
Update .gitignore 2023-05-15 17:55:41 +01:00
Aadi Desai bf9a03f9d2
Move small functions into main, rm hello worlds 2023-05-12 20:07:39 +01:00
Aadi Desai 5f657cb46b
Fix build script, incorrectly traps on ERR 2023-05-12 19:53:52 +01:00
Aadi Desai d057017052
Switch to C++, remove externs, fix warnings 2023-05-12 19:53:27 +01:00
Aadi Desai d1884c6ac8
Move .c files to .cpp in demo folder 2023-05-12 17:44:43 +01:00
Aadi Desai b7d2f6079f
Remove WITH_CXX ifdefs, always compiles as C++ 2023-05-12 17:28:23 +01:00
Aadi Desai 8cd576fe6b
Add section prompts to build script 2023-05-12 17:26:44 +01:00
Aadi Desai 42826f57e4
Remove demo.py and include all steps in build.sh 2023-05-12 14:29:20 +01:00
Aadi Desai 0bf0c45bb9
Add build artefacts to .gitignore 2023-05-12 14:26:30 +01:00
Aadi Desai 4b0d1101ab
Add docs output folder to .gitignore 2023-05-12 14:07:05 +01:00
Aadi Desai 1078beaaab
Merge demo into build script 2023-05-12 14:06:41 +01:00
Aadi Desai 03219820e5
Add scope trigger target and incr depth 2023-05-12 14:04:42 +01:00
Aadi Desai 0a06e93edf
Fix testSaw, invert ResetSignal() 2023-05-12 14:03:55 +01:00
Aadi Desai 1efe617ae7
Update demo makefile to always use CXX 2023-05-12 14:01:50 +01:00
Aadi Desai 5b66d01ac6
Add comments to sawtooth generator 2023-05-12 14:00:13 +01:00
Aadi Desai 012b24adaf
Add LiteScope Analyzer instance and csvs needed 2023-05-11 01:46:58 +01:00
Aadi Desai bda6a825de
Add debug UART port extension 2023-05-11 01:46:26 +01:00
Aadi Desai bb1e27f787
Comment pins for GPIO platform extensions 2023-05-11 01:46:06 +01:00
Aadi Desai 576621c5bf
Backup after migrating laptop 2023-05-10 18:48:46 +01:00
Aadi Desai 3439c7666e
Comment Win11 copy from build and demo scripts 2023-03-13 18:40:23 +00:00
Aadi Desai d08a4de337
Add LiteScope notes to readme 2023-03-13 18:39:50 +00:00
Aadi Desai 3a13ec3433
Add software support for sawtooth block 2023-03-11 18:06:19 +00:00
Aadi Desai 2b18d82358
Add Sawtooth module to build 2023-03-11 18:05:56 +00:00
Aadi Desai 4be040e449
Add LiteX Sawtooth test module 2023-03-11 18:05:32 +00:00
Aadi Desai 3edc1f92d7
Add DAC Driver block 2023-03-11 18:05:03 +00:00
Aadi Desai a473a6ff9c
Add Sawtooth Generator Block 2023-03-11 18:04:53 +00:00
Aadi Desai 768d74f2e4
Add extra notes / links to readme 2023-03-10 17:48:46 +00:00
Aadi Desai 485cf24ae1
Add shell pcmFifo LiteX module (basic inst, no logic) 2023-03-10 17:48:18 +00:00
Aadi Desai 0f61a6d19a
Add pcmfifo SystemVerilog module 2023-03-10 17:47:39 +00:00
Aadi Desai c8955842d5
Add svlint linting rules 2023-03-10 17:47:18 +00:00
Aadi Desai f296ed53d4
Update demo led program for PWM driver 2023-03-07 21:00:30 +00:00