Minecraft HDL, an HDL for Redstone

164 pointsposted 15 hours ago
by sleepingreset

22 Comments

Aromasin

26 minutes ago

The only reason I ended up persuing Electronic Engineering at University, or eventually becoming an FPGA Engineer, was because I spent way too many hours playing with redstone in Minecraft as a teenager. Seeing a Verilog compiler for Minecraft is like seeing my career come full circle.

Arch-TK

12 hours ago

This is an amazing timeline. I still remember the day redstone was added to Minecraft. I spent the entire evening and many days afterwards on the forum brainstorming how to implement various things. I think I had one of the first if not the first T flip flop, it "took an entire room" and was slow. It has been crazy watching things get compacted, repeaters getting added, pistons, comparators. I remember when BUDs got discovered and then eventually just added as a block.

Now* we have an entire HDL.

I honestly stopped keeping track of things around 2012 so I am completely lost looking at modern redstone contraptions.

*8 years ago

johnisgood

23 minutes ago

I loved redstone. At some point it got forked and the fork was named "redpower" if I remember correctly. Good stuff.

There were other great mods (I forgot the name, something that has to do with turtles?) and I remember implementing a shell in Lua, among other things.

Dylan16807

11 hours ago

This is a cool tool but compared to modern redstone contraptions this is a sidegrade, not an upgrade. It's straightforward torch and dust logic, with each torch being a nor gate and dust being wires. And it doesn't consider timing at all. This could have been made the week redstone was added (with minor adjustments to not have repeaters), and it wouldn't have taken any newer insights.

Dilettante_

an hour ago

I haven't looked at the code, but you could presumably extend it, or maybe expect further development on the logic?

->The repo says "Branch out from master and have fun!"

Arch-TK

an hour ago

Ah, damn. I was envisioning something limited but not this limited.

verdverm

10 hours ago

I wonder if this takes account of any of the quirks or quasi-connectivity in redstone?

Mumbo Jumbo recently got a lesson in, and made a video about, computational redstone. Some seriously impressive builds in there (like ms paint). One of the major design constraints is tick/lag. The recent addition of copper bulbs turned the t-flipflop into a single block solution

https://www.youtube.com/watch?v=jTZaUz8bYW8

rbits

7 hours ago

It seems to only use redstone dust, repeaters, and torches. So quasi-connectivity wouldn't affect it

paulwetzel

14 hours ago

Super cool project :) Just the right level of, objectively useless - but really fun!

8note

13 hours ago

Optimizing passes for this would be interesting.

Describing a flip flop as a villager minecart with some number of NaN minecarts beside it seems challenging to pick when to use it vs a copper bulb.

SLWW

9 hours ago

I wrote a 8-bit ripple adder when I was 16 one night; I thought about this idea then but it seemed like a massive undertaking.

With all the additional redstone items/capabilities however I could imagine most circuits could be more and more compact..

All in all, really cool

thedougd

9 hours ago

I’ve been looking for any reason to relearn Verilog and this might give me my first idea.

Such a cool idea. Thank you.

gatane

13 hours ago

Amazing project!!

Sweepi

12 hours ago

> A 2-bit 7-segment display decoder in action (the display itself was not generated by MinecraftHDL)

Lame!(/s) I did this vanilla Minecraft(1.12?), including the display itself.