Tech News
← Back to articles

Minecraft HDL, an HDL for Redstone

read original related products more articles

Minecraft HDL

Minecraft HDL is a digital synthesis flow for minecraft redstone circuits. It is an attempt to use industry standard design tools and methods to generate digital circuits with redstone.

This file multiplexer4_1.v is a 6 input - 1 output circuit that selects one of the first 4 inputs (a, b, c, d) as the output based on the value of the last 2 inputs (x, y)

module multiplexer4_1 ( a ,b ,c ,d , x ,y ,dout ); output dout ; input a, b, c, d, x , y; assign dout = (a & ( ~ x ) & ( ~ y)) | (b & ( ~ x ) & (y)) | (c & x & ( ~ y)) | (d & x & y); endmodule

When synthesized through Minecraft HDL it produces this circuit:

With the 6 inputs on the right and the single output on the left

Quick Links

About

MinecraftHDL was the final undergraduate design project made by three students in the Electrical, Computer & Software Engineering department at McGill University.

It is by no means bug-free or even complete; It produces objectively inferior circuits to 'hand-made' redstone designs, and is not intended to be used in modded survival. It can generate almost any verilog circuit, however only simple designs will actually be testable in-game since any moderately-complex design will end up being longer than the maximum number of blocks loaded in Minecraft.

... continue reading