Show HN: Automated transformation of digital circuits to Minesweeper boards
github.com·3h·
Discuss: Hacker News
Flag this post

PyRTLSweeper

Listen to the talk: PyRTLSweeper: Automated Transformation of Digital Circuits to Minesweeper Boards

Also check out the paper and the poster.

PyRTLSweeper is a Python package that takes a stateless circuit written with PyRTL and produces a Minesweeper board readable by JSMinesweeper that represents the circuit. The player can designate input cells to be flagged or not flagged, and some output cells are determined to have a mine or not.

Example

The following circuit:

a = pyrtl.Input(bitwidth=1, name="a")
b = pyrtl.Input(bitwidth=1, name...

Similar Posts

Loading similar posts...