How I Made a RISC-V CPU in Minecraft pureengineering.com · 13 points · 2 comment...
HN Best 200 @best
How I Made a RISC-V CPU in Minecraft pureengineering.com · 13 points · 2 comments · HN thread
TL;DR Pure Engineering describes an automated toolchain that compiles synchronous Verilog into working Minecraft redstone circuits without hand wiring or internal command blocks. Its showcase includes a 32-bit RISC-V SERV core compiled into a 12-story, 572,659-block tower, plus smaller 2D and 3D stack CPUs, each reported to pass DRC and a 20-clock-edge live test in Minecraft 1.21.4.
- The pipeline runs Yosys, ABC, Liberty timing models, Simulated Annealing placement, 3D PathFinder routing and voxel design rule checking.
- The compiled 3D SERV RV32I core is 211 x 318 x 131 blocks with 1,300 cells, 298 two-phase latches (converted from 149 flip-flops) and 1,371 nets.
- A 3-tier 3D stack CPU is reported at 15,191 blocks, 6.6x smaller than the 100,906-block naive 1D baseline.
- A live test stepped the 2D and 3D processors through 20 clock edges in Minecraft 1.21.4 and reported all 40 chip-edge checks passing.
- Downloadable artifacts include a playable Java 1.21.4 world ZIP, a proof bundle with SHA-256 checksums, and teleport coordinates for each circuit.
Discussion The thread is small, with two comments. One is a spec summary from the author-side account listing the target RTL (olofk/serv), block counts, cell breakdown, routing statistics and a video link. The other is a technical question about performance: a commenter estimates one instruction every 3.2 seconds from the reported 64-tick latency, asks how that compares to other designs, and asks whether the core is pipelined. The mood is curious and mostly informational, with no replies yet.
- Impressed by the scale and density of the RISC-V build (some): Commenters note the SERV core is a real RV32I processor built in redstone at a tower-sized footprint, and they point to an earlier RTL-to-Minecraft project that they found limited and not dense. This is a single comment, so the weight is low.
- Questions about speed and whether the design is pipelined (some): One commenter calculates roughly one instruction every 3.2 seconds from the 64-tick latency and asks how this compares to other designs. They also ask whether the core is pipelined. No answer appears in the thread.
Links from the comments