Chapter 28 - Let’s try out programmable logic #
Before we get started, please be sure you’ve read Chapter 24 - Digital Logic
Simulation of an Intel 4004 in TICS (The Integrated Circuit Simulator) a (abandoned?) WIP by Oni, Download the interpreter here, the repo has pleanty of examples.
Something a bit less cool but similar is https://github.com/martinkirsche/wired-logic
Finite State Machines, VHDL, Verilog, FPGA & CPLD internals