
The washing machine controller is a modular digital system implemented in Verilog using a finite-state-machine (FSM). The system simulates a simplified washing process and automatically progresses through different washing stages. If the door is closed, which should be simultaed through a lever, the start button can be pressed. If wanted, the duration of the washing process can be changed, by using the lever.
Use 1 button for Start and 2 lever for mode_select and for door_closd. Use LEDs to see the output.
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | START | WATER_VALVE | NC |
| 1 | MODE_SELECT | WASH_MOTOR | NC |
| 2 | DOOR_CLOSED | SPIN_MOTOR | NC |
| 3 | NC | DONE_LED | NC |
| 4 | NC | NC | NC |
| 5 | NC | NC | NC |
| 6 | NC | NC | NC |
| 7 | NC | NC | NC |