Add a three-voice sound chip for the PmodAMP2 on JA

Ports 90h-9Dh: three square-wave voices and a noise source, a mixer,
16 log volumes with attack/decay envelopes, summed and played through a
sigma-delta output on JA[0]. CLS and reset hush it. Includes a
testbench (scripts/sim-sound.sh), a BASIC example and manual section.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
brad ArantandClaude Opus 5.5 committed 2026-11-30 11:13:37 -08:00
1 parent b629cbec00
commit 2d1be15786
11 files changed
+428 -3

No files matched your search

+7
View File
@@ -102,6 +102,13 @@ set_clock_groups -asynchronous -group [get_clocks sys_clk_pin] \
-group [get_clocks -of_objects [get_pins pix_mmcm/CLKOUT0]]
set_false_path -to [get_ports {led[*] seg[*] dp an[*] RsTx}]
## Pmod JA top row: a PmodAMP2 (AIN, GAIN, NC, SHUTDOWN)
set_property -dict { PACKAGE_PIN J1 IOSTANDARD LVCMOS33 } [get_ports {JA[0]}]
set_property -dict { PACKAGE_PIN L2 IOSTANDARD LVCMOS33 } [get_ports {JA[1]}]
set_property -dict { PACKAGE_PIN J2 IOSTANDARD LVCMOS33 } [get_ports {JA[2]}]
set_property -dict { PACKAGE_PIN G2 IOSTANDARD LVCMOS33 } [get_ports {JA[3]}]
set_false_path -to [get_ports {JA[*]}]
## Configuration
set_property CONFIG_VOLTAGE 3.3 [current_design]
set_property CFGBVS VCCO [current_design]