MAM Wiring Tester
By Morpheus.
Test your MAM wiring aka “brain” by toggling one button. Use the tester as a fast way of testing your new MAM designs! Works only with MAM wirings that simulate the whole shape assembly using simulated buildings.
Features:
- Iterates through 128 shapes by toggling one button.
- Compares requested shapes with MAM wiring output shapes.
- Non-matching results are stored in a buffer, up to 8 results are stored.
How to Use:
- Input wire: Connect this to the input of the MAM wiring.
- Output wire: Connect this to the output of the MAM wiring.
- Manual Clock Button: Toggle ON to choose next shape for testing. Wait for MAM to compute new output. Toggle OFF to compare expected and resulting shape and save them to buffer if result is incorrect.
- Reset Index: Toggle ON and OFF to reset shape index and start from beginning. Works only when clock signal is off.
- Reset Buffer: Toggle ON and OFF to reset buffer with incorrect results. Works only when clock signal is off.
Possible Extensions:
Manual clock can be replaced with automatic clock that is slow enough that the MAM wiring produces final result. Alternatively, MAM wiring can output whether the shape on output is finalized and that signal can be used to allow next tick of the clock.
The register for shape index has 12bits, only 7bits are currently used because 128 shape selector was the maximum I managed to fit on one 3×3 foundation. But it’s possible to use more bits and increase the number of possible tested shapes.
- Google Drive Link (28 Kb).
Click to enlarge…
Be the first to comment