z80replacement · a Z80 CPU replacement with an FPGA

Pricing: the projected costs

This page gives each projected cost of the module, with the date and the source of each number. On 30 November 2026 (PCBWay date), the PCBWay cart gave $1,070.89 for 2 assembled boards, without shipping. On 27 November 2026, the cart gave $1,124.86.

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.

All amounts are in US dollars (USD). The amounts contain no tax, no duty and no shipping, unless a line says otherwise. The sources are cost.md, bom_stock.md, fpga.md, pcb.md, the record of the PCBWay order in the repository and the git log. The PCBWay page gives the steps of the order. No board exists yet. Up to 30 November 2026, the repository records no payment for the order.

CAUTION: DO A NEW CHECK OF THE PRICES AND THE STOCK BEFORE AN ORDER. Prices and stock change each day. The numbers on this page are from 6 to 30 November 2026.

Summary

Cost Amount Quantity Date Source
The order: PCB, assembly and parts, without shipping $1,070.89 ($535.45 a board) 2 boards 30 November 2026 PCBWay cart
The order: PCB, assembly and parts, without shipping $1,124.86 ($562.43 a board) 2 boards 27 November 2026 PCBWay cart
PCB of the order, 8-layer HDI, one 1x2 panel $672.49 2 boards 30 November 2026 PCBWay cart
Assembly of the order, turnkey, X-ray test of 2 boards $29.00 2 boards 30 November 2026 PCBWay cart
Parts of the order (the quoted BOM) $369.40 ($184.70 a board) 2 boards 30 November 2026 PCBWay cart
Parts of the order (the quoted BOM) $423.37 ($211.69 a board) 2 boards 27 November 2026 PCBWay cart
U1 in the quoted BOM $101.835 1 part 29 November 2026 PCBWay quote
U1 in the quoted BOM $128.82 1 part 27 November 2026 PCBWay quote
Shipping and customs of the order not known 2 boards none
Parts of the full version $113.28 a board 5 boards 10 November 2026 estimate from distributor pages
Parts of the full version $109.07 a board 50 boards 10 November 2026 estimate from distributor pages
U1, LFE5U-85F-6MG285C $69.63 at Digi-Key, $82.40 at Mouser 1 part 27 November 2026 distributor page
U5, IS61WV20488FBLL-10BLI $23.39 at Mouser 1 part 27 November 2026 distributor page
The first cart: PCB, assembly and parts, without shipping $2,104.24 ($420.85 a board) 5 boards 13 November 2026 PCBWay cart
PCB, 8-layer HDI $851.73 ($170.35 a board) 5 boards 10 November 2026 PCBWay quote
PCB, 8-layer HDI $975.27 ($19.51 a board) 50 boards 10 November 2026 PCBWay quote
Assembly, work only $141.75 ($28.35 a board) 5 boards 10 November 2026 PCBWay quote
Assembly, work only $724.72 ($14.49 a board) 50 boards 10 November 2026 PCBWay quote
Assembly, work only $142.51 ($28.50 a board) 5 boards 12 November 2026 PCBWay quote
Assembly, work only $751.09 ($15.02 a board) 50 boards 12 November 2026 PCBWay quote
Full version: parts, PCB and assembly $1,559.88 ($311.98 a board) 5 boards 10 November 2026 estimate
Full version: parts, PCB and assembly $7,153.49 ($143.07 a board) 50 boards 10 November 2026 estimate
Lite version: parts, PCB and assembly $1,216.33 ($243.27 a board) 5 boards 10 November 2026 estimate
Lite version: parts, PCB and assembly $3,877.49 ($77.55 a board) 50 boards 10 November 2026 estimate
Shipping of bare PCBs, DHL to the USA $28.95 5 or 50 boards 10 November 2026 PCBWay quote
Shipping of bare PCBs, DHL to the USA $26.55 5 boards 6 November 2026 PCBWay quote
Mill-Max socket headers, only if the chxunda headers fail the socket test $29.72 a board 2 headers 6 November 2026 distributor page
Design tools $0 toolchain.md
Earlier estimates of the full and lite versions see "History of the estimate" 5 or 50 boards 7 to 10 November 2026 git log of cost.md
Revision B, boards of the lite version not known none

The sections below give the details of each line.

The order of 2 boards

On 27 November 2026 (PCBWay date), PCBWay approved the PCB and the assembly of the order. At 22:54 (PCBWay date), the cart gave $1,124.86 without shipping. On 29 November 2026, PCBWay sent a new quote for the parts. On 30 November 2026 at 00:03 (PCBWay date), the cart gave these amounts. The order is not paid.

Item For 2 boards, 30 November For each board, 30 November For 2 boards, 27 November
PCB: 8-layer HDI, one 1x2 panel $672.49 $336.25 $672.49
Assembly: turnkey, both sides, X-ray test of 2 boards $29.00 $14.50 $29.00
Parts: the quoted BOM, 51 lines $369.40 $184.70 $423.37
Total without shipping $1,070.89 $535.45 $1,124.86
Shipping not known not known not known

The parts line is $53.97 lower than on 27 November 2026. The PCB line and the assembly line did not change. The quote file gives "PCBA Unit Price 535.45". The column for each board adds up to the total.

On 30 November 2026, the owner agreed to 0.5 oz finished outer copper. PCBWay has not answered yet. The PCB price can change, and the owner asked PCBWay to give the new price first.

The order has 2 boards of the full version in one 1x2 panel. PCBWay makes the panel. The panel is 66.68 mm x 52.4 mm. That size agrees with 2 boards, 3 routed slots of 2 mm and 2 rails of 5 mm. The panel drawing shows the panel, with labels in English and Chinese.

Other facts of the cart on 27 November 2026 (the cart of 30 November 2026 gives an assembly lead time "PCB+Assembly+IC: 34-36 days"):

  • The payment is by bank transfer or by Payoneer (credit card). PayPal is not available.
  • The estimated finish was 23 December 2026 for the PCB and 2 January 2027 for the assembly. The estimated dates move each day until the payment.

Shipping

The repository gives no shipping cost for the order of 2 boards. The two shipping amounts in the repository are for bare PCBs, from the PCB quote forms:

  • 6 November 2026: $26.55 for DHL to the USA, for 5 bare PCBs of the 6-layer quote.
  • 10 November 2026: $28.95 for DHL to the USA, 2 to 4 days, with the 8-layer quote. The form gave a weight of 0.52 kg for 5 boards and 0.70 kg for 50 boards. The form also gave an order discount of the same value as the shipping.

DHL from China to the USA takes 2 to 4 days, plus the time in customs. The repository gives no amount for customs, duty or tax.

From 5 boards to 2 boards

  • 13 November 2026: the cart had 5 boards, at $2,104.24 without shipping (see "The first cart" below).
  • 14 November 2026: the cart did not let the owner change the quantity while PCBWay reviewed the items. Thus the owner asked PCBWay to change the order to 2 boards and to give a new quote.
  • 25 November 2026 (PCBWay date): the PCB of 2 boards cost $672.49, in place of $851.73 for 5 boards. The assembly cost $41.68. The parts still had the amount for 5 boards, $1,151.83.
  • 27 November 2026 (PCBWay date): PCBWay gave a quote for the parts of 2 boards, $423.37. The X-ray test changed from 5 boards to 2 boards, and the assembly then cost $29.00.
  • 29 November 2026 (PCBWay date): PCBWay sent a new quote for the parts of 2 boards, $369.40. On 30 November 2026 (00:03, PCBWay date), the cart gave $369.40 for the parts and $1,070.89 for the order.

The parts

The estimate and the PCBWay quote

cost.md gives an estimate of the parts from distributor pages (Digi-Key, Mouser and LCSC). At the prices for 5 boards, the estimate is $113.28 a board (prices of 10 November 2026). On 29 November 2026, PCBWay gave a new quote for the parts of 2 boards: $369.40, or $184.70 a board. The cart of 30 November 2026 (PCBWay date) has this amount. Thus the PCBWay quote is $71.42 a board above the estimate.

On 27 November 2026, the quote for the parts was $423.37, or $211.69 a board. That quote was $98.41 a board above the estimate.

A check of 27 November 2026 compared the PCBWay quote file with the BOM file (z80r-bom.csv). The 51 lines agree: the designators, the quantities and the part numbers. The line totals of the quote added up to $423.37.

A script made the same check of the new quote file on 29 November 2026. The 51 lines still agree with the BOM of make_fab.py, and the unit price x quantity x 2 is the line total on each line. The line totals add up to $369.40.

The BOM page gives all lines of the BOM.

The change of the parts total is $53.97, and U1 gives all of the change: 2 x ($128.82 - $101.835) = $53.97.

PCBWay gave these reasons. For U1, the price is a promotional price. The Digi-Key prices in China are higher than the prices outside China, and the quote includes tax and freight. For U5, Mouser China does not sell the part, and the quote uses local stock from local suppliers.

The largest differences for each board:

Designator Part number Estimate (cost.md) PCBWay quote, 27 November PCBWay quote, 29 November Difference, 29 November
U1 LFE5U-85F-6MG285C $69.63 $128.82 $101.84 $32.21
U5 IS61WV20488FBLL-10BLI $22.10 $34.21 $34.21 $12.11
U4 Si8642EB-B-IU $2.13 $5.73 $5.73 $3.60

On 29 November 2026, these three lines give $47.92 of the difference of $71.42 a board. The other lines give $23.50. On 27 November 2026, the three lines gave $74.90 of the difference of $98.41 a board, and the other lines gave $23.51.

On 27 November 2026, the distributor pages gave these prices:

  • U1: $69.63 at Digi-Key (150 in stock) and $82.40 at Mouser (104 in stock).
  • U5: $23.39 at Mouser (548 in stock). The factory lead time is 12 weeks.

On the same day (PCBWay date), the owner asked PCBWay to buy U1 at Digi-Key and U5 at Mouser. On 29 November 2026, PCBWay answered with the new quote. The quote has U1 at $101.835 and U5 at $34.213, not the prices of the distributor pages. Thus the parts line of the cart can still change. Also, the final price of U5 is the price on the day of the purchase.

fpga.md gives one more price for U1: LCSC listed $41.54 for one LFE5U-85F. That line of fpga.md is from 6 November 2026 (git log). cost.md does not use that price.

Notes on the estimate

  • The estimate uses the prices for 5 boards. For U3, U4, X1 and X2, the estimate has the price of the old part number, from before the stock check of 11 November 2026. cost.md did not read these four prices again.
  • The line "C, R, LED" is an estimate of $0.65 a board from before the SRAM change. The BOM of the third board round has 79 capacitors, 45 resistors and 2 LEDs. cost.md did not calculate this line again.
  • cost.md did not check the prices of the five 0402 capacitors (10 µF and 22 µF).
  • Until 29 November 2026, the parts totals of cost.md were $113.39 and $109.18. These totals had the inductor L3 ($0.11) by mistake. The SRAM change of 9 November 2026 removed L3 from the board. Thus cost.md now gives $113.28 and $109.07.

Turnkey or consigned parts

PCBWay can buy all the parts (turnkey), take parts from the customer (consigned) or do both (combo). The order is turnkey. On 27 November 2026, a check compared consigned parts for U1 and U5 with turnkey parts:

  • If the owner buys U1 and U5 and sends them to PCBWay, the order costs at most about $80 less, after the courier cost.
  • A check with the new quote of 29 November 2026: the owner buys U1 at Digi-Key and U5 at Mouser (prices of 27 November 2026) and sends the parts to PCBWay. Then the parts cost $86.06 less for 2 boards (U1 $64.41, U5 $21.65), before the courier cost and the spares.
  • PCBWay asks for 1 to 5 spare parts of an expensive part.
  • The assembly time starts only when all parts are at PCBWay.

Thus the order stays turnkey: PCBWay buys all the parts.

The socket headers

The 40 socket pins are two chxunda XDZ254C-1-20-Z-3.0-G1 headers. Each header costs $0.48 at LCSC, at the price for 5 boards (7 November 2026). Thus the socket pins cost less than $1 a board. If the chxunda header fails the socket test, the fallback is the Mill-Max 350-10-120-00-006000 turned-pin header. Two Mill-Max headers cost $29.72 a board at Digi-Key (6 November 2026).

Other quantities

The cost for each board

Quantity Source and date PCB Assembly Parts Total for each board Total for the order
2 PCBWay cart, 30 November 2026 $336.25 $14.50 $184.70 $535.45 $1,070.89
2 PCBWay cart, 27 November 2026 $336.25 $14.50 $211.69 $562.43 $1,124.86
5 PCBWay cart, 13 November 2026 $170.35 $20.14 $230.37 $420.85 $2,104.24
5 Estimate, 10 November 2026 $170.35 $28.35 $113.28 $311.98 $1,559.88
50 Estimate, 10 November 2026 $19.51 $14.49 $109.07 $143.07 $7,153.49
5 First estimate, 7 November 2026 $97.75 $22.72 $143.28 $263.75 $1,318.77
50 First estimate, 7 November 2026 $10.80 $11.96 $139.29 $162.05 $8,102.33

The total for the order is the sum of the PCB total, the assembly total and the parts for all boards. The totals of the estimates are the exact sums of these three lines. cost.md rounds the totals: about $312 and about $143 a board, about $1,560 and about $7,150 for the order.

This page rounds each amount for each board to the cent. Thus the rows of the carts add up to 1 cent more than the total for each board. The carts contain the parts prices of PCBWay. The estimates contain the parts prices of the distributor pages. For 50 boards, the repository has no PCBWay quote for the parts.

The first cart (13 November 2026)

The first cart had 5 boards. On 13 November 2026 the cart gave these amounts, without shipping:

  • PCB: $851.73 ($170.35 a board).
  • Assembly: $100.68 ($20.14 a board).
  • Parts: $1,151.83 ($230.37 a board).
  • Total: $2,104.24 ($420.85 a board).

The PCBWay site gave no price for each BOM line. On 14 November 2026, the owner asked PCBWay to change the order to 2 boards.

The 8-layer quote for 50 boards (10 November 2026)

The PCBWay "Advanced PCB" form gave $975.27 for 50 boards, or $19.51 a board. The price is almost the same as the price of 5 boards, $851.73. One board is 13.3 cm², 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. Each board after the first 5 adds about $2.75.

The parts line for 50 boards uses the prices of cost.md for 50 boards. On 10 November 2026, Mouser gave $19.37 for U5 at 50 pieces, but the line has $22.10. Thus the parts line for 50 boards is about $3 high.

The PCB quotes

Quantity 6-layer quote, 6 November 2026 8-layer quote, 10 November 2026
5 $488.77 ($97.75 a board) $851.73 ($170.35 a board)
10 $494.45 ($49.45 a board) no quote
50 $539.90 ($10.80 a board) $975.27 ($19.51 a board)
100 $596.69 ($5.97 a board) no quote

The 6-layer quote is history. That quote is for the first board: 52.5 mm x 17.34 mm, 6 layers, 1.0 mm thick. The board of the order is 52.4 mm x 25.34 mm, with 8 layers (HDI 1+1+4+1+1), 1.2 mm thick. On 12 November 2026 (PCBWay date), the form gave the same price for 5 boards of the third board round: $851.73.

The assembly quotes

Quantity 6 November 2026 10 November 2026 12 November 2026
5 $113.60 ($22.72 a board) $141.75 ($28.35 a board) $142.51 ($28.50 a board)
20 $482.55 ($24.13 a board) $572.57 ($28.63 a board) $579.93 ($29.00 a board)
50 $597.93 ($11.96 a board) $724.72 ($14.49 a board) $751.09 ($15.02 a board)
200 $936.96 ($4.68 a board) $1,096.97 ($5.48 a board) $1,155.79 ($5.78 a board)
500 no quote $1,477.07 ($2.95 a board) no quote
1000 no quote $1,978.90 ($1.98 a board) no quote

The quotes are for different part counts:

  • 6 November 2026, the first board: 33 unique parts, 114 SMD parts and 9 BGA, QFN and fine-pitch parts.
  • 10 November 2026, the 8-layer board: 49 unique parts, 151 SMD parts and 12 BGA and QFN parts.
  • 12 November 2026 (PCBWay date), the third board round: 45 unique parts, 152 SMD parts and 14 BGA and QFN parts.

Each board also has 2 through-hole parts, the two socket headers. Each quote is for the work only. With turnkey assembly, PCBWay buys the parts and adds their price after the review. For the quote of 12 November 2026, the form says that the online price does not contain the X-ray test and the other special options.

History of the estimate

The first version of cost.md (7 November 2026, prices of 6 November 2026) gave $143.28 a board for the parts of 5 boards and $139.29 for 50 boards. That estimate had a DDR3L ($22.36) and two Mill-Max headers ($29.72). The estimate also used the 6-layer PCB quote and the first assembly quote. Thus the estimate was $263.75 a board for 5 boards and $162.05 a board for 50 boards.

The git log of cost.md shows 8 versions of the summary, from 7 to 10 November 2026. The correction of 29 November 2026 is the ninth version. Each cell gives the cost for each board and, in parentheses, the cost of the order. The amounts are the rounded amounts of cost.md.

Date of the cost.md change Change Full, 5 boards Full, 50 boards Lite, 5 boards Lite, 50 boards
7 November 2026 The first version: DDR3L, two Mill-Max headers, 6-layer PCB quote, first assembly quote. Parts $143 and $139. about $264 ($1,320) about $162 ($8,100) about $195 ($970) about $96 ($4,800)
7 November 2026 The chxunda headers replace the Mill-Max headers. about $235 ($1,175) about $133 ($6,650) about $166 ($830) about $67 ($3,350)
7 November 2026 A 12 MHz oscillator (X2) replaces the 12 MHz crystal of the RP2354A. about $236 ($1,180) about $134 ($6,700) about $167 ($835) about $68 ($3,400)
8 November 2026 U4 changes to the Si8642EA (default output high). about $235 ($1,175) about $133 ($6,650) about $166 ($830) about $67 ($3,350)
10 November 2026 The IS62WV20488FBLL SRAM replaces the DDR3L. That SRAM has no stock and no price, thus the parts line is a range: $100 to $105 and $96 to $100. about $225 ($1,125) about $121 ($6,050) about $166 ($830) about $67 ($3,350)
10 November 2026 U5 is the IS61WV20488FBLL-10BLI at $22.10. Parts $113 and $109. about $234 ($1,170) about $132 ($6,600) about $166 ($830) about $67 ($3,350)
10 November 2026 The 8-layer PCB quote for 5 boards and the new assembly quote. The 50-board PCB line stays on the 6-layer quote. about $312 ($1,560) about $135 ($6,725) about $244 ($1,220) about $70 ($3,475)
10 November 2026 The 8-layer PCB quote for 50 boards. about $312 ($1,560) about $143 ($7,150) about $244 ($1,220) about $78 ($3,900)
29 November 2026 A correction removes the inductor L3 ($0.11) from the parts totals. The table rounds the exact sums: $1 for each board, $10 for the order. cost.md gives this estimate now. about $312 ($1,560) about $143 ($7,150) about $243 ($1,220) about $78 ($3,880)

The lite version

The lite version uses the same PCB as the full version, with the LFE5U-12F FPGA and no SRAM (fpga.md). The repository has no BOM file and no PCBWay quote for the lite version. The order of 2 boards has the full version only.

The parts estimate of the lite version is from 8 November 2026, before the SRAM change. cost.md starts from the full version of that time, with the DDR3L:

Change from the full version 5 boards 50 boards
Full version, with the DDR3L $113.89 $109.68
Remove the LFE5U-85F −$69.63 −$66.44
Remove the 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 the LFE5U-12F-6MG285C (Digi-Key, 153 in stock) +$23.02 +$23.02
Parts of the lite version, each board $44.57 $43.55

The table removes the 1.35 V buck converter U20 and its inductor L3. cost.md added the line for L3 on 29 November 2026. The SRAM change of 9 November 2026 removed both parts from the board. The full version with the SRAM gives the same parts totals, without the LFE5U-85F and the SRAM and with the LFE5U-12F:

  • 5 boards: $113.28 − $69.63 − $22.10 + $23.02 = $44.57.
  • 50 boards: $109.07 − $66.44 − $22.10 + $23.02 = $43.55.

cost.md asks for a new version of the table with the parts of the SRAM board.

cost.md uses the PCB and the assembly lines of the full version for the lite version. With these lines, the lite version costs $243.27 a board for 5 boards ($1,216.33 for the order). For 50 boards, the lite version costs $77.55 a board ($3,877.49 for the order). cost.md rounds these amounts: about $243 and about $78 a board, about $1,220 and about $3,880 for the order.

Costs that are zero

The design tools

All design tools are open source (requirement R11 in requirements.md). The project does not use Vivado or a vendor FPGA IDE. Thus the tools have no license cost:

  • Schematic and PCB: KiCad 10 (GPL-3.0).
  • HDL simulation: Icarus Verilog and Verilator.
  • Synthesis, place and route, bitstream: yosys, nextpnr-ecp5 and Project Trellis (ISC).
  • FPGA and flash loader: openFPGALoader (Apache-2.0).
  • USB microcontroller firmware: the Raspberry Pi pico-sdk and GCC for Arm.

The OSS CAD Suite contains yosys, nextpnr, Project Trellis, Icarus Verilog, Verilator and openFPGALoader in one package. toolchain.md gives the full list and the licenses.

The JTAG adapter

The module needs no separate JTAG adapter. The RP2354A firmware on the module is the JTAG adapter for openFPGALoader (firmware.md). All loads go through the USB-C port.

Costs that are not known yet

The repository gives no amount for these costs:

  • Shipping and customs of the order of 2 boards. The repository names no shipping method for the order. The amounts on this page contain no tax and no duty.
  • The final prices of U1 and U5. On 27 November 2026 (PCBWay date), the owner asked PCBWay to buy U1 at Digi-Key and U5 at Mouser. The quote of 29 November 2026 gives $101.835 for U1 and $34.213 for U5. If U5 comes from another source, the owner asked for the price before the purchase.
  • The PCB price with 0.5 oz finished outer copper. On 30 November 2026, the owner agreed to this copper. PCBWay has not answered yet, and the PCB price can change.
  • A new bare panel. The owner asked for 2 good boards and no X-out board. If a bare board fails the test, the request asks PCBWay to make a new panel before the assembly and to give the price first.
  • Revision B. In phase 5 of plan.md, the project orders revision B with corrections for the problems of the bring-up. The repository has no quote for revision B.
  • Boards of the lite version. Phase 5 of plan.md also assembles boards with the lite bill of materials. The repository has no quote for these boards, and the parts estimate is from before the SRAM change.
  • The development board of phase 2. Phase 2 of plan.md uses an ECP5 development board (for example the OrangeCrab or the ULX3S) and an adapter board with 2 or 4 layers.
  • A Raspberry Pi Debug Probe. The first load of a new board needs no SWD probe. The SWD test pads with a Raspberry Pi Debug Probe are the last path to the RP2354A (recovery.md).

Source of this page: web/ and docs/ in the z80replacement repository. Hardware: CERN-OHL-S-2.0. Other files: GPL-3.0-or-later.