

LNCPU is a design for a hobby 8-bit processor.
- Size
- 82.8 × 81 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 11
- Nets
- 53
- Pads
- 129
- Tracks, vias
- 619, 93
- Pours
- 129
- Routed
- Yes
- KiCad
- KiCad 9.0 (file 20241229)
- Created
- 18 Jan 2023
- Updated
- 27 Aug 2026
Overview
Ram is an open-source printed circuit board by lorenzonotaro, from the lorenzonotaro/lncpu repository on GitHub. It is a 2-layer board of 82.8 × 81 mm with 11 parts on 53 nets, routed with 619 tracks and 93 vias.
It is built around the 74HCT245, 74HCT08D and 74HCT32D, with the AS6C6264-55PCN among its other parts. Its parts include 6 capacitors and 5 ICs.
Main components
474HCT245
DIP-20-40℃~+85℃ 28ns@4.5V 4.5V~5.5V 6mA 6mA 74HCT 8 8uA Bidirectional TTL-compatible CMOS Tri-State DIP-20 Buffers, Drivers, Receivers, Transceivers ROHSWuxi I-core Elec74 Series74HCT08D
SOP-14-40℃~+125℃ 100mV、330mV 16ns@4.5V,15pF 2 2V 3.84V、4.4V 4 4.5V~5.5V 74HCT 800mV AND Gate TTL compatible CMOS SOP-14 Logic Gates ROHSMDDLogic Gates74HCT32D
SO-14-40℃~+125℃ 2 24ns@4.5V,50pF 2V 2uA 3.7V、4.4V 4 4.5V~5.5V 400mV 4mA 4mA 74HCT Series 800mV OR Gate SOIC-14 Logic Gates ROHSNexperiaGatesAS6C6264-55PCN
PDIP-280℃~+70℃ 1uA 2.7V~5.5V 55ns 64Kbit PDIP-28 SRAM ROHSAlliance MemorySRAM
README
readme.mdlncpu
LNCPU is a design for a hobby 8-bit processor.

Project structure
Overview of the repository:
-
v1is 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. -
lncis an assembler and C compiler written in Java for the lncpu. It is kept up to date with the current implementation. -
eeprom-serial-loaderis a utility program for editing binary data and loading it to/from EEPROMS. -
lncpu-emuis a simple emulator for the lncpu written in C. -
lnfsutilsis a utility program for working with the lnfs filesystem, a simple FS designed to work on the lncpu. -
Programscontains 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. -
extrascontains 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
lncandeeprom-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:
./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:
./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 withlnc.bat/lnc.shscripts for easy usageeeprom-serial-loader.jar: the EEPROM editing and loading utility along witheeprom-serial-loader.bat/eeprom-serial-loader.shscripts for easy usagelncpu-emu.exe: the LNCPU emulator executableeeproms: 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
libfolder 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
11| Qty | Value | Footprint | References |
|---|---|---|---|
| 2 | 100n | Capacitor_THT:C_Disc_D5.0mm_W2.5mm_P2.50mm | C5, C6 |
| 2 | 220n | Capacitor_THT:C_Disc_D5.0mm_W2.5mm_P2.50mm | C1, C4 |
| 1 | 1u | lncpu:CP_Radial_D4.0mm_P2.00mm-Large-Holes | C3 |
| 1 | 47u | Capacitor_THT:CP_Radial_D5.0mm_P2.50mm | C2 |
| 1 | 74HCT08 | Package_DIP:DIP-14_W7.62mm_LongPads | U3 |
| 1 | 74HCT245 | Package_DIP:DIP-20_W7.62mm_LongPads | U2 |
| 1 | 74HCT32 | Package_DIP:DIP-14_W7.62mm_LongPads | U1 |
| 1 | AS6C6264-55PCN | AS6C6264:DIP1524W51P254L3632H394Q28N | IC1 |
| 1 | LNCPU Type A Header | lncpu:LNCPU_Type_A_Header | U4 |
More from lorenzonotaro/lncpu
12- 2 layers200 × 150 mm

- 2 layers182.2 × 85.5 mm

Alu operand selector horizontal
lorenzonotaro/lncpu
LNCPU is a design for a hobby 8-bit processor.
29 parts8 - 2 layers149.4 × 102.8 mm

- 2 layers138.4 × 67.9 mm

- 2 layers101.5 × 66.5 mm

- 2 layers80 × 80 mm

- 2 layers67.5 × 70.6 mm

- 2 layers68 × 68 mm

- 2 layers

- 2 layers108 × 33 mm

- 2 layers112.3 × 36.1 mm

- 2 layers107.9 × 33 mm

Similar boards
- 2 layers297.2 × 180.3 mm

- 4 layers304.8 × 330.2 mm

- 4 layers292.1 × 88.3 mm

Snark barker mca
schlae/snark-barker-mca
A Sound Blaster compatible sound card for Micro Channel bus computers
177 parts69 - 2 layers368.3 × 215.9 mm

- 4 layers120.2 × 104.1 mm

- 4 layers244.5 × 393.4 mm

- 2 layers218 × 125 mm

EVA1 v2
roberto314/EVA-1_Reproduction
Recreation of the very rare K-K Systems EVA-1 Display Adapter for the Epson HX-20 Computer
160 parts - 4 layers209.5 × 108.5 mm

Questions
How big is the Ram PCB?
It measures 82.8 × 81 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Ram use?
11 parts, built around the 74HCT245, 74HCT08D, 74HCT32D and AS6C6264-55PCN. 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 Ram KiCad files?
From the lorenzonotaro/lncpu repository on GitHub, at the commit this page was made from: the board is v1/kicad/ram/ram.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the Ram design in my own project?
Its repository states no licence, so its author keeps all rights: ask lorenzonotaro before reusing the design.