

Manila ice
Lattice iCE HX4K Development Board
- Size
- 85 × 54 mm
- Copper layers
- 4
- Thickness
- 1.6 mm
- Parts
- 158
- Nets
- 189
- Pads
- 693
- Tracks, vias
- 18,955, 390
- Pours
- 26
- Routed
- Yes
- KiCad
- KiCad 5 (file 20171130)
- Created
- 17 Oct 2019
- Updated
- 2 Mar 2021
Overview
Manila ice is an open-source printed circuit board by joshtyler, from the joshtyler/manila-ice repository on GitHub. It is a 4-layer board of 85 × 54 mm with 158 parts on 189 nets, routed with 18,955 tracks and 390 vias.
It is built around the ICE40HX4K-TQ144, CH340E and RTL8211EG-VB-CG, with the TPS54331D, W25Q128JVSIQ and SRV05-4 among its other parts. Its parts include 56 capacitors, 48 resistors, 15 ICs, 13 diodes and 5 connectors. It belongs with the fPGA and programmable logic and microcontroller boards boards and the FPGA and CPLD boards of this library.
Main components
11ICE40HX4K-TQ144
TQFP-144(20x20)-40℃~+100℃ 1.14V~1.26V 107 3520 440 81920bit iCE40 HX TQFP-144(20x20) Programmable Logic Device (CPLDs/FPGAs) ROHSLatticeProgrammable Logic Device (CPLDs/FPGAs)CH340E
MSOP-10150uA 20mA 2Mbps 3.3V、5V Transceiver USB 2.0 MSOP-10 USB Converters ROHSWCH (Nanjing Qinheng Microelectronics)USB ConvertersRTL8211EG-VB-CG
QFN-64-EP(9x9)1.5V、1.8V、2.5V、3.3V 10BASE-T、100BASE-TX、1000BASE-T 10Mbit/s、100Mbit/s、1Gbit/s GMII、RGMII PHY Transceiver QFN-64-EP(9x9) Ethernet Transceivers ROHSRealtek SemiconEthernet TransceiversTPS54331D
SOIC-8-40℃~+150℃@(TJ) 1 110uA 3.5V~28V 3A 570kHz 800mV~25V Adjustable Buck Buck Built-in No SOIC-8 DC-DC Converters ROHSTexas InstrumentsDC-DC ConvertersW25Q128JVSIQ
SOIC-8-208mil-40℃~+85℃ 100,000 cycles 120ms@(32KB) 128Mbit 133MHz 1uA 2.7V~3.6V 20 Years 3ms Power-on reset、Hardware write protection、Software write protection、Write enable latch、Absolute write protection SPI SOIC-8-208mil NOR FLASH ROHSWinbondNOR FLASHSRV05-4
SOT-23-6L-55℃~+150℃ 15V 1pF 4A 5V 5uA 6V 80W ESD Four channels IEC 61000-4-2、IEC 61000-4-5 Unidirectional SOT-23-6L ESD and Surge Protection (TVS/ESD) ROHShongjiachengESD And Surge Protection (TVS/ESD)M24C01-RMN6P
SO-8-40℃~+85℃ 1.8V~5.5V 1Kbit 200 Years 4,000,000 Cycles 400kHz 5ms I2C Power-down/Power-up protection circuit SO-8 EEPROM ROHSSTMicroelectronicsEEPROMW9812G6KH-6
TSOPII-54-10.2mm0℃~+70℃ 128Mbit 166MHz 3V~3.6V TSOPII-54-10.2mm SDRAM ROHSWinbond ElecSDRAMSS54
SMA(DO-214AC)-55℃~+125℃ 1mA@40V 40V 550mV@5A 5A Independent SMA(DO-214AC) Schottky Diodes ROHSMDDSchottky DiodesGZ2012D101TF
08051 100Ω@100MHz 150mΩ 800mA ±25% 0805 Ferrite Beads ROHSSunlordFerrite BeadsRB1-125B8G1A
插件0℃~+70℃ 1 Gold Non-PoE Phosphor bronze RJ45 Jack Right Angle Shielded With LED 插件 Ethernet Connectors / Modular Connectors (RJ45 RJ11) ROHSUDE CorpEthernet Connectors / Modular Connectors (RJ45 RJ11)
README
README.mdmanila iCE
manila iCE is a credit card sized Lattice iCE40 development board.
Quick links:

Features:
- Credit card sized (85x54mm)
- iCE40 HX4K FPGA (usable as an 8k device in yosys)
- Gigabit Ethernet
- 128Mbit SDRAM
- Two dual row PMODs
- 128Mbit QSPI flash
- USB UART (2Mbaud speed)
- 50MHz oscillator
- 64kbit I2C EEPROM
- 8 LEDs
- 2 push buttons
- 3A 3V3 and 1V2 power supplies
Bootloader
The board has a bootloader which supports loading of FPGA bitstreams over UART. Four slots for bitstreams are supported. The first is reserved for the bootloader itself, and the other three can hold user images.
The FPGA is configured with the bootloader on powerup, and then automatically boots into the first bitstream after a timeout. Alternate bitstreams can be selected using the buttons, or by UART command.
Example applications
The following applications are provided to demonstrate functionality of the PCB:
- UART loopback
- SDRAM controller
- Gigabit ethernet loopback
Programming Application
To support uploading user applications, a Linux software utility is provided to update any of the bitstream slots.
To install the software checkout this repository, and run the following commands:
cd sw/scriptsmakemake install
You will now have an executable called manila in your path.
To program the FPGA:
- Plug in the board with USB
- Press either of the switches to pause the boot process (optional if you're quick!)
manila prog [path to bitstream]
To discover the optional arguments run manila prog without any arguments.
SPI Flash
The SPI flash memory is laid out as follows:
The bootloader partition is protected to prevent accidental erasure.
Bootloader Upgrades
In order to allow for firmware upgrades the protection is volatile. When the firmware is configured with the bootloader, before UART commands are accpeted it sends commands to the SPI flash to write protect the bootloader region, and then locks out that configuration until the SPI flash is power cycled.
TODO: document process for upgrading bootloader
PCB Errata
- v1.0 - No known issues affecting functionality
- LEDs in ethernet phy do not light due to symbol error
- Silkscreen box around phtograph on back does not fully enclose image after fab
- Caption for photograph on back is difficult to read
Parts
158| Qty | Value | Footprint | References |
|---|---|---|---|
| 35 | 100n | Capacitor_SMD:C_0603_1608Metric | C1, C2, C11, C13, C15, C17, C18, C19, C20, C21, C22, C23, C24, C25, C26, C27 +19 |
| 11 | 1k | Resistor_SMD:R_0603_1608Metric | R1, R2, R31, R32, R33, R34, R35, R36, R37, R38, R39 |
| 11 | LED | Diode_SMD:D_0805_2012Metric_Castellated | D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11 |
| 10 | 10k | Resistor_SMD:R_0603_1608Metric | R7, R9, R27, R28, R29, R30, R40, R41, R42, R48 |
| 10 | 4k7 | Resistor_SMD:R_0603_1608Metric | R10, R11, R12, R13, R14, R15, R16, R17, R21, R22 |
| 8 | 22u | Capacitor_SMD:C_0603_1608Metric | C10, C42, C43, C44, C46, C52, C53, C54 |
| 7 | SRV05-4 | Package_TO_SOT_SMD:SOT-23-6 | U9, U10, U11, U12, U13, U14, U15 |
| 5 | TestPoint | TestPoint:TestPoint_Pad_D1.0mm | TP1, TP2, TP3, TP4, TP5 |
| 4 | 4u7 | Capacitor_SMD:C_0603_1608Metric | C14, C16, C28, C31 |
| 4 | MountingHole_Pad | MountingHole:MountingHole_3.2mm_M3_Pad | H1, H2, H3, H4 |
| 3 | 100 | Resistor_SMD:R_0603_1608Metric | R25, R26, R47 |
| 3 | 100u | Capacitor_Tantalum_SMD:CP_EIA-3528-21_Kemet-B | C9, C45, C55 |
| 3 | 2k4 | Resistor_SMD:R_0603_1608Metric | R4, R6, R19 |
| 3 | 2u2 | Inductor_SMD:L_Sunlord_MWSA0518_5.4x5.2mm | L1, L2, L3 |
| 3 | 510 | Resistor_SMD:R_0603_1608Metric | R18, R20, R23 |
| 3 | SW_SPST | Button_Switch_SMD:SW_Push_1P1T_NO_5.1x5.1mm | SW1, SW2, SW3 |
| 2 | 10n | Capacitor_SMD:C_0603_1608Metric | C40, C50 |
| 2 | 10p | Capacitor_SMD:C_0603_1608Metric | C12, C48 |
| 2 | 1n | Capacitor_SMD:C_0603_1608Metric | C39, C49 |
| 2 | 43k | Resistor_SMD:R_0603_1608Metric | R43, R44 |
| 2 | Conn_02x06_Odd_Even | Connector_PinSocket_2.54mm:PinSocket_2x06_P2.54mm_Horizontal | J4, J5 |
| 2 | SG-7050CAN | Oscillator:Oscillator_SMD_SeikoEpson_SG8002CA-4Pin_7.0x5.0mm | X1, X2 |
| 2 | SS54 | Diode_SMD:D_SMA | D12, D13 |
| 2 | TPS54331D | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U3, U4 |
| 1 | 0R | Resistor_SMD:R_0603_1608Metric | R24 |
| 1 | 180k | Resistor_SMD:R_0603_1608Metric | R46 |
| 1 | 1k2 | Resistor_SMD:R_0603_1608Metric | R5 |
| 1 | 360k | Resistor_SMD:R_0603_1608Metric | R45 |
| 1 | 7k5 | Resistor_SMD:R_0603_1608Metric | R3 |
| 1 | 91 | Resistor_SMD:R_0603_1608Metric | R8 |
| 1 | CH340E | Package_SO:MSOP-10_3x3mm_P0.5mm | U2 |
| 1 | Conn_01x08 | SOICBite:SOIC_clipProgSmall | J3 |
| 1 | GZ2012D101TF | Inductor_SMD:L_0805_2012Metric | FB1 |
| 1 | ICE40HX4K-TQ144 | Package_QFP:TQFP-144_20x20mm_P0.5mm | U6 |
| 1 | M24C01-RMN | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U8 |
| 1 | Make with KiCad logo | Symbol:KiCad-Logo2_5mm_SilkScreen | SYM2 |
| 1 | OSHW logo | Symbol:OSHW-Logo_5.7x6mm_SilkScreen | SYM1 |
| 1 | RB1-125B8G1A | Connector_RJ:RJ45_UDE_RB1-125B8G1A | J2 |
| 1 | RTL8211EG-VB-CG | Package_DFN_QFN:QFN-64-1EP_9x9mm_P0.5mm_EP3.8x3.8mm_ThermalVias | U5 |
| 1 | Shetland picture | Art:Shetland_combined | SYM3 |
| 1 | USB_B | Connector_USB:USB_B_OST_USB-B1HSxx_Horizontal | J1 |
| 1 | W25Q128JVS | Package_SO:SOIC-8_5.23x5.23mm_P1.27mm | U7 |
| 1 | W9812G6KH-6 | Package_SO:TSOP-II-54_22.2x10.16mm_P0.8mm | U1 |
Similar boards
- 2 layers140 × 90 mm

- 2 layers170 × 170 mm

- 4 layers

- 2 layers175 × 60 mm

- 2 layers36.8 × 37 mm

Flopagon
hairymnstr/Flopagon
A floppy disk styled flash storage device for the EMF Camp Tildagon
17 parts12CERN-OHL-P-2.0 - 2 layers94 × 54 mm

- 2 layers85 × 170 mm

Core64 LB v0.4
ageppert/Core-64-Interactive-Core-Memory-Badge
64 bits of core memory and LEDs to interact with directly using a magnetic wand.
146 parts17GPL-3.0 - 2 layers130 × 110 mm

3D Printer Mainboard STM32
m47812/Custom-3D-Printer-Controller
A fully custom 3D Printer controller board based on an stm32f7 controller with TMC2209 stepper drivers
191 parts10GPL-3.0
Questions
How big is the Manila ice PCB?
It measures 85 × 54 mm and has 4 copper layers, 1.6 mm thick.
What parts does the Manila ice use?
158 parts, built around the ICE40HX4K-TQ144, CH340E, RTL8211EG-VB-CG and TPS54331D. 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 Manila ice KiCad files?
From the joshtyler/manila-ice repository on GitHub, at the commit this page was made from: the board is hw/manila_ice.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the Manila ice design in my own project?
Its repository states no licence, so its author keeps all rights: ask joshtyler before reusing the design.