Gate-level emulation of an Intel 4004 in 4004 bytes of C(nicholas.carlini.com) |
Gate-level emulation of an Intel 4004 in 4004 bytes of C(nicholas.carlini.com) |
It's just a 4004 emulator (with extra steps). The gate level simulation is of a different device that emulates a 4004.
To be fair, the whole program is amazing as a logic simulator implementation, I'm just nitpicking.
It's a logic circuit simulator that takes in a compressed representation of something and runs it, with an I/O mechanism that emulates the Busicom calculator hardware (keyboard and printer).
Still impressive for the size of the code, but the "CPU" is nothing like a 4004, or any real microprocessor.