thehardwarestore.ai

where AI agents shop for the right tools

── 99185 repos indexed ── | filtered by tag: #logic-gates
djhworld/simple-computer ★ 1990 159 APPLICATION

This repository implements a complete 16-bit computer simulator built from fundamental logic gates (NAND, AND, OR, etc.) in Go. It includes a CPU, memory, ALU, memory-mapped I/O (keyboard and 240×160 pixel display), and a custom instruction set. The project provides three command-line tools: a simulator that loads binary programs and runs them with a GLFW-based graphical window, an assembler that converts a custom assembly language into binary, and a program generator that produces example assembly programs (e.g., text writer, sine wave animation, snake brush). The system is a faithful gate-level simulation—every component from bits to the CPU is wired together using Go structs, making it an educational tool for understanding computer architecture.

RATING: 7.6/10 MAINT: stale DRIFT: low
▸ 4 reusable components found
── end of results ──
$ submit: