Skip to the content
2 layers1b alu slice, the printed circuit board in 3D

1b alu slice

tmarhguy/tomato2

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

Copper layers
2
Thickness
1.6 mm
Parts
90
Nets
49
Pads
270
Tracks, vias
0, 0
Routed
Not yet
KiCad
KiCad 10.0 (file 20260206)
Created
4 Jun 2026
Updated
16 Oct 2026

Overview

1b alu slice is an open-source printed circuit board by tmarhguy, from the tmarhguy/tomato repository on GitHub. It is a 2-layer board with 90 parts on 49 nets.

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

90
QtyValueFootprintReferences
44Q_NMOSPackage_TO_SOT_SMD:TSOT-23Q2, Q4, Q11, Q13, Q15, Q18, Q20, Q22, Q24, Q26, Q27, Q29, Q31, Q33, Q35, Q37 +28
42Q_PMOSPackage_TO_SOT_SMD:TSOT-23Q1, Q3, Q10, Q12, Q14, Q16, Q17, Q19, Q21, Q23, Q25, Q28, Q30, Q32, Q34, Q36 +26
2NMOSPackage_TO_SOT_SMD:TSOT-23Q78, Q84
2PMOSPackage_TO_SOT_SMD:TSOT-23Q77, Q83

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
  • 4 layers240 × 240 mmAlu-32b, the printed circuit board in 3D

    Alu-32b

    tmarhguy/tomato

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

    115 parts2

Similar boards

  • 2 layers75 × 75 mmFtp, the printed circuit board in 3D

    Ftp

    opulo-inc/lumenpnp

    The LumenPnP is an open source pick and place machine.

    90 parts3.7k
  • 2 layers236.5 × 96.2 mmForager pcb, the printed circuit board in 3D

    Forager pcb

    carrefinho/forager

    34-key wireless split keyboard inspired by ZSA Voyager

    90 parts426CERN-OHL-P-2.0
  • 2 layers268 × 62 mmSmu front 1, the printed circuit board in 3D

    Smu front 1

    jaromir-sukuba/J-SMU

    DIY source-measure unit

    90 parts244
  • 2 layers97.5 × 59.5 mmChrono, the printed circuit board in 3D

    Chrono

    eddyem/stm32samples

    Code samples and ready projects based on bare-metal STM32

    90 parts208
  • 2 layers115.6 × 106.7 mmErgoSNM v3 left, the printed circuit board in 3D

    ErgoSNM v3 left

    siderakb/ergo-snm-keyboard

    ErgoSNM is a split ergonomic keyboard integrated with trackball, wireless is in beta

    90 parts172CERN-OHL-P-2.0
  • 2 layers163 × 120 mmZynthian mini, the printed circuit board in 3D

    Zynthian mini

    zynthian/zynthian-hw

    Zynthian hardware stuff: PCBs, schemes, parts specifications, pin assignment, ...

    90 parts156
  • 2 layers219 × 96.1 mmTheENDGAME2024 COPPER, the printed circuit board in 3D

    TheENDGAME2024 COPPER

    OldMan6955/TheEndgame2024

    Love Peace UWU

    90 parts121CERN-OHL-S-2.0

Questions

What parts does the 1b alu slice use?

90 parts. 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 1b alu slice KiCad files?

From the tmarhguy/tomato repository on GitHub, at the commit this page was made from: the board is hardware/kicad/main/1b-alu-slice/1b-alu-slice.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 1b alu slice design in my own project?

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