Show HN: SHDL – A minimal hardware description language built from logic gates
created: Jan. 28, 2026, 12:06 p.m. | updated: Jan. 29, 2026, 3:24 a.m.
SHDL - Simple Hardware Description LanguageA lightweight hardware description language and Python driver for digital circuit simulation using exclusively logic gates!
SHDL provides an intuitive syntax for defining digital circuits and a clean Python API for interacting with them (PySHDL).
Use in Pythonfrom SHDL import Circuit # Load and compile the circuit with Circuit ( "fullAdder.shdl" ) as c : # Set input values c .
poke ( "Cin" , 1 ) # Run simulation c .
GitHub repository: rafa-rrayes/SHDLRequirementsPython >= 3.10GCC or compatible C compiler (for circuit compilation)📝 Feedback & Contributions WelcomeSHDL is still early-stage, and real-world feedback is incredibly valuable.
16 hours, 13 minutes ago: Hacker News