z80replacement · a Z80 CPU replacement with an FPGA
Cost
estimated cost of the parts, the PCB and the assembly
Status, 29 November 2026: nobody has built this module yet. The first sample run of 2 boards comes soon. Wait until the project has tested these boards before you send an order or a build request to a factory.
Repository file: docs/cost.md
This file gives the cost of one module: the parts, the PCB and the assembly at PCBWay. It gives two order sizes, 5 boards and 50 boards, and two versions, full and lite (fpga.md).
All prices are in US dollars, without tax, duty or shipping. I read them on 6 November 2026 from the Digi-Key web site and from the PCBWay quote forms, unless a line says otherwise. Prices and stock change often. Check them again before an order.
Summary
| Per board | Full, 5 boards | Full, 50 boards | Lite, 5 boards | Lite, 50 boards |
|---|---|---|---|---|
| Parts | $113 | $109 | $45 | $44 |
| PCB, HDI 8 layers | $170 | $19.50 | $170 | $19.50 |
| Assembly | $28 | $14.50 | $28 | $14.50 |
| Total per board | about $312 | about $143 | about $243 | about $78 |
| Total for the order | about $1,560 | about $7,150 | about $1,220 | about $3,880 |
The totals are the sums of the parts totals in the tables below and the PCB and assembly quotes of 10 November 2026. The exact sums for each board are $311.98 and $143.07 for the full version, and $243.27 and $77.55 for the lite version. The exact sums for the order are $1,559.88, $7,153.49, $1,216.33 and $3,877.49. The table rounds the total for each board to $1 and the total for the order to $10.
The parts line of the full version has the IS61WV20488FBLL-10BLI at $22.10 (Mouser, 548 in stock, 10 November 2026). For 50 boards Mouser gives $19.37, thus the 50-board line is about $3 high.
The PCB and assembly lines are the 8-layer HDI quote of 10 November 2026 (see PCB and Assembly). The PCB line is the bare board. The assembly line is the work only. The parts line is the only line with the parts: PCBWay adds the turnkey parts after its review.
History of this summary:
- Until 29 November 2026: the parts totals still had the inductor L3 at $0.11. The SRAM change of 9 November 2026 removed L3 from the board. Full version $113.39 and $109.18 for the parts, lite version $44.68 and $43.66. The lite version was about $244 a board for 5 boards and about $3,900 for the order of 50 boards. The exact sums with L3 were $243.38 and $3,882.99: the rounding rule of 29 November 2026, not L3, changed these two values. The other rounded values did not change.
- On 10 November 2026, before the 50-board quote: the 50-board PCB line was the 6-layer quote ($11 a board). Full version about $135 a board, about $6,725 for the order. Lite version about $70 a board, about $3,475 for the order.
- Until 10 November 2026, with the 6-layer PCB quote and the old assembly quote: PCB $98 and $11, assembly $23 and $12 a board. Full version about $234 and $132 a board, about $1,170 and $6,600 for the order. Lite version about $166 and $67 a board, about $830 and $3,350 for the order. The line under the table said: "The PCB line is still the 6-layer quote. Get an 8-layer HDI quote before the order."
- Until 10 November 2026: the estimate with the DDR3L. Full version $114 and $110 for the parts, about $235 and $133 a board, about $1,175 and $6,650 for the order.
- On 10 November 2026, before the selection of the SRAM part: the parts line had a range ($100 to $105, $96 to $100), because the IS62 SRAM had no stock and no price. The totals were about $225 and $121 a board, about $1,125 and $6,050 for the order.
The largest costs:
- The FPGA: $69.63 for the LFE5U-85F, $23.02 for the LFE5U-12F.
- For 5 boards, the PCB: $851.73 for all 5. The setup cost, not the board area, sets that price. 50 boards cost only $975.27: each additional board adds about $2.75. (Until 10 November 2026 this item gave the 6-layer quote: $488.77 for 5 boards, $539.90 for 50.)
- For the full version, the DDR3L was $22.36. The SRAM that replaced the DDR3L on 9 November 2026 costs about $8.60 to $13.40 (see the notes on the parts).
The 40 socket pins cost less than $1 a board. Two Mill-Max headers cost $29.72 (see the notes on the parts).
The order totals do not include shipping. PCBWay gave $26.55 for DHL to the USA for 5 bare PCBs.
NOTE (9 November 2026): On this date the user replaced the DDR3L with a 2 MB SRAM (U5, ISSI IS62WV20488FBLL-45BLI), to make the PCB routable. The totals in this file are estimates from before this change. Do them again with the new part list: the SRAM is about $14 to $22 cheaper than the DDR3L.
These parts are no longer on the board: the 1.35 V buck converter U20 with L3, the DDR3L passives, the VREF parts and the two ferrite beads FB1 and FB2. The board had 158 footprints after this change (it had 185). Since the third board round of 11 November 2026 the board has 159 footprints: R47 is new. The lines for the removed parts stay in the tables below as history.
On 10 November 2026 the summary and the parts total of the full version got the new values. The lite table and the PCB quote are not done again.
On 29 November 2026 a correction removed the inductor L3 ($0.11) from
the parts totals of the full version and of the lite table. The totals
of 10 November 2026 still had L3. The SRAM change of 9 November 2026
removed L3 with U20 (sram.md, "Parts that the SRAM
removed"). The inductors in
hardware/schematic/parts.json, in the board file and in the BOM
hardware/pcb/fab/z80r-bom.csv are L1, L2 and L4 only.
Parts, full version
The per-board quantity of each part is in the "Qty" column. "5 boards" and "50 boards" give the unit price at the order quantity, where Digi-Key shows a price break. Where it shows no break, both columns have the same price.
| Ref | Part (MPN) | Qty | 5 boards | 50 boards | Source and stock |
|---|---|---|---|---|---|
| U1 | Lattice LFE5U-85F-6MG285C | 1 | $69.63 | $66.44 | Digi-Key, 150 in stock, 40 weeks from the factory |
| U5 | ISSI IS61WV20488FBLL-10BLI, SRAM 16 Mbit (2M x 8), 3.3 V, 10 ns, 48-ball mini BGA (Mouser 870-61W20488FBLL10BI) | 1 | $22.10 | $22.10 | Mouser, 548 in stock (10 November 2026) |
| U5 (history, until 10 November 2026) | ISSI IS62WV20488FBLL-45BLI, SRAM 16 Mbit (2M x 8), 3.3 V, 45 ns, 48-ball mini BGA (LCSC C1352595) | 1 | about $8.60 to $13.40 | about $8.60 to $13.40 | LCSC page: no stock figure. Digi-Key: 0 in stock, 480-piece tray, about $13.40. Another seller: about $8.60. Find stock before the order. Fallback: IS61WV20488FBLL (10 ns), same package. |
| U5 (history, until 9 November 2026) | ISSI IS43TR16128DL-125KBLI, DDR3L 2 Gbit x16 | 1 | $22.36 | $22.36 | Digi-Key, 157 in stock |
| U2 | Raspberry Pi RP2354A (SC1511-A4) | 1 | $1.15 | $1.15 | Digi-Key, 9,008 in stock |
| U17 | Winbond W25Q128JVPIQ, 128 Mbit QSPI | 1 | $1.81 | $1.81 | aggregator, Digi-Key price |
| U3 | Skyworks Si8641BB-B-IU, 3 forward + 1 reverse | 1 | $3.52 | $3.52 | Mouser, 25,273 in stock (11 November 2026). The price is the price of the Si8641BA-B-IU at Digi-Key. The price is not read again. See bom_stock.md |
| U4 | Skyworks Si8642EB-B-IU, 2 forward + 2 reverse, default output high | 1 | $2.13 | $2.13 | Mouser, 1,077 in stock (11 November 2026). The price is the price of the Si8642EA-B-IU at Digi-Key. The price is not read again |
| U10–U15 | Nexperia 74LVC4245ABQ,118 (DHVQFN24) | 6 | $0.67 | $0.67 | Digi-Key, 13,590 in stock |
| U16 | Nexperia 74LVC1G17GW | 1 | $0.14 | $0.14 | Digi-Key |
| U6 | TI TLV75533PDBVR, 3.3 V LDO | 1 | $0.13 | $0.11 | LCSC |
| D1 | ST USBLC6-2SC6, USB ESD | 1 | $0.13 | $0.13 | LCSC |
| U18, U19 | TI TLV62569DRLR, buck converter | 2 | $0.24 | $0.24 | Digi-Key |
| U20 (history, removed 9 November 2026) | TI TLV62569DRLR, 1.35 V buck converter for the DDR3L, with L3 | 1 | $0.24 | $0.24 | Digi-Key |
| U21 | TI TLV75525PDRVR, 2.5 V LDO | 1 | $0.15 | $0.15 | LCSC |
| X1 | SiTime SiT8008BI-72-33E-25.000000G, 25 MHz | 1 | $2.30 | $1.81 | Mouser, 163 in stock (11 November 2026). The price is the price of the part with no packing letter at Digi-Key |
| U22 | TI TPS259470ARPWR, eFuse for the USB power option | 1 | $1.48 | $1.48 | Digi-Key |
| X2 | SiTime SiT8008BI-73-33E-12.000000G, 12 MHz oscillator, 50 ppm, 2.0 × 1.6 mm | 1 | $1.26 | $1.26 | Mouser, 292 in stock (11 November 2026). The price is the old LCSC price of the 25 ppm part. The price is not read again |
| J1 | GCT USB4105-GF-A, USB-C | 1 | $0.73 | $0.44 | Digi-Key, Rutronik |
| L1, L2 | Murata DFE201610E-2R2M, 2.2 µH | 2 | $0.11 | $0.11 | LCSC |
| L4 | Abracon AOTA-B201610S3R3-101-T, 3.3 µH | 1 | $0.29 | $0.29 | LCSC |
| P1, P2 | chxunda XDZ254C-1-20-Z-3.0-G1, 20-pin round-pin header (LCSC C19184352) | 2 | $0.48 | $0.37 | LCSC, 798 in stock |
| C, R, LED | About 55 capacitors, 32 resistors, 2 LEDs (estimate from before the SRAM change). The BOM of the third round has 79 capacitors, 45 resistors and 2 LEDs. The price is not calculated again. | LCSC, about $0.65 a board | |||
| Total per board (history: the estimate with the DDR3L, until 10 November 2026) | $113.89 | $109.68 | |||
| Total per board (prices of 10 November 2026, with the IS61WV20488FBLL-10BLI at $22.10, sum of 29 November 2026) | $113.28 | $109.07 | |||
| Total per board (history, with the IS62WV20488FBLL-45BLI at $8.60 to $13.40, sum of 29 November 2026) | $99.78 to $104.58 | $95.57 to $100.37 |
Notes on the parts:
-
0402 bulk capacitors (10 November 2026). Five 10 µF and 22 µF capacitors (C15, C31, C53, C56, C57) are 0402 X5R 6.3 V, not 0603. The capacitors on +5V stay 0603. The line "C, R, LED" in the table is an estimate and does not change. The price of the 0402 parts is not checked. Check the price and the stock of a 22 µF 0402 X5R 6.3 V capacitor and a 10 µF 0402 X5R 6.3 V capacitor before the order.
-
SRAM (since 10 November 2026). The IS61WV20488FBLL-10BLI (ISSI, 10 ns, 2.4 V to 3.6 V, up to 90 mA) is the part of U5. Mouser had 548 in stock at $22.10. The ball map is in sram.md.
-
SRAM (history, 9 November 2026). The IS62WV20488FBLL-45BLI works from 2.2 V to 3.6 V. The board supplies 3.3 V. The ball map is in
hardware/schematic/make_lib.py. It comes from a text extract of the ISSI data sheet. Compare it with the official PDF before the PCB order. Done on 10 November 2026: the ball map agrees with the official PDF (sram.md, "The ball map"). No distributor has stock. -
DDR3L, not DDR3 (history, until 9 November 2026). In the ISSI names, "DL" is the 1.35 V DDR3L part. The IS43TR16128D without the L is a 1.5 V DDR3 part. Do not order it. The IS43TR16128DL-107MBLI (744 in stock, same price) is also correct.
-
Isolators. Digi-Key has no TI ISO7741DBQR or ISO7742DBQR in stock (back order only). The Skyworks Si8641 and Si8642 have the same 16-pin package. Pins 1 to 8 are side 1 and pins 9 to 16 are side 2, as on the TI parts. Read the Si864x pin table before the schematic: do not think that the parts are pin-compatible. The "B" in Si8641BA sets a low output when the input side has no power, and the "E" in Si8642EB sets a high output. U4 must be the Si8642EB: with the Si8642BA, the CPU core stays in reset when the module has no USB cable (board_pins.md). LCSC had a small stock of the ISO7742DBQR at about $2.01.
-
Socket pins. The chxunda header has a 0.50 mm pin on one end and a 0.60 mm pin on the other end. Only the 0.50 mm end fits a DIP socket. mechanical.md tells how to install the header. The Mill-Max 350-10-120-00-006000 turned-pin header costs $14.86 at Digi-Key ($29.72 a board). Use the Mill-Max header if the chxunda header fails the socket test.
-
Socket strips (SIP). A machined SIP socket strip with a tail through the board is not a good socket pin. The Mill-Max 310 tail (3.18 mm) and 311 tail (4.32 mm) are too short for the board, the gap under the board and the socket depth. The low-profile 315 tail is 0.76 mm, which is too thick for a DIP socket. A SIP strip also has no body under the board to hold the board above the socket. The 311 strip costs about $19.
-
Flash. The W25Q128JVPIQ is a 6 mm × 5 mm WSON-8. The placement study uses this footprint. A 4 mm × 4 mm flash has a maximum of 64 Mbit. The Winbond W25Q64JVXGIM (LCSC C6604688) costs $7.23. 64 Mbit holds the bitstream and the ROM images, but costs more than the 128 Mbit part.
-
12 MHz clock for the RP2354A. The RP2354A uses an oscillator (X2), not a crystal. Raspberry Pi tested only one crystal, the Abracon ABM8-272-T3: 3.2 × 2.5 mm, ESR 50 Ω maximum, 10 pF load. A different crystal needs tests over temperature ("Hardware design with RP2350", section 4). A 12 MHz crystal in the 2.0 × 1.6 mm package has a high ESR: the RFX-21-12.0M50IY18 (LCSC C5868864) has 300 Ω and an 18 pF load, and LCSC has no stock. The same guide permits a CMOS clock at the IOVDD voltage (3.3 V) on the XIN pin. X2 is in the same family as X1. X2 does not need the two 15 pF load capacitors and the 1 kΩ series resistor of the crystal circuit. X2 needs one 100 nF capacitor. Do not connect XOUT. The RP2350 data sheet says that XIN is a CMOS clock input "with XOUT disconnected" (chapter 1, XIN and XOUT). XIN accepts 1 MHz to 50 MHz (table "Oscillator pin characteristics"). Other parts:
- YXC OT201612MJBA4SL (LCSC C669076), 12 MHz, 1.8 V to 3.3 V, 2.0 × 1.6 mm: $0.37, but the lead time is 77 to 79 business days.
- Abracon ABM8-272-T3, if a 3.2 × 2.5 mm part fits: the crystal that Raspberry Pi tested.
-
The FPGA lead time. Digi-Key has 150 LFE5U-85F and 153 LFE5U-12F in stock. After that stock, the factory lead time is 40 weeks. Buy the FPGAs early. The LFE5U-25F had no stock (168 expected in January 2027).
Parts, lite version
The lite version uses the LFE5U-12F and does not fit the memory part (the DDR3L until 9 November 2026, the SRAM since then). The table is from the time of the DDR3L. The table removes the DDR3L, the 1.35 V buck converter U20 and its inductor L3. The table keeps the DDR3L capacitors in the line "C, R, LED". Do the table again with the parts of the SRAM board.
| Change from the full version | 5 boards | 50 boards |
|---|---|---|
| Full version | $113.89 | $109.68 |
| Remove LFE5U-85F | −$69.63 | −$66.44 |
| Remove DDR3L | −$22.36 | −$22.36 |
| Remove one buck converter | −$0.24 | −$0.24 |
| Remove the inductor L3 of the buck converter | −$0.11 | −$0.11 |
| Add LFE5U-12F-6MG285C (Digi-Key, 153 in stock) | +$23.02 | +$23.02 |
| Total per board, lite version | $44.57 | $43.55 |
The full version with the SRAM gives the same totals, without the LFE5U-85F and the SRAM and with the LFE5U-12F. For 5 boards: $113.28 − $69.63 − $22.10 + $23.02 = $44.57. For 50 boards: $109.07 − $66.44 − $22.10 + $23.02 = $43.55. Until 29 November 2026 the table had no line for L3, and the totals were $44.68 and $43.66.
PCB
Quote of 10 November 2026 from the PCBWay "Advanced PCB" form, for the board of the order (the settings are in pcb.md, "Order remarks for PCBWay"):
- HDI (buried and blind vias), IPC 6012 class 2, single pieces
- 52.4 mm × 25.34 mm, 8 layers, Tg170 FR-4, 1.2 mm thick
- 3/3 mil track and space, 0.15 mm minimum hole
- ENIG 2U", 1 oz outer copper, 0.5 oz inner copper. The form field has the name "Finished copper". Thus "1 oz" is the finished copper, and the field agrees with 0.5 oz base copper plus plating.
- custom stack-up, via in pad, via filled with copper
- build time 11 to 12 days
| Quantity | Total | Per board |
|---|---|---|
| 5 | $851.73 | $170.35 |
| 50 | $975.27 | $19.51 |
Shipping: $28.95 (DHL to the USA, 2 to 4 days, 0.52 kg for 5 boards, 0.70 kg for 50). The form gave an order discount of the same value. The form says that the final price comes after the PCBWay review.
On 12 November 2026 (PCBWay date) the form gave the same PCB price for 5 boards of the third round: $851.73. This quote is in the PCBWay cart as the new PCB item, with the files of the third round. (The owner removed the first PCB item of the cart.) The order is not paid. PCBWay reviews the files and can change the price.
The price is almost the same for 5 and for 50 boards. One board is 13.3 cm2, thus 50 boards are on one production panel, the same as 5 boards. The fixed cost of an HDI order is in the engineering, the tooling, the laser drill programs, the three laminations and the electrical test setup. That cost is the same for 1 or for 50 boards. (Until 10 November 2026 the last sentence of the paragraph above the table said: "Get the price for 10 and 50 boards with the same form.")
History: the 6-layer quote
Quote from the PCBWay online form (Standard PCB, material "HDI (Buried/blind vias)"):
- 52.5 mm × 17.34 mm, single pieces, 6 layers (the board is now 52.4 mm × 25.34 mm with 8 layers: get a new quote)
- FR-4 TG150, 1.0 mm thick
- 4/4 mil track and space, 0.15 mm minimum hole
- immersion gold (ENIG), 1 oz outer and inner copper
- build time 10 to 11 days
| Quantity | Total | Per board |
|---|---|---|
| 5 | $488.77 | $97.75 |
| 10 | $494.45 | $49.45 |
| 50 | $539.90 | $10.80 |
| 100 | $596.69 | $5.97 |
NOTE: This quote is for the first board, with 6 layers. The board now has 8 layers, 1.2 mm thick (HDI 1+1+4+1+1, pcb.md). Get a new quote for 8 layers before the order.
The form says that the price is for a 1+N+1 HDI structure, and that the final price comes after PCBWay reviews the files. The routing study shows that a standard 6-layer board with small through vias can be sufficient (routing_study.md). Get a price for that board too. A board with more than one level of microvias costs more. Order 10 boards in place of 5: they cost only $5.68 more.
Assembly
Quote of 10 November 2026, from the assembly part of the PCBWay "Advanced PCB" form, with the 8-layer board:
- turnkey, single pieces, both sides
- 49 unique parts, 151 SMD parts, 12 BGA and QFN parts, 2 through-hole parts per board
- X-ray test of 5 boards
The numbers in the quote are stale. On 11 November 2026, after the third
board round, the BOM (hardware/pcb/fab/z80r-bom.csv) has 51 lines and
45 different part numbers. The placement file has 152 SMD parts (25 on
the top side and 127 on the bottom side). The third round did not add a
BOM line, because R47 is in the line of the 1 kilohm resistors. Before
the order, count the lines of the BOM again and put that number in the
PCBWay form.
The form field of different parts takes 51 (one for each BOM line) or 45 (one for each part number). The order uses 45. The number of 12 BGA and QFN parts is also stale: the BOM has 14 parts without leads (U1, U2, U5, U10 to U15, U17, U21, U22, X1 and X2).
| Quantity | Total | Per board |
|---|---|---|
| 5 | $141.75 | $28.35 |
| 20 | $572.57 | $28.63 |
| 50 | $724.72 | $14.49 |
| 200 | $1,096.97 | $5.48 |
| 500 | $1,477.07 | $2.95 |
| 1000 | $1,978.90 | $1.98 |
Quote of 12 November 2026 (PCBWay date), with the values of the third round: 45 unique parts, 152 SMD parts, 14 BGA and QFN parts, 2 through-hole parts, X-ray test of 5 boards. This quote is in the PCBWay cart as the new assembly item, with the BOM of the stock check (bom_stock.md). The first assembly item of the cart had the old BOM, and the owner removed that item. The cost of the parts is not in the price: PCBWay adds that cost after the review.
| Quantity | Total | Per board |
|---|---|---|
| 5 | $142.51 | $28.50 |
| 20 | $579.93 | $29.00 |
| 50 | $751.09 | $15.02 |
| 200 | $1,155.79 | $5.78 |
This price is for the assembly work only, as in the quote below. The form says that the cost of the X-ray test and of the other special options is not in the online price.
History: the first assembly quote
Quote from the PCBWay assembly form:
- turnkey (PCBWay buys the parts), single pieces, both sides
- 33 unique parts, 114 SMD parts per board
- 9 BGA, QFN and fine-pitch parts per board
- 2 through-hole parts (the pin headers)
| Quantity | Total | Per board |
|---|---|---|
| 5 | $113.60 | $22.72 |
| 20 | $482.55 | $24.13 |
| 50 | $597.93 | $11.96 |
| 200 | $936.96 | $4.68 |
This price is for the assembly work only. The parts are a separate cost: with turnkey assembly, PCBWay buys them and adds their price after the review. The form gives no separate stencil or X-ray line. The review can change these prices.
Turnkey or consigned parts
PCBWay can buy all the parts (turnkey), take parts from the customer (consigned), or do both (combo). Turnkey is the easier choice for the common parts. For the FPGA, the SRAM and the RP2354A, check the stock first. If PCBWay cannot get one of them, buy that part from Digi-Key and send it to PCBWay in its sealed moisture barrier bag.
How to get exact numbers
- Make the KiCad layout, the Gerber files, the BOM and the placement file.
- Upload them to the PCBWay forms. PCBWay then reviews the HDI structure, the assembly and the turnkey parts, and gives the final prices.
- Put the final prices in this file.
Sources
- Digi-Key, LFE5U-85F-6MG285C
- Digi-Key, LFE5U-12F-6MG285C
- Digi-Key, LFE5U-25F-6MG285C
- Digi-Key, search IS62WV20488FBLL
- Digi-Key, search IS43TR16128DL, history
- Digi-Key, search RP2354A
- Digi-Key, search 74LVC4245ABQ
- Digi-Key, ISO7742DBQR
- Digi-Key, search SI8641BA-B-IU, history
- Digi-Key, search 350-10-120-00-006000
- LCSC, XDZ254C-1-20-Z-3.0-G1 and its data sheet
- Mill-Max 310, 311 and 315 SIP socket strips
- Digi-Key, 311-93-120-41-001000
- Digi-Key, SIT8008BI-72-33E-25.000000
- Digi-Key, TLV62569DRLR
- Digi-Key, TPS259470ARPWR
- Raspberry Pi, Hardware design with RP2350
- LCSC, search SiT8008 12 MHz
- LCSC, search 12 MHz 2016 oscillators
- LCSC, W25Q128JV
- LCSC, ISO7742DBQR
- LCSC, TLV75533PDBVR
- LCSC, USBLC6-2SC6
- LCSC, TLV75525PDRVR
- LCSC, DFE201610E-2R2M
- LCSC, AOTA-B201610S3R3-101-T
- Findchips, USB4105-GF-A
- PCBWay PCB quote form
- PCBWay assembly quote form
Source of this page: web/ and docs/ in the
z80replacement repository. Hardware: CERN-OHL-S-2.0. Other files: GPL-3.0-or-later.