mirror of
https://github.com/trcwm/Speech256.git
synced 2025-06-07 16:48:32 +02:00
update DE0 readme.md
This commit is contained in:
parent
1194eec79d
commit
8afd1af0a7
@ -1,3 +1,18 @@
|
|||||||
## Digilent DE0 board
|
## Digilent DE0 board
|
||||||
|
|
||||||
* Altera EP3C16F484C6 FPGA
|
* Altera EP3C16F484C6 FPGA
|
||||||
|
|
||||||
|
The DAC output is the UART_TX pin. It _really_ needs a 5kHz lowpass filter, otherwise you'll be deafened/greeted by a very loud 10kHz PWM carrier. Try a 330 ohm series resistor, followed by a 100nF capacitor to ground:
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
UART_TX pin ----RRRRR---------o OUTPUT
|
||||||
|
|
|
||||||
|
C
|
||||||
|
C
|
||||||
|
C
|
||||||
|
|
|
||||||
|
GND
|
||||||
|
|
||||||
|
```
|
@ -72,6 +72,9 @@ module SPEECH256_TOP (
|
|||||||
.done (src_strobe)
|
.done (src_strobe)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// Note: the sigma-delta DAC sounds bad because it needs
|
||||||
|
// an interpolator/lowpass filter at the input.
|
||||||
|
//
|
||||||
`ifdef USE_SDDAC
|
`ifdef USE_SDDAC
|
||||||
SD2DAC u_sd2dac (
|
SD2DAC u_sd2dac (
|
||||||
.clk (clk),
|
.clk (clk),
|
||||||
@ -84,7 +87,7 @@ module SPEECH256_TOP (
|
|||||||
PWMDAC u_pwmdac (
|
PWMDAC u_pwmdac (
|
||||||
.clk (clk),
|
.clk (clk),
|
||||||
.rst_an (rst_an),
|
.rst_an (rst_an),
|
||||||
.din (sig_filter[11:4]), // add +24dB gain .. FIXME: add saturation ??
|
.din (sig_filter[12:5]), // add +18dB gain .. FIXME: add saturation ??
|
||||||
.din_ack (pwmdac_ack),
|
.din_ack (pwmdac_ack),
|
||||||
.dacout (pwm_out)
|
.dacout (pwm_out)
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user