Skip to the content
PCBKitNew board
4 layers61.4 × 37 mmNileswan, the printed circuit board in 3D

An open software WS/WSC/SC/PCv2 flash cart

Size
61.4 × 37 mm
Copper layers
4
Thickness
0.79 mm
Parts
72
Nets
129
Pads
520
Tracks, vias
2,850, 430
Pours
10
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
5 Aug 2023
Updated
7 Nov 2026

Overview

Nileswan is an open-source printed circuit board by 49bitcat, from the 49bitcat/nileswan repository on GitHub, published under the GPL-3.0 licence. It is a 4-layer board of 61.4 × 37 mm with 72 parts on 129 nets, routed with 2,850 tracks and 430 vias.

It is built around the ICE40HX1K-VQ100, IS66WVE4M16EBLL-70BLI and W25Q16JVUXIQ, with the RMLV0408EGSA-4S2#AA1, SIT8021AI-J4-XXS-24.000000E and TPS2117DRL among its other parts. Its parts include 36 capacitors, 18 resistors, 10 ICs, 3 connectors and 1 inductor. It belongs with the STM32 and FPGA and CPLD boards of this library.

Main components

6

README

readme.md

nileswan

Open software, WS/WSC/PCv2 compatible flash cartridge.

Building instructions

Requirements

  • OSS CAD Suite (FPGA core)
    • Requires a modified version of icepack, see below for more information
  • Wonderful Toolchain
    • target-wswan (IPL1, recovery, updater)
    • toolchain-gcc-arm-none-eabi (MCU firmware)
    • wf-superfamiconv (IPL1)
    • wf-zx0-salvador (IPL1, updater)
  • CMake (MCU firmware)
  • NASM (IPL0)
  • Nim 2.0+ (FPGA core, IPL0)
  • Ninja (MCU firmware)
  • Python 3.x (SPI images, updater)
    • Including external libraries: crc
  • dd, dosfstools, mtools (emulator images)
icepack

For the FPGA to be ready in time, the bitstream needs to be as small as possible and loaded at the highest speed possible. Thus a modified branch of icepack has to be used.

Compiling

  1. Make sure to fetch the Git submodules: git submodule update --init --recursive.
  2. Run make help to read what build options are possible.
  3. Run make (or make ...) to build the requested components.

License

  • docs/: CC BY-SA 4.0 (user and developer documentation)
  • firmware/: GNU GPLv3+ (MCU firmware)
  • shell/: CC BY-SA 4.0 (cartridge shell STL files)
  • software/: GNU GPLv3+ (cartridge IPL and on-device tools)
    • software/libnile/: zlib AND FatFs license

Parts

72
QtyValueFootprintReferences
29100 nFCapacitor_SMD:C_0402_1005MetricC2, C3, C10, C12, C14, C15, C16, C17, C18, C19, C20, C21, C22, C23, C26, C29 +13
610kResistor_SMD:R_0402_1005MetricR4, R5, R6, R7, R14, R17
347kResistor_SMD:R_0402_1005MetricR3, R9, R10
2100kResistor_SMD:R_0402_1005MetricR8, R11
2200 nFCapacitor_SMD:C_0402_1005MetricC24, C25
25.1kResistor_SMD:R_0402_1005MetricR1, R2
2IS66WVE4M16EBLL-70BLInileswan:BGA-48_6x8_6.0x8.0mmU4, U9
2TBDResistor_SMD:R_0402_1005MetricR20, R21
11 μHInductor_SMD:L_Murata_DFE201610PL1
11.16MResistor_SMD:R_0402_1005MetricR18
1100kCapacitor_SMD:C_0402_1005MetricR12
122 μFCapacitor_SMD:C_0603_1608MetricC38
14.7 nFCapacitor_SMD:C_0402_1005MetricC28
14.7 μFCapacitor_SMD:C_0603_1608MetricC31
147 μFCapacitor_SMD:C_0805_2012MetricC1
1470 pFCapacitor_SMD:C_0402_1005MetricC27
1610kResistor_SMD:R_0402_1005MetricR19
1AP22966DC8-7snapeda:IC_AP22966DC8-7U5
1Battery_Cellsnapeda:BAT_BAT-HLD-012-SMTBT1
1Cartridgebusnileswan:WSCartridgeBusB1
1Conn_02x05_Counter_ClockwiseConnector:Tag-Connect_TC2050-IDC-NL_2x05_P1.27mm_VerticalJ4
1ICE40HX1K-VQ100Package_QFP:VQFP-100_14x14mm_P0.5mmU1
1Micro_SD_Card_Det_Hirose_DM3ATConnector_Card:microSD_HC_Hirose_DM3AT-SF-PEJM5J1
1RMLV0408EGSA-4S2nileswan:sTSOP-32U6
1SIT8021AI-J4-XXS-24.000000Esnapeda:BGA4N41X100P2X2_84X154X60NU3
1STM32L052K6UxPackage_DFN_QFN:QFN-32-1EP_5x5mm_P0.5mm_EP3.45x3.45mmU8
1TPS2117snapeda:SOTFL50P160X60-8NU7
1TPS62A01DRLRPackage_TO_SOT_SMD:SOT-563U10
1TestPointTestPoint:TestPoint_Pad_D1.0mmTP2
1USB_C_Receptacle_USB2.0Connector_USB:USB_C_Receptacle_GCT_USB4110J2
1W25Q16JVUXIQsnapeda:SON50P300X200X60-9NU2

The 71 most common of 72 parts.

Questions

How big is the Nileswan PCB?

It measures 61.4 × 37 mm and has 4 copper layers, 0.79 mm thick.

What parts does the Nileswan use?

72 parts, built around the ICE40HX1K-VQ100, IS66WVE4M16EBLL-70BLI, W25Q16JVUXIQ and RMLV0408EGSA-4S2#AA1. 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.

Where can I download the Nileswan KiCad files?

From the 49bitcat/nileswan repository on GitHub, at the commit this page was made from: the board is legacy/pcb/nileswan.kicad_pcb and its schematic legacy/pcb/fpga.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Nileswan design in my own project?

Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

Similar boards

  • 4 layers101.8 × 83 mmSd2snes ecp5, the printed circuit board in 3D

    Sd2snes ecp5

    samlittlewood/sd2snes_ecp5

    Lattice ECP5 variant of SD2SNES

    184 parts21GPL-2.0
  • 4 layers54.6 × 54.6 mmECP5, the printed circuit board in 3D

    ECP5

    gildobjanschi/ECP5_BGA381_RISCV

    ECP5 FPGA with 8MB PSRAM and extension header

    115 parts1MIT
  • 8 layers194.5 × 156.9 mmFull schematic, the printed circuit board in 3D

    Full schematic

    TDT4295-2025-GruppeA/PCB

    TODO: noe..

    221 parts
  • 4 layers84 × 40 mmRam, the printed circuit board in 3D

    Ram

    MichaelBell/RV4028

    RV4028 - A hackable Risc-V computer

    10 parts9BSD-3-Clause
  • 4 layers66 × 61 mmBaseband, the printed circuit board in 3D

    Baseband

    wnmusic/simpleFE

    A very low cost mixed front end (ADC, DAC, SDR)

    145 parts5GPL-2.0
  • 6 layers159.5 × 96.5 mmAmigaPCI 68040, the printed circuit board in 3D

    AmigaPCI 68040

    AmigaPCI/AmigaPCI-LBC040

    MC68040 Local Bus Card for the AmigaPCI

    136 parts3
  • 2 layers64 × 55 mmIcedaq, the printed circuit board in 3D

    Icedaq

    mdavidsaver/pcb

    EE fumblings

    74 parts
  • 2 layers62 × 84.5 mmCannelle v2, the printed circuit board in 3D

    Cannelle v2

    ronangaillard/cannelle-schematics

    KiCad schematics for the cannelle project

    60 parts