Live data from Hacker News

HexLogic – Logic gates in a hexagon grid

anubiann00b.github.io

1–10 of 23 posts

Re: HexLogic – Logic gates in a hexagon grid

#4
How to make an oscillator: Create a triangle out of XOR cells. It will all be white. Put a power cell next to the triangle.

A simpler oscillator consists of an XOR cell in the center, with a power cell below it, and two OR cells: one above, and one above and to the right.

Re: HexLogic – Logic gates in a hexagon grid

#6
Fun to play with, but I haven't yet found how to create a wire that carries a signal around a corner without introducing instability or oscillation. A series of 'or' or 'xor' gates will carry a signal from input to output, but the other two output directions from any of those gates lead to cells that feed into the previous cell, so placing either an 'or' or 'xor' there introduces feedback.

The inability to change the direction of a signal makes it difficult to create non-trivial circuits. I can create an oscillator for use as a clock signal (3-on-3-off that can be disturbed into a 1-on-1-off by placing and removing an adjacent cell). The outputs of those together would produce a two-bit counter (00, 01, 10, 11), and combining those bits with logic gates would produce a 2-on-2-off oscillator or a 1-on-3-off oscillator; however, I haven't yet figured out how to bring two outputs together.

Re: HexLogic – Logic gates in a hexagon grid

#7

Fun to play with, but I haven't yet found how to create a wire that carries a signal around a corner without introducing instability or oscillation. A series of 'or' or 'xor' gates will carry a signal from input to output, but the other two output directions from any of those gates lead to cells that feed into the previous cell, so placing either an 'or' or 'xor' there introduces feedback. The inability to change the…

You can switch direction. Try putting 4 xor gates in a diamond shape ;)

Re: HexLogic – Logic gates in a hexagon grid

#8

Fun to play with, but I haven't yet found how to create a wire that carries a signal around a corner without introducing instability or oscillation. A series of 'or' or 'xor' gates will carry a signal from input to output, but the other two output directions from any of those gates lead to cells that feed into the previous cell, so placing either an 'or' or 'xor' there introduces feedback. The inability to change the…

You can switch direction. Try putting 4 xor gates in a diamond shape ;)

Also try a "bone" shape.

Re: HexLogic – Logic gates in a hexagon grid

#9

Fun to play with, but I haven't yet found how to create a wire that carries a signal around a corner without introducing instability or oscillation. A series of 'or' or 'xor' gates will carry a signal from input to output, but the other two output directions from any of those gates lead to cells that feed into the previous cell, so placing either an 'or' or 'xor' there introduces feedback. The inability to change the…

[deleted]

Re: HexLogic – Logic gates in a hexagon grid

#10

Fun to play with, but I haven't yet found how to create a wire that carries a signal around a corner without introducing instability or oscillation. A series of 'or' or 'xor' gates will carry a signal from input to output, but the other two output directions from any of those gates lead to cells that feed into the previous cell, so placing either an 'or' or 'xor' there introduces feedback. The inability to change the…

A big hexagon shape made out of xor gates imitates a xor gate, except that the inputs and outputs are nicely separated. You can omit the inputs as you want.
Post reply on HN