Skip to the content
2 layers67.5 × 70.6 mmRegister, the printed circuit board in 3D

LNCPU is a design for a hobby 8-bit processor.

Size
67.5 × 70.6 mm
Copper layers
2
Thickness
1.6 mm
Parts
10
Nets
28
Pads
97
Tracks, vias
224, 34
Pours
99
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
18 Jan 2023
Updated
27 Aug 2026

Overview

Register is an open-source printed circuit board by lorenzonotaro, from the lorenzonotaro/lncpu repository on GitHub. It is a 2-layer board of 67.5 × 70.6 mm with 10 parts on 28 nets, routed with 224 tracks and 34 vias.

It is built around the 74HCT541D and 74HCT173D. Its parts include 5 capacitors, 4 ICs and 1 connector.

Main components

2

README

readme.md

lncpu

LNCPU is a design for a hobby 8-bit processor.

Alt text

Project structure

Overview of the repository:

  • v1 is the first implementation of the lncpu. Here you will find the Logisim simulation and the KiCad project (currently under construction), as well as the Python script for generating the control unit EEPROMS.

  • lnc is an assembler and C compiler written in Java for the lncpu. It is kept up to date with the current implementation.

  • eeprom-serial-loader is a utility program for editing binary data and loading it to/from EEPROMS.

  • lncpu-emu is a simple emulator for the lncpu written in C.

  • lnfsutils is a utility program for working with the lnfs filesystem, a simple FS designed to work on the lncpu.

  • Programs contains some sample programs you can assemble and run on the lncpu as well as Notmon, a utility program strongly inspired in its functionality (and name) by Wozmon, made by Steve Wozniak for his Apple I.

  • extras contains some additional tools, such as a VsCode extension for lnasm.

Current state of the project

  • Physical implementation: work in progress. The Logisim simulation is basically done and tested. Some adjustments to the architecture may still be made, but the main design is complete. The KiCad project is under construction, and it might be necessary to properly simulate the design with actual hardware simulation software (e.g. an HDL simulation) before implementing it physically.

  • Assembler and C compiler: the assembler is basically complete and stable. The C compiler is still a work in progress, but it is already usable for small-medium sized programs. Arrays and structs are yet to be implemented. The register allocator is very basic and can be improved and general optimization passes in the various stages would be very beneficial for an inefficient architecture like this one.

  • EEPROM editor and loader: the utility is basically complete and stable. Some improvements can be made to the UI, but it is already usable. More loaders other than the AT28C64 can be added.

  • Emulator: The emulator is also basically done, but it is very basic and can be improved a lot. It is currently Windows-only because of the use of <conio.h> for keyboard input, but porting it to Linux or MacOS should be easy.

  • Programs: A simple BIOS for the lncpu is under development. Notmon is basically complete and stable, but more features can be added.

  • Extras: The VsCode extension has syntax highlighting and basic symbol support for lnasm files. More features can be added, such as code snippets and integration with lnc.

Building

Prerequisites

  • Maven and JDK 16+ are required for building both lnc and eeprom-serial-loader.
  • Python 3.x is required to generate the EEPROMs for the control unit.
  • Logisim-evolution is used to simulate the design.
  • Any C compiler and CMake to build the emulator (e.g. gcc).

Note: I suggest using my fork of Logisim-evolution (logisim-lncpu branch) to open the Logisim project. It includes useful features like:

  • testing environment for the lncpu
  • easy loading of all CU EEPROMs at once
  • a neat LNCPU debugger

If you're on Linux, make.sh will build everything for you. Usage:

text
./make.sh [--no-eeproms] [--no-eeprom-serial-loader|--no-esl] [--no-lnc] [--no-lnfs|--no-lnfs-utils]

If you're on Windows, use make.bat instead. Usage:

text
./make.bat [--no-eeproms] [--no-eeprom-serial-loader|--no-esl] [--no-lnc] [--no-lnfs|--no-lnfs-utils]

These scripts will create an output folder containing:

  • lnc.jar: the assembler and C compiler along with lnc.bat/lnc.sh scripts for easy usage
  • eeprom-serial-loader.jar: the EEPROM editing and loading utility along with eeprom-serial-loader.bat/eeprom-serial-loader.sh scripts for easy usage
  • lncpu-emu.exe: the LNCPU emulator executable
  • eeproms: a folder containing all the generated control unit EEPROMs (if you have my fork of Logisim, you may open the Logisim project, then go to Simulate -> Debug LNCPU -> Load CU EEPROMS and select this folder to load them all at once).
  • a lib folder containing libraries for lnc/lnasm

It is recommended to add the output folder to your PATH environment variable for easy usage of lnc and eeprom-serial-loader from any location and allow the Logisim debugger to compile and load programs directly.

Parts

10
QtyValueFootprintReferences
2100nCapacitor_THT:C_Disc_D4.3mm_W1.9mm_P5.00mmC1, C2
274HCT173Package_DIP:DIP-16_W7.62mm_LongPadsU1, U2
11uFlncpu:CP_Radial_D4.0mm_P2.00mm-Large-HolesC5
1220nCapacitor_THT:C_Disc_D4.3mm_W1.9mm_P5.00mmC3
147uFCapacitor_THT:CP_Radial_D5.0mm_P2.50mmC4
174HCT541Package_DIP:DIP-20_W7.62mm_LongPadsU3
1ASYNC_{out}Connector_PinSocket_2.54mm:PinSocket_1x10_P2.54mm_VerticalJ3
1LNCPU Type B Connectorlncpu:LNCPU_Type_B_HeaderU5

More from lorenzonotaro/lncpu

12
  • 2 layers200 × 150 mmAlu base, the printed circuit board in 3D

    Alu base

    lorenzonotaro/lncpu

    LNCPU is a design for a hobby 8-bit processor.

    45 parts8
  • 2 layers149.4 × 102.8 mmFlags, the printed circuit board in 3D

    Flags

    lorenzonotaro/lncpu

    LNCPU is a design for a hobby 8-bit processor.

    26 parts8
  • 2 layers138.4 × 67.9 mmAlu adder, the printed circuit board in 3D

    Alu adder

    lorenzonotaro/lncpu

    LNCPU is a design for a hobby 8-bit processor.

    17 parts8
  • 2 layers101.5 × 66.5 mmSp register, the printed circuit board in 3D

    Sp register

    lorenzonotaro/lncpu

    LNCPU is a design for a hobby 8-bit processor.

    12 parts8
  • 2 layers80 × 80 mmAT28C64B circuit, the printed circuit board in 3D

    AT28C64B circuit

    lorenzonotaro/lncpu

    LNCPU is a design for a hobby 8-bit processor.

    11 parts8
  • 2 layers82.8 × 81 mmRam, the printed circuit board in 3D

    Ram

    lorenzonotaro/lncpu

    LNCPU is a design for a hobby 8-bit processor.

    11 parts8
  • 2 layers68 × 68 mmSh register, the printed circuit board in 3D

    Sh register

    lorenzonotaro/lncpu

    LNCPU is a design for a hobby 8-bit processor.

    10 parts8
  • 2 layersLncpu, the printed circuit board in 3D

    Lncpu

    lorenzonotaro/lncpu

    LNCPU is a design for a hobby 8-bit processor.

    10 parts8
  • 2 layers108 × 33 mmAlu and, the printed circuit board in 3D

    Alu and

    lorenzonotaro/lncpu

    LNCPU is a design for a hobby 8-bit processor.

    7 parts8
  • 2 layers112.3 × 36.1 mmAlu inverter, the printed circuit board in 3D

    Alu inverter

    lorenzonotaro/lncpu

    LNCPU is a design for a hobby 8-bit processor.

    7 parts8
  • 2 layers107.9 × 33 mmAlu or, the printed circuit board in 3D

    Alu or

    lorenzonotaro/lncpu

    LNCPU is a design for a hobby 8-bit processor.

    7 parts8

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 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
  • 2 layers167.8 × 200.6 mmRandom Jazz Generator, the printed circuit board in 3D

    Random Jazz Generator

    telec16/modular-synth

    Little side project, don't expect much updates.

    132 parts16
  • 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 layers99.1 × 87.6 mm8-bit computer ALU, the printed circuit board in 3D

    8-bit computer ALU

    xrayer2000/8-bit-computer-Documentation

    My 8-bit computer

    50 parts30
  • 4 layers110 × 110 mmSmoothiev2-prime, the printed circuit board in 3D

    Smoothiev2-prime

    Smoothieware/Smoothieboard2

    Hardware files for the Smoothieboard v2, and extension boards

    453 parts71
  • 2 layers99.1 × 49.9 mmGameControl, the printed circuit board in 3D

    GameControl

    jblang/GameController

    Game Controller interface for RC2014

    53 parts18
  • 6 layers158 × 174 mmTritonECU Main, the printed circuit board in 3D

    TritonECU Main

    alpauna/TritonECU

    ESP32-S3 engine control unit — fuel injection, ignition timing, wideband O2 (CJ125/LSU 4.9), dashboard, and MQTT telemetry

    457 parts10

Questions

How big is the Register PCB?

It measures 67.5 × 70.6 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Register use?

10 parts, built around the 74HCT541D and 74HCT173D. 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 Register KiCad files?

From the lorenzonotaro/lncpu repository on GitHub, at the commit this page was made from: the board is v1/kicad/register/register.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Register design in my own project?

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