Hello there, i got there another homework as final of semester.
Entering: Create and test the parameterizable implementation of the
integer multiplication algorithm in a fixed floating point. The
parameter must be the number of input bits
operands.
They give us something there as hints:
Let A [n-1: 0],
B [n-1: 0],
Q [n-1: 0],
C [1] and PC are registers.
PC serves as a cycle counter.
Let's put C#Q#A on the label linking registers.
Algorithm of integer multiplication:
1 | BEGIN
|
2 | C#Q :=0 || PC:=n
|
3 | WHILE(PC>0)
|
4 | IF A(0) = 1 THEN
|
5 | C#Q := Q+B
|
6 | ENDIF
|
7 | C#Q#A :=0 # SR1(C#Q#A)||
|
8 | PC := PC - 1
|
9 | END
|
10 | END
|
After that we got Steps of integer multiplication in binary.
How to start with it? Some solutions? I am so newbie at that
problematics of VHDL codes, scripts.