111 Wolf sheep cabbage river crossing puzzle ASIC design

111 : Wolf sheep cabbage river crossing puzzle ASIC design

Design renderSelect Project123456789ONSW2
  • Author: maehw
  • Description: Play the wolf, goat and cabbage puzzle interactively.
  • GitHub repository
  • Clock: 0 Hz

How it works

Truth table with the game logic (hidden easter egg). The inputs are the positions of the farmer, wolf, goat and cabbage. The 7-segment display shows the status of the game (won or lost).

How to test

Slide the input switches, think, have a look at the 7-segment display.

External hardware

Input switches and 7-segment display

Picture

IO

#InputOutput
0not connected because it is typically used for clocked designs and may be used in the future of this designoutput signal ~E, i.e. the top and bottom segments light up, when the game is over due to an unattended situation on any river bank side
1input signal F for the position of the farmeroutput signal ~R i.e. the top-right and bottom-right segments light up, to indicate an unattended situation on the right river bank (game over)
2input signal W for the position of the wolfoutput signal ~R i.e. the top-right and bottom-right segments light up, to indicate an unattended situation on the right river bank (game over)
3input signal G for the position of the goatoutput signal ~E, i.e. the top and bottom segments light up, when the game is over due to an unattended situation on any river bank side
4input signal C for the position of the cabbageoutput signal ~L i.e. the top-left and bottom-left segments light up, to indicate an unattended situation on the left river bank (game over)
5here be dragons or an easter eggoutput signal ~L i.e. the top-left and bottom-left segments light up, to indicate an unattended situation on the left river bank (game over)
6here be dragons or an easter egg
7output signal A to light up the "dot LED" of the 7 segment display as an indicator that all objects have reached the right bank of the river and the game is won! 🎉🎉🎉