Skip to the content
PCBKitNew board
4 layers209.5 × 108 mmALU, the printed circuit board in 3D

Replica of the Launch Vehicle Digital Computer using 74-series logic

Size
209.5 × 108 mm
Copper layers
4
Thickness
1.6 mm
Parts
83
Nets
271
Pads
1,003
Tracks, vias
4,177, 640
Pours
4
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
7 Mar 2025
Updated
29 Jan 2026

Overview

ALU is an open-source printed circuit board by 89Mods, from the 89Mods/LVDC repository on GitHub, published under the MIT licence. It is a 4-layer board of 209.5 × 108 mm with 83 parts on 271 nets, routed with 4,177 tracks and 640 vias.

It is built around the 74HCT157D, 74HCT153D and 74HCT574D, with the 74HCT08D, 74HCT32D and 74HCT04D among its other parts. Its parts include 50 ICs, 22 capacitors, 4 resistors, 3 diodes and 3 connectors.

Main components

6

README

README.md

LVDC

Replica of the Launch Vehicle Digital Computer using 74-series logic. This projects only aims to keep the CPU Architecture binary-compatible with the original. Implementation details, IO Peripherals and Software are all originally created by me. This is party due to the fact that detailed hardware descriptions (i.e. schematics) are not as abundant for the LVDC as for the AGC, but also because this project doubled as a challenge to myself to implement such an odd instruction set, but using every trick I’ve learned from my years of engineering integrated circuit layouts. It turns out that applying nanoscale engineering tricks to a macroscale discrete logic build can work out quite well. The clock speed of this computer is 2.5MHz, but it can probably go faster.

This LVDC is accurate to the original in the sense that it executes the same instructions that function the exact same, has the same memory layout (including special locations like HOP save and MQ) and can execute snippets of original LVDC code.

The differences are:

  • This computer is parallel and not bit-serial, and is also microcoded
  • It is implemented using 74-series logic and not discrete transistors (I wish to be able to take it with me to events, so it couldn’t get too big)
  • Everything hooked up to the PIO (IO read/write) instruction is my own invention, with the exception of the the interrupt latch clear IO location, which it shares with the original LVDC
  • Instruction cycles times are much faster, probably on an order of magnitude or more
  • The hardware multiply/divide circuitry (as designed so far) does NOT share the inacuracies in low-order bits as the original LVDC, instead always producing the 100% correct result

Infact, I took the most liberties with the IO Card, which contains various modern components hooked into the CPU’s IO Bus. Its mostly a random mashup of things I thought would be cool (there is even a Commodore SID replica in there) to demonstrate the computer with.

The most significant addition is that of a front panel (the original LVDC was an embedded device with no user interface) which is a bit like a DSKY, but stripped down and only capable of displaying in hexadecimal. The panel is optional. I can be safely removed and the computer used as a true embedded device.

Software wise, things are still WiP. Two ROMs provide just enough storage for a small bootloader to initialize the entire SRAM from a flash IC. Sadly, core memory is far too bulky and expensive, so this will have to do. I created a mini-OS for this system that allows a user to control the computer by typing in commands consisting of a Noun and Verb into the keypad.

Known Issues:

  • The HOP Save feature is bugged. The Instruction Pointer in the stored value is off by one. Trying to return with it will return execution to the transfer or HOP instruction that started the subroutine call, not the one following it, triggering an infinite loop. Fixed for now in software by modifying the saved value before return.
  • While all schematic files have been updated with fixes to additional problems discovered post-production, the schematic layout for the Control board still need to be redone.
  • The EXM instruction has only been minimally tested because I don’t understand how it is useful (thing takes up half a dozen ICs just to handle weird edge cases caused by it and I’m still left scratching my head on how I’m supposed to use it).
  • The hardware multiply/divide functionality has yet to be physically implemented. In LVDC.circ you can see that I have designed it, but I’ve yet to translate this to a PCB design because I couldn’t get it made yet anyways (its the most expensive part of the whole computer).
  • The interrupt logic sometimes does not reset properly and I don’t understand why

Repository Structure

LVDC.circ is where I prototyped the logic design using Logisim Evolution, but it is quite bugged and now far outdated.

microcode_gen.c is the C program that spits out the raw binary images for the microcode ROMs from a more high-level description.

KiCad is where the schematics and PCB layouts live. Related to this is CPLD, which holds the HDL code for the CPLD on the GPIO PCB.

Bench is the result of using KiCadVerilog to automatically extract Verilog netlists out of the KiCad schematic files and using them to build a simulation of the computer for verification purposes before starting physical production. This is quite a novel approach and I used it here for the first time.

behavioral contains a Behavioral Verilog model of the LVDC I used as a starting point. It is incredibly inaccurate as I have not updated it in same time.

Programs contains the software I’m writing for this computer. Currently just the Bootloader source and the WiP mini-OS mentioned earlier. My fork of the AS Macroassembler has support for the LVDC, and this is used to assemble all LVDC code in this directory.

Parts

83
QtyValueFootprintReferences
2174HCT157Package_SO:SO-16_3.9x9.9mm_P1.27mmU2, U3, U4, U10, U11, U12, U13, U14, U15, U40, U41, U43, U44, U46, U47, U49 +5
15100nFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1, C4, C6, C8, C10, C11, C12, C13, C14, C15, C16, C17, C18, C19, C20
1374HCT153Package_SO:SO-16_3.9x9.9mm_P1.27mmU26, U28, U29, U30, U31, U32, U33, U34, U35, U36, U37, U38, U39
710µFCapacitor_THT:CP_Radial_D4.0mm_P2.00mmC2, C3, C5, C7, C9, C21, C22
774LS181Package_DIP:DIP-24_W15.24mmU16, U17, U18, U19, U20, U21, U22
41KResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR1, R2, R3, R4
474HCT574Package_SO:SO-20_12.8x7.5mm_P1.27mmU42, U45, U48, U50
3LEDLED_SMD:LED_1206_3216Metric_Pad1.42x1.75mm_HandSolderD1, D2, D3
274HCT08Package_SO:SO-14_3.9x8.65mm_P1.27mmU23, U24
274HCT32Package_SO:SO-14_3.9x8.65mm_P1.27mmU25, U27
174HCT04Package_SO:SO-14_3.9x8.65mm_P1.27mmU1
1ACCUMULATORConnector_PinHeader_2.54mm:PinHeader_2x15_P2.54mm_VerticalJ1
1FROM_CTRLConnector_PinHeader_2.54mm:PinHeader_2x04_P2.54mm_VerticalJ3
1TO_BACKPLANEConnector_PinHeader_2.54mm:PinHeader_2x22_P2.54mm_VerticalJ2
1TestPointTestPoint:TestPoint_Pad_1.5x1.5mmTP1

Questions

How big is the ALU PCB?

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

What parts does the ALU use?

83 parts, built around the 74HCT157D, 74HCT153D, 74HCT574D and 74HCT08D. 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 KiCad files?

From the 89Mods/LVDC repository on GitHub, at the commit this page was made from: the board is KiCad/ALU/ALU.kicad_pcb and its schematic KiCad/ALU/ALU.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the ALU design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

More from 89Mods/LVDC

8
  • 2 layers258.1 × 122.9 mmFrontPanel, the printed circuit board in 3D

    FrontPanel

    89Mods/LVDC

    Replica of the Launch Vehicle Digital Computer using 74-series logic

    124 parts2MIT
  • 4 layers209.6 × 108.5 mmGPIO, the printed circuit board in 3D

    GPIO

    89Mods/LVDC

    Replica of the Launch Vehicle Digital Computer using 74-series logic

    113 parts2MIT
  • 4 layers209.5 × 108.5 mmRegisters, the printed circuit board in 3D

    Registers

    89Mods/LVDC

    Replica of the Launch Vehicle Digital Computer using 74-series logic

    98 parts2MIT
  • 4 layers209.5 × 108.5 mmControl, the printed circuit board in 3D

    Control

    89Mods/LVDC

    Replica of the Launch Vehicle Digital Computer using 74-series logic

    81 parts2MIT
  • 4 layers209.5 × 108.5 mmMemory, the printed circuit board in 3D

    Memory

    89Mods/LVDC

    Replica of the Launch Vehicle Digital Computer using 74-series logic

    58 parts2MIT
  • 2 layers105.2 × 70.6 mmBusMonitor, the printed circuit board in 3D

    BusMonitor

    89Mods/LVDC

    Replica of the Launch Vehicle Digital Computer using 74-series logic

    53 parts2MIT
  • 4 layers153.9 × 60.5 mmBackplane, the printed circuit board in 3D

    Backplane

    89Mods/LVDC

    Replica of the Launch Vehicle Digital Computer using 74-series logic

    29 parts2MIT
  • 2 layers25.9 × 11.2 mmTemperatureMonitor, the printed circuit board in 3D

    TemperatureMonitor

    89Mods/LVDC

    Replica of the Launch Vehicle Digital Computer using 74-series logic

    10 parts2MIT

Similar boards

  • 2 layers368.3 × 215.9 mmTTL 6510 Computer fab, the printed circuit board in 3D

    TTL 6510 Computer fab

    StefansAI/TTL-6510-Computer

    Yet another CPU made from TTL chips

    330 parts1
  • 2 layers200 × 150 mmMSX ONE, the printed circuit board in 3D

    MSX ONE

    jdgabbard/MSX-ONE-Computer

    MSX 1 Computer from discrete parts

    114 parts28GPL-3.0
  • 2 layers235 × 158.8 mmGigatron, the printed circuit board in 3D

    Gigatron

    flypie/Gigatron

    This is a version of the files from https://gigatron.io/ altered to work on a vanilla KiCAD 5.1.6. Changes are minimal in the schematic and PCB, layout has only been changed where dimensions or orientations changed as a…

    151 parts2
  • 2 layers297.2 × 180.3 mm8bit computer, the printed circuit board in 3D

    8bit computer

    vascofazza/8bit-cpu

    Schematics & code for my 74LS-based 8-bit MK1 CPU

    377 parts317MIT
  • 4 layers244.5 × 393.4 mm8-bit cpu, the printed circuit board in 3D

    8-bit cpu

    nurk/8-bit-cpu

    8-bit CPU

    458 parts
  • 2 layersLM80C R6, the printed circuit board in 3D

    LM80C R6

    leomil72/LM80C

    A Z80-based homebrew computer withTMS9918, AY-3-8910, Z80 CTC, Z80 PIO, and Z80 SIO

    153 parts123GPL-3.0
  • 2 layers333.4 × 149.9 mmOmega Mainboard, the printed circuit board in 3D

    Omega Mainboard

    skiselev/omega

    Omega Home Computer

    248 parts459GPL-3.0
  • 2 layers333.4 × 149.9 mmOmega Mainboard, the printed circuit board in 3D

    Omega Mainboard

    merlinkv/Omega_MSX2

    Update of the Omega Home Computer Project

    265 parts40GPL-3.0