
Dac ng
prydin/toy-dac
A 1-bit ΔΣ stereo audio DAC implemented on a Xilinx 7-series FPGA (Digilent Cmod S7), driven from an I²S input.

A 1-bit ΔΣ stereo audio DAC implemented on a Xilinx 7-series FPGA (Digilent Cmod S7), driven from an I²S input.
Dac is an open-source printed circuit board by prydin, from the prydin/toy-dac repository on GitHub. It is a 4-layer board of 91.4 × 81.3 mm with 50 parts on 55 nets, routed with 208 tracks and 267 vias.
It is built around the NE5532 and SB140. Its parts include 17 resistors, 16 capacitors, 4 ICs, 4 diodes and 4 connectors. It belongs with the audio and music boards of this library.

toy-dac started as a challenge: make a DAC that could at least produce sound. It has grown well beyond that proof of concept into a working DAC that reproduces music very nicely. The name is a nod to those humble beginnings, not a measure of what the project can do today.

A 1-bit ΔΣ stereo audio DAC implemented on a Xilinx 7-series FPGA (Digilent Cmod S7), driven from an I²S input.
The signal chain is entirely made-from-scratch RTL:
Internal test sources (silent, DC, 1 kHz DDS sine) and a bypass mode (raw I²S → modulator) are included for bring-up and characterisation.
The current build is surpassing 90 dB SNR. The remaining distortion is mainly the second and third harmonics (H2 and H3), which we believe are related to the DAC's switching output. Extensive listening tests have found it almost on par with commercial DACs, though there is still work to do on the finer details.
First viable version. toy-dac has grown from a proof of concept into a working DAC capable of reproducing music very nicely. It has been exercised on hardware and through extensive listening tests, but is still evolving: the analog board is a hand-routed prototype, the design has not had formal verification, and there is more work to do on measured performance and subjective refinement. Module ports, parameter names, and pinouts may change without notice; treat it as an evolving project rather than drop-in IP.
fpga/toy-dac/ Vivado project (RTL under src/rtl, constraints under
toy-dac.srcs/constrs_1, simulation under toy-dac.srcs/sim_1)
kicad/dac/ KiCad schematic + PCB for the analog carrier board
scripts/ Coefficient generation, simulation helpers, sanity checks
docs/ Block diagrams (top-level + ASRC internals)Open fpga/toy-dac/toy-dac.xpr in Vivado 2024.2, run synthesis +
implementation + bitstream generation, and program the Cmod S7. The
target part and pin assignments live in
fpga/toy-dac/toy-dac.srcs/constrs_1/new/root.xdc.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 6 | 47p | Custom:C_Rect_L7.2mm_W3.0mm_P5.00mm_FKS2_FKP2_MKS2_MKP2_HandSolder | C1, C3, C4, C8, C13, C14 |
| 5 | 100n | Custom:C_Rect_L7.2mm_W3.0mm_P5.00mm_FKS2_FKP2_MKS2_MKP2_HandSolder | C9, C10, C11, C12, C16 |
| 4 | 100p | Custom:C_Rect_L7.2mm_W3.0mm_P5.00mm_FKS2_FKP2_MKS2_MKP2_HandSolder | C2, C5, C6, C7 |
| 4 | 10k | Custom:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_Horizontal_HandSolder | R1, R2, R13, R14 |
| 4 | 4.7k | Custom:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_Horizontal_HandSolder | R5, R6, R7, R12 |
| 4 | 6.8k | Custom:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_Horizontal_HandSolder | R3, R4, R8, R11 |
| 4 | MountingHole | MountingHole:MountingHole_3.2mm_M3 | H1, H2, H3, H4 |
| 3 | 100 | Custom:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_Horizontal_HandSolder | R15, R16, R17 |
| 3 | 1N4004 | Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal | D2, D3, D4 |
| 2 | 220 | Custom:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_Horizontal_HandSolder | R9, R10 |
| 2 | NE5532 | Package_DIP:DIP-8_W7.62mm | U2, U3 |
| 1 | 10u | Capacitor_THT:CP_Radial_D8.0mm_P5.00mm | C15 |
| 1 | CMOD S7 | CustomFootprints:CMOD S7 | U1 |
| 1 | Conn_01x03_Pin | Connector_JST:JST_PH_B3B-PH-K_1x03_P2.00mm_Vertical | J2 |
| 1 | Conn_01x08_Pin | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Vertical | J3 |
| 1 | I2S_IN | Connector_JST:JST_PH_B4B-PH-K_1x04_P2.00mm_Vertical | J4 |
| 1 | LM317_TO-220 | Package_TO_SOT_THT:TO-220-3_Vertical | U4 |
| 1 | OUTPUT | Custom:Basic RCA | J1 |
| 1 | SB140 | Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal | D1 |
| 1 | SW_DIP_x08 | Button_Switch_THT:SW_DIP_SPSTx08_Slide_6.7x21.88mm_W7.62mm_P2.54mm_LowProfile | SW1 |

prydin/toy-dac
A 1-bit ΔΣ stereo audio DAC implemented on a Xilinx 7-series FPGA (Digilent Cmod S7), driven from an I²S input.

prydin/toy-dac
A 1-bit ΔΣ stereo audio DAC implemented on a Xilinx 7-series FPGA (Digilent Cmod S7), driven from an I²S input.



jkuituni/Raven68k
A repository for all the hardware and software development related files for a 68000 based single board computer

etherkit/PartyLine80
A cheap and cheerful 80 meter QRP CW radio made from all discrete components




It measures 91.4 × 81.3 mm and has 4 copper layers, 1.6 mm thick.
50 parts, built around the NE5532 and SB140. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the prydin/toy-dac repository on GitHub, at the commit this page was made from: the board is kicad/dac/dac.kicad_pcb and its schematic kicad/dac-ng/clock/clock.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask prydin before reusing the design.