
Add sub
tmarhguy/alu
8-bit combinational ALU built from scratch with 3,488 CMOS transistors (KiCad + SPICE + Logisim + 1.24M tests

8-bit combinational ALU built from scratch with 3,488 CMOS transistors (KiCad + SPICE + Logisim + 1.24M tests
Led panel 2 is an open-source printed circuit board by tmarhguy, from the tmarhguy/alu repository on GitHub, published under the MIT licence. It is a 2-layer board of 78.5 × 68.5 mm with 129 parts on 81 nets.
Its parts include 112 transistors, 8 resistors, 8 diodes and 1 connector. It belongs with the retro computing and games boards of this library.
Comparison and status flag generation
Generate 4 flags for ALU status and comparison:
 Flags generation circuit
Function: Detect A == B
Logic:
EQUAL = ~((A[7] XOR B[7]) | (A[6] XOR B[6]) | ... | (A[0] XOR B[0]))Implementation:
Function: Detect A < B
Logic: Cascaded priority comparison (MSB first)
Implementation: ~120T comparator logic
Function: Detect OUT > 0
Logic:
NOT_ZERO = OUT[7] | ... | OUT[0]
POSITIVE = ~OUT[7] & NOT_ZEROFunction: Pass carry from adder
Implementation: Direct wire
Inputs:
Outputs:
Last Updated: 2026-01-16
| Qty | Value | Footprint | References |
|---|---|---|---|
| 56 | NMOS | Package_TO_SOT_SMD:TSOT-23 | Q1002, Q1102, Q1103, Q1104, Q1105, Q1110, Q1202, Q1302, Q1402, Q1502, Q1503, Q1504, Q1505, Q1510, Q1602, Q1702 +40 |
| 56 | PMOS | Package_TO_SOT_SMD:TSOT-23 | Q1001, Q1101, Q1106, Q1107, Q1108, Q1109, Q1201, Q1301, Q1401, Q1501, Q1506, Q1507, Q1508, Q1509, Q1601, Q1701 +40 |
| 8 | 330 | Resistor_SMD:R_0805_2012Metric | R101, R102, R103, R104, R105, R106, R107, R108 |
| 1 | Conn_01x10_Socket | Connector_Harwin:Harwin_Gecko-G125-FVX1005L0X_2x05_P1.25mm_Vertical | J101 |
| 1 | LED10 | LED_THT:LED_D3.0mm | D103 |
| 1 | LED11 | LED_THT:LED_D3.0mm | D104 |
| 1 | LED12 | LED_THT:LED_D3.0mm | D105 |
| 1 | LED13 | LED_THT:LED_D3.0mm | D106 |
| 1 | LED14 | LED_THT:LED_D3.0mm | D107 |
| 1 | LED15 | LED_THT:LED_D3.0mm | D108 |
| 1 | LED8 | LED_THT:LED_D3.0mm | D101 |
| 1 | LED9 | LED_THT:LED_D3.0mm | D102 |

tmarhguy/alu
8-bit combinational ALU built from scratch with 3,488 CMOS transistors (KiCad + SPICE + Logisim + 1.24M tests

tmarhguy/alu
8-bit combinational ALU built from scratch with 3,488 CMOS transistors (KiCad + SPICE + Logisim + 1.24M tests

tmarhguy/alu
8-bit combinational ALU built from scratch with 3,488 CMOS transistors (KiCad + SPICE + Logisim + 1.24M tests

tmarhguy/alu
8-bit combinational ALU built from scratch with 3,488 CMOS transistors (KiCad + SPICE + Logisim + 1.24M tests

tmarhguy/alu
8-bit combinational ALU built from scratch with 3,488 CMOS transistors (KiCad + SPICE + Logisim + 1.24M tests

tmarhguy/alu
8-bit combinational ALU built from scratch with 3,488 CMOS transistors (KiCad + SPICE + Logisim + 1.24M tests

tmarhguy/alu
8-bit combinational ALU built from scratch with 3,488 CMOS transistors (KiCad + SPICE + Logisim + 1.24M tests

tmarhguy/alu
8-bit combinational ALU built from scratch with 3,488 CMOS transistors (KiCad + SPICE + Logisim + 1.24M tests

tmarhguy/alu
8-bit combinational ALU built from scratch with 3,488 CMOS transistors (KiCad + SPICE + Logisim + 1.24M tests

tmarhguy/alu
8-bit combinational ALU built from scratch with 3,488 CMOS transistors (KiCad + SPICE + Logisim + 1.24M tests

tmarhguy/alu
8-bit combinational ALU built from scratch with 3,488 CMOS transistors (KiCad + SPICE + Logisim + 1.24M tests

tmarhguy/alu
8-bit combinational ALU built from scratch with 3,488 CMOS transistors (KiCad + SPICE + Logisim + 1.24M tests





jackw01/pi-tin
Open source raspberry pi handheld retro gaming console

BathroomEpiphanies/KiCAD-Keyboard-Tutorial
Tutorial on making keyboard PCB layouts in KiCAD


It measures 78.5 × 68.5 mm and has 2 copper layers, 1.6 mm thick.
129 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.
From the tmarhguy/alu repository on GitHub, at the commit this page was made from: the board is schematics/kicad/boards/led_panel/led_panel_2/led_panel_2.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
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).