Skip to the content
4 layers240 × 240 mmAlu-32b, the printed circuit board in 3D

A functional 32-bit computer built from scratch in a dorm; implemented on FPGA, Kicad, browser simulation

Size
240 × 240 mm
Copper layers
4
Thickness
1.6 mm
Parts
115
Nets
288
Pads
1,026
Tracks, vias
4,435, 789
Pours
10
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
4 Jun 2026
Updated
16 Oct 2026

Overview

Alu-32b is an open-source printed circuit board by tmarhguy, from the tmarhguy/tomato repository on GitHub. It is a 4-layer board of 240 × 240 mm with 115 parts on 288 nets, routed with 4,435 tracks and 789 vias.

It is built around the 74ACT151SC, 74HC00D and 74HC86D. Its parts include 57 capacitors, 57 ICs and 1 connector.

Main components

3

README

hardware/kicad/boards/01_alu/README.md

01 — Early ALU (historical)

Pre-Tomato experiments · superseded by Lot 07.

Status Era

Archive lot for early ALU board work. The living Dual-LUT PCB is 07_alu. The prior 8-bit discrete-transistor story (270×270 mm, ~3,488 devices) is documented at alu.tmarhguy.com.

Project map: Boards · 07_alu · Root README


Legacy notes (transistor-era board)

Monolithic 8-bit ALU — complete combinational processor on a single PCB (historical reference below).

Specifications

ParameterValue
Board Size270mm × 270mm (10.6" × 10.6") = 72900 mm²
Transistor Count3,488 (Hybrid: Discrete + equivalent ICs) → 436 T/bit
Board mm² / bit≈9112 (72900 / 8)
ArchitecturePure combinational (no clock)
Layers2 (top signal/power, bottom ground)
Power5V @ 0.5-1A (idle bring-up <200 mA)
Propagation Delay~445ns (worst case)

Functional Blocks

Arithmetic Unit (Top-Left Quadrant)

Components:

  • 8× 1-bit full adders (336T)
  • 8× XOR gates for B input (96T)
  • Carry chain routing

Function: A + B or A - B (via 2's complement)

Signals:

text
IN:  A[7:0], B[7:0], M
OUT: SUM[7:0], COUT

Logic Unit (Top-Right Quadrant)

Components:

  • NAND array (32T)
  • NOR array (32T)
  • XOR array (96T)
  • PASS A/B buffers (32T)
  • 5:1 MUX (160T)

Function: NAND, NOR, XOR, PASS A, PASS B operations

Signals:

text
IN:  A[7:0], B[7:0], LOGIC_SEL[2:0]
OUT: LOGIC_OUT[7:0]

Selection & Output (Center)

Components:

  • 2:1 MUX (160T) - arithmetic vs logic select
  • Global inverter (16T)

Function: Select result and optionally invert

Signals:

text
IN:  ARITH[7:0], LOGIC[7:0], MUX_SEL, INV_OUT
OUT: RESULT[7:0]

Flag Generation (Bottom-Left Quadrant)

Components:

  • EQUAL comparator (~100T)
  • LESS comparator (~120T)
  • POSITIVE detector (~20T)

Function: Generate comparison and status flags

Signals:

text
IN:  A[7:0], B[7:0], OUT[7:0], COUT_IN
OUT: LESS, EQUAL, POSITIVE, COUT

Control Decoder (Bottom-Right Quadrant)

Components:

  • Combinational decode logic (~68T)

Function: FUNC[4:0] → control signals

Signals:

text
IN:  FUNC[4:0]
OUT: M, MUX_SEL, INV_OUT, LOGIC_SEL[2:0]

Pinout

Input Pins (22 total)

Pin GroupCountDescription
A[7:0]8First operand
B[7:0]8Second operand
FUNC[4:0]5Opcode
VCC1+5V power
GND1Ground (multiple connections)

Output Pins (12 total)

Pin GroupCountDescription
OUT[7:0]8Result
LESS1Less than flag
EQUAL1Equal flag
POSITIVE1Positive flag
COUT1Carry out flag

Fabrication

Manufacturing Requirements

PCB Specs:

  • Size: 270×270mm (confirm manufacturer supports large format)
  • Layers: 2
  • Thickness: 1.6mm
  • Copper: 1oz (35µm)
  • Min trace/space: 0.2mm/0.2mm
  • Surface finish: HASL lead-free

Assembly

Component count:

  • 3,488 transistors (624 Discrete + 2,864 in ICs + Support)
  • ~500 resistors (10kΩ pull-ups, 220Ω current limiting)
  • ~50 capacitors (100nF decoupling)
  • 36x 74HC157 + 10x 74HC86 ICs
  • Headers, test points

Estimated assembly time: 50-70 hours (hand soldering)


Testing

Power-On Test

text
1. Visual inspection
2. Continuity: VCC, GND
3. Resistance: VCC-GND > 10kΩ
4. Power-on: Measure current < 200mA idle
5. Voltage: VCC = 5.0V ± 0.1V at all points

Functional Test

text
Test ADD operation:
  FUNC = 00000
  A = 0x01
  B = 0x01
  Expected OUT = 0x02
  Measure with multimeter or logic analyzer

References


Status: Design complete, fabrication-ready
Last Updated: 2026-01-16

Parts

115
QtyValueFootprintReferences
57100nFCapacitor_SMD:C_0603_1608MetricC16, C18, C100, C102, C104, C106, C108, C110, C112, C114, C116, C118, C120, C122, C124, C126 +41
3374ACT151Package_SO:SOIC-16_3.9x9.9mm_P1.27mmU1, U2, U10, U11, U12, U13, U14, U15, U16, U18, U21, U22, U23, U24, U25, U26 +17
874ACT283Package_SO:SOIC-16_3.9x9.9mm_P1.27mmU20, U30, U40, U50, U60, U70, U80, U90
874HC00Package_SO:SOIC-14_3.9x8.7mm_P1.27mmU19, U29, U39, U49, U59, U69, U79, U89
874HC86Package_SO:SOIC-14_3.9x8.7mm_P1.27mmU17, U27, U37, U47, U57, U67, U77, U87
1Conn_02x16_Counter_ClockwiseConnector_PinSocket_2.54mm:PinSocket_2x16_P2.54mm_VerticalJ5

More from tmarhguy/tomato

3
  • 4 layers8b alu slice, the printed circuit board in 3D

    8b alu slice

    tmarhguy/tomato

    A functional 32-bit computer built from scratch in a dorm; implemented on FPGA, Kicad, browser simulation

    1,105 parts2
  • 2 layers100 × 99.8 mm07 alu, the printed circuit board in 3D

    07 alu

    tmarhguy/tomato

    A functional 32-bit computer built from scratch in a dorm; implemented on FPGA, Kicad, browser simulation

    134 parts2
  • 2 layers1b alu slice, the printed circuit board in 3D

    1b alu slice

    tmarhguy/tomato

    A functional 32-bit computer built from scratch in a dorm; implemented on FPGA, Kicad, browser simulation

    90 parts2

Similar boards

  • 2 layers245.1 × 160 mm8-Bit CPU 32k, the printed circuit board in 3D

    8-Bit CPU 32k

    slu4coder/Minimal-64x4-Home-Computer

    My DIY TTL home computer with VGA and PS/2 and 4x the processing power of a Commodore C64 or Apple II.

    139 parts326
  • 2 layers191.8 × 121.3 mm8-Bit CPU 32k, the printed circuit board in 3D

    8-Bit CPU 32k

    slu4coder/Minimal-UART-Computer-1-2

    Legacy: Version 1 and 2 of my TTL-only CPU featuring UART I/O, an expansion port, 512KB SSD at up to 10MHz clock speed

    109 parts184
  • 2 layers306.1 × 130.2 mm8-Bit CPU 32k, the printed circuit board in 3D

    8-Bit CPU 32k

    slu4coder/Minimal-64-Home-Computer

    Legacy: Full TTL-only home computer with VGA and PS/2 and twice the processing power of a Commodore 64

    132 parts94
  • 2 layers208.9 × 170.8 mm8-Bit CPU 32k, the printed circuit board in 3D

    8-Bit CPU 32k

    slu4coder/Minimal-UART-Computer-3

    Version 3 of my educational DIY TTL computer built around a UART serial interface - now with blinkenlights!

    207 parts54
  • 2 layers177.8 × 130.8 mmDurango, the printed circuit board in 3D

    Durango

    zuiko21/minimOS

    Scalable OS for 6502/65816

    159 parts23MIT
  • 2 layers208 × 110 mm8 16 computer 2, the printed circuit board in 3D

    8 16 computer 2

    halfburnttoast/TCPU816-v1

    Version 1.1 of my 8-bit, TTL computer.

    120 parts21
  • 2 layers178 × 711 mmMSAP-2 rev.A SMD, the printed circuit board in 3D

    MSAP-2 rev.A SMD

    mehrantsi/MSAP-2

    An 8-bit computer. Successor to MSAP-1

    658 parts13MIT
  • 4 layers306 × 244 mmPg09-system, the printed circuit board in 3D

    Pg09-system

    thorpej/pg09-system

    6809 Playground - main system

    167 parts13BSD-2-Clause

Questions

How big is the Alu-32b PCB?

It measures 240 × 240 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Alu-32b use?

115 parts, built around the 74ACT151SC, 74HC00D and 74HC86D. 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 Alu-32b KiCad files?

From the tmarhguy/tomato repository on GitHub, at the commit this page was made from: the board is hardware/kicad/boards/01_alu/alu-32b.kicad_pcb and its schematic hardware/kicad/boards/01_alu/1-seg-display.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Alu-32b design in my own project?

Its repository states no licence, so its author keeps all rights: ask tmarhguy before reusing the design.