FlyingDutch
Advanced Member level 1
- Joined
- Dec 16, 2017
- Messages
- 458
- Helped
- 45
- Reputation
- 92
- Reaction score
- 55
- Trophy points
- 28
- Location
- Bydgoszcz - Poland
- Activity points
- 5,027
Hello everybody,
there is one question not clear for me related to multiplication in HDL code (VHDL or Verilog) and further synthesis. Let assume that we have two integers (for example 16 bit unsigned) a and b. Then we use VHDL code with multiplying operator * :
x:= a*b;
Would the result be calculated with using hardware multiplier block from FPGA fabrick or not? And what if the number of multiplication operation we have to calculate is bigger than the number of hardware multiplication blocks in FPGA (for example Spartan3A - XC3S50 has only four such blocks)?
I am asking in context of matrix multiplification on FPGA. I need matrix multiplification for amateur robotic arm - for calculating position in 3D using quadrature encoders mounted on arm joints.
I would also ask if this implementation of "matrix multiplication" is implemented efficient (or are better implementations or methods):
https://www.fpga4student.com/2016/11/matrix-multiplier-core-design.html
Thanks in advance and regards.
there is one question not clear for me related to multiplication in HDL code (VHDL or Verilog) and further synthesis. Let assume that we have two integers (for example 16 bit unsigned) a and b. Then we use VHDL code with multiplying operator * :
x:= a*b;
Would the result be calculated with using hardware multiplier block from FPGA fabrick or not? And what if the number of multiplication operation we have to calculate is bigger than the number of hardware multiplication blocks in FPGA (for example Spartan3A - XC3S50 has only four such blocks)?
I am asking in context of matrix multiplification on FPGA. I need matrix multiplification for amateur robotic arm - for calculating position in 3D using quadrature encoders mounted on arm joints.
I would also ask if this implementation of "matrix multiplication" is implemented efficient (or are better implementations or methods):
https://www.fpga4student.com/2016/11/matrix-multiplier-core-design.html
Thanks in advance and regards.