
8b alu slice
tmarhguy/tomato
A functional 32-bit computer built from scratch in a dorm; implemented on FPGA, Kicad, browser simulation

A functional 32-bit computer built from scratch in a dorm; implemented on FPGA, Kicad, browser simulation
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.
Pre-Tomato experiments · superseded by Lot 07.
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
Monolithic 8-bit ALU — complete combinational processor on a single PCB (historical reference below).
| Parameter | Value |
|---|---|
| Board Size | 270mm × 270mm (10.6" × 10.6") = 72900 mm² |
| Transistor Count | 3,488 (Hybrid: Discrete + equivalent ICs) → 436 T/bit |
| Board mm² / bit | ≈9112 (72900 / 8) |
| Architecture | Pure combinational (no clock) |
| Layers | 2 (top signal/power, bottom ground) |
| Power | 5V @ 0.5-1A (idle bring-up <200 mA) |
| Propagation Delay | ~445ns (worst case) |
Components:
Function: A + B or A - B (via 2's complement)
Signals:
IN: A[7:0], B[7:0], M
OUT: SUM[7:0], COUTComponents:
Function: NAND, NOR, XOR, PASS A, PASS B operations
Signals:
IN: A[7:0], B[7:0], LOGIC_SEL[2:0]
OUT: LOGIC_OUT[7:0]Components:
Function: Select result and optionally invert
Signals:
IN: ARITH[7:0], LOGIC[7:0], MUX_SEL, INV_OUT
OUT: RESULT[7:0]Components:
Function: Generate comparison and status flags
Signals:
IN: A[7:0], B[7:0], OUT[7:0], COUT_IN
OUT: LESS, EQUAL, POSITIVE, COUTComponents:
Function: FUNC[4:0] → control signals
Signals:
IN: FUNC[4:0]
OUT: M, MUX_SEL, INV_OUT, LOGIC_SEL[2:0]| Pin Group | Count | Description |
|---|---|---|
| A[7:0] | 8 | First operand |
| B[7:0] | 8 | Second operand |
| FUNC[4:0] | 5 | Opcode |
| VCC | 1 | +5V power |
| GND | 1 | Ground (multiple connections) |
| Pin Group | Count | Description |
|---|---|---|
| OUT[7:0] | 8 | Result |
| LESS | 1 | Less than flag |
| EQUAL | 1 | Equal flag |
| POSITIVE | 1 | Positive flag |
| COUT | 1 | Carry out flag |
PCB Specs:
Component count:
Estimated assembly time: 50-70 hours (hand soldering)
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 pointsTest ADD operation:
FUNC = 00000
A = 0x01
B = 0x01
Expected OUT = 0x02
Measure with multimeter or logic analyzerStatus: Design complete, fabrication-ready
Last Updated: 2026-01-16
| Qty | Value | Footprint | References |
|---|---|---|---|
| 57 | 100nF | Capacitor_SMD:C_0603_1608Metric | C16, C18, C100, C102, C104, C106, C108, C110, C112, C114, C116, C118, C120, C122, C124, C126 +41 |
| 33 | 74ACT151 | Package_SO:SOIC-16_3.9x9.9mm_P1.27mm | U1, U2, U10, U11, U12, U13, U14, U15, U16, U18, U21, U22, U23, U24, U25, U26 +17 |
| 8 | 74ACT283 | Package_SO:SOIC-16_3.9x9.9mm_P1.27mm | U20, U30, U40, U50, U60, U70, U80, U90 |
| 8 | 74HC00 | Package_SO:SOIC-14_3.9x8.7mm_P1.27mm | U19, U29, U39, U49, U59, U69, U79, U89 |
| 8 | 74HC86 | Package_SO:SOIC-14_3.9x8.7mm_P1.27mm | U17, U27, U37, U47, U57, U67, U77, U87 |
| 1 | Conn_02x16_Counter_Clockwise | Connector_PinSocket_2.54mm:PinSocket_2x16_P2.54mm_Vertical | J5 |

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

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

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

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.

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

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

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




It measures 240 × 240 mm and has 4 copper layers, 1.6 mm thick.
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.
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.
Its repository states no licence, so its author keeps all rights: ask tmarhguy before reusing the design.