Skip to content

Commit 1f59ec7

Browse files
committed
add comments for audio implementations on a2n20v2-SDRAM and a2n9
1 parent 2cf8057 commit 1f59ec7

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

boards/a2n20v2-SDRAM/hdl/top.sv

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -625,6 +625,10 @@ module top #(
625625

626626
// HDMI
627627

628+
// TODO - Needs to incorporate the audio filter code from a2n20v2
629+
// IMPORTANT - the Ensoniq module outputs signed 16-bit audio, so we need to
630+
// properly mix it with the apple audio and the mockingboard audio
631+
628632
localparam AUDIO_RATE = 44100;
629633
localparam AUDIO_BIT_WIDTH = 16;
630634
localparam AUDIO_CLK_COUNT = (CLOCK_SPEED_HZ / 2) / AUDIO_RATE;

boards/a2n9/hdl/top.sv

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,10 @@ module top #(
338338

339339
// HDMI
340340

341+
// TODO - Adapt the IIR filter im A2N20, but GW1NR-9C FPGA does not
342+
// have sufficient DSP resources to run IIR filter code. This means
343+
// A2N9 audio will have high frequency noise.
344+
341345
localparam AUDIO_RATE = 44100;
342346
localparam AUDIO_BIT_WIDTH = 16;
343347
localparam AUDIO_CLK_COUNT = (CLOCK_SPEED_HZ / 2) / AUDIO_RATE;

0 commit comments

Comments
 (0)