

Nileswan
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
6ICE40HX1K-VQ100
TQFP-100(14x14)-40℃~+100℃ 1.14V~1.26V 1280 160 65536bit 72 iCE40 HX TQFP-100(14x14) Programmable Logic Device (CPLDs/FPGAs) ROHSLatticeProgrammable Logic Device (CPLDs/FPGAs)IS66WVE4M16EBLL-70BLI
TFBGA-48(6x8)-40℃~+85℃ 2.7V~3.6V 200uA 64Mbit 70ns Built-in auto-refresh logic、Partial array refresh、Temperature compensated refresh、Built-in voltage sensor TFBGA-48(6x8) PSRAM ROHSISSISRAMW25Q16JVUXIQ
USON-8-EP(2x3)-40℃~+85℃ 100,000 cycles 10uA 133MHz 16Mbit 2.7V~3.6V 20 Years 3ms SPI USON-8-EP(2x3) NOR FLASH ROHSWinbond ElecNOR FLASHRMLV0408EGSA-4S2#AA1
TSOPI-32-40℃~+85℃ 10mA 2.7V~3.6V 45ns 4Mbit 7uA TSOPI-32 SRAM ROHSRenesas ElectronicsSRAMSIT8021AI-J4-XXS-24.000000E
UFBGA-4UFBGA-4 Crystal Oscillators ROHSSiTimeCrystal OscillatorsTPS2117DRL
SOT-5X3Analog Switches, MultiplexersTexas Instruments
README
readme.mdnileswan
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
- Requires a modified version of
- 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
- Including external libraries:
- 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
- Make sure to fetch the Git submodules:
git submodule update --init --recursive. - Run
make helpto read what build options are possible. - Run
make(ormake ...) 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| Qty | Value | Footprint | References |
|---|---|---|---|
| 29 | 100 nF | Capacitor_SMD:C_0402_1005Metric | C2, C3, C10, C12, C14, C15, C16, C17, C18, C19, C20, C21, C22, C23, C26, C29 +13 |
| 6 | 10k | Resistor_SMD:R_0402_1005Metric | R4, R5, R6, R7, R14, R17 |
| 3 | 47k | Resistor_SMD:R_0402_1005Metric | R3, R9, R10 |
| 2 | 100k | Resistor_SMD:R_0402_1005Metric | R8, R11 |
| 2 | 200 nF | Capacitor_SMD:C_0402_1005Metric | C24, C25 |
| 2 | 5.1k | Resistor_SMD:R_0402_1005Metric | R1, R2 |
| 2 | IS66WVE4M16EBLL-70BLI | nileswan:BGA-48_6x8_6.0x8.0mm | U4, U9 |
| 2 | TBD | Resistor_SMD:R_0402_1005Metric | R20, R21 |
| 1 | 1 μH | Inductor_SMD:L_Murata_DFE201610P | L1 |
| 1 | 1.16M | Resistor_SMD:R_0402_1005Metric | R18 |
| 1 | 100k | Capacitor_SMD:C_0402_1005Metric | R12 |
| 1 | 22 μF | Capacitor_SMD:C_0603_1608Metric | C38 |
| 1 | 4.7 nF | Capacitor_SMD:C_0402_1005Metric | C28 |
| 1 | 4.7 μF | Capacitor_SMD:C_0603_1608Metric | C31 |
| 1 | 47 μF | Capacitor_SMD:C_0805_2012Metric | C1 |
| 1 | 470 pF | Capacitor_SMD:C_0402_1005Metric | C27 |
| 1 | 610k | Resistor_SMD:R_0402_1005Metric | R19 |
| 1 | AP22966DC8-7 | snapeda:IC_AP22966DC8-7 | U5 |
| 1 | Battery_Cell | snapeda:BAT_BAT-HLD-012-SMT | BT1 |
| 1 | Cartridgebus | nileswan:WSCartridgeBus | B1 |
| 1 | Conn_02x05_Counter_Clockwise | Connector:Tag-Connect_TC2050-IDC-NL_2x05_P1.27mm_Vertical | J4 |
| 1 | ICE40HX1K-VQ100 | Package_QFP:VQFP-100_14x14mm_P0.5mm | U1 |
| 1 | Micro_SD_Card_Det_Hirose_DM3AT | Connector_Card:microSD_HC_Hirose_DM3AT-SF-PEJM5 | J1 |
| 1 | RMLV0408EGSA-4S2 | nileswan:sTSOP-32 | U6 |
| 1 | SIT8021AI-J4-XXS-24.000000E | snapeda:BGA4N41X100P2X2_84X154X60N | U3 |
| 1 | STM32L052K6Ux | Package_DFN_QFN:QFN-32-1EP_5x5mm_P0.5mm_EP3.45x3.45mm | U8 |
| 1 | TPS2117 | snapeda:SOTFL50P160X60-8N | U7 |
| 1 | TPS62A01DRLR | Package_TO_SOT_SMD:SOT-563 | U10 |
| 1 | TestPoint | TestPoint:TestPoint_Pad_D1.0mm | TP2 |
| 1 | USB_C_Receptacle_USB2.0 | Connector_USB:USB_C_Receptacle_GCT_USB4110 | J2 |
| 1 | W25Q16JVUXIQ | snapeda:SON50P300X200X60-9N | U2 |
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 mm

- 4 layers54.6 × 54.6 mm

- 8 layers194.5 × 156.9 mm

- 4 layers84 × 40 mm

- 4 layers66 × 61 mm

- 6 layers159.5 × 96.5 mm

- 2 layers64 × 55 mm

- 2 layers62 × 84.5 mm
