Coursework for DTU 30081. Three operands and two operators are entered using the board’s switches and buttons.
The challenge
Division required a custom, multi-cycle shift-and-subtract unit. A control state machine and debounced buttons kept the input sequence predictable.
Results
- Addition, subtraction, multiplication, and division on hardware.
- Evaluates (A op B) op C.
- Physical demonstration shown below.