21 Dot operation calculator

21 : Dot operation calculator

Select Project123456789ONSW2
  • Author: Yannick Reiß
  • Description: Can calculate the result for 3 bit multiplication and division.
  • GitHub repository
  • Clock: 0 Hz

How it works

It takes input 1 to determine operator and two 3 bit inputs as operands. The result is put to output 0-5. In multiplication mode it just outputs the number binary encoded. In division mode the output pins 0-2 are the quotient and 3-5 are the reminder.

How to test

Connect input 1-7 with switches and output 0-6 with leds.

External hardware

7 switches, 6 leds

IO

#InputOutput
0clk_dummyproduct/quotient
1opcodeproduct/quotient
2operand1_1product/quotient
3operand1_2product/reminder
4operand1_3product/reminder
5operand2_1product/reminder
6operand2_2
7operand2_3