Neural Network on Xilinx Virtex 5

  • Thread starter Electronics_hobbyist
  • Start date
On Tuesday, February 26, 2019 at 4:39:38 PM UTC+2, gnuarm.del...@gmail.com wrote:
On Tuesday, February 26, 2019 at 2:57:16 AM UTC-6, Electronics_hobbyist wrote:
Sample code on VHDL, about Neural Networks, that is working. So I can start from somewhere to build something. From theory to practice there is a huge gap without help..

VHDL and Neural Networks are two totally different things. There is no need to combine them into one topic for study. If you have a working algorithm in another language, you don't really need to consider the Neural Networks so much. You just need to port that algorithm to VHDL like you would any algorithm. So I don't think you need or will find a book on this exact topic.

The things you will need to pay attention to are how you will adjust the algorithm to suit the inherent parallelism available in hardware and how you will debug the implementation, both in simulation and in the hardware.

Have you given this any thought? If you have questions you can ask here.

Rick C.

Thanx a lot, for the help.
 
On Tuesday, February 26, 2019 at 12:33:57 PM UTC-6, Electronics_hobbyist wrote:
On Tuesday, February 26, 2019 at 4:39:38 PM UTC+2, gnuarm.del...@gmail.com wrote:
On Tuesday, February 26, 2019 at 2:57:16 AM UTC-6, Electronics_hobbyist wrote:
Sample code on VHDL, about Neural Networks, that is working. So I can start from somewhere to build something. From theory to practice there is a huge gap without help..

VHDL and Neural Networks are two totally different things. There is no need to combine them into one topic for study. If you have a working algorithm in another language, you don't really need to consider the Neural Networks so much. You just need to port that algorithm to VHDL like you would any algorithm. So I don't think you need or will find a book on this exact topic.

The things you will need to pay attention to are how you will adjust the algorithm to suit the inherent parallelism available in hardware and how you will debug the implementation, both in simulation and in the hardware.

Have you given this any thought? If you have questions you can ask here.

Rick C.

Thanx a lot, for the help.

What is the basis of the neural network algorithm? How is the software organized? I guess the key issue in performance are the high order loops, things that are iterated in nested loops. Have you thought much about how they will be implemented in VHDL?

Rick C.
 
On Tuesday, February 26, 2019 at 10:12:59 PM UTC+2, gnuarm.del...@gmail.com wrote:
On Tuesday, February 26, 2019 at 12:33:57 PM UTC-6, Electronics_hobbyist wrote:
On Tuesday, February 26, 2019 at 4:39:38 PM UTC+2, gnuarm.del...@gmail.com wrote:
On Tuesday, February 26, 2019 at 2:57:16 AM UTC-6, Electronics_hobbyist wrote:
Sample code on VHDL, about Neural Networks, that is working. So I can start from somewhere to build something. From theory to practice there is a huge gap without help..

VHDL and Neural Networks are two totally different things. There is no need to combine them into one topic for study. If you have a working algorithm in another language, you don't really need to consider the Neural Networks so much. You just need to port that algorithm to VHDL like you would any algorithm. So I don't think you need or will find a book on this exact topic.

The things you will need to pay attention to are how you will adjust the algorithm to suit the inherent parallelism available in hardware and how you will debug the implementation, both in simulation and in the hardware..

Have you given this any thought? If you have questions you can ask here.

Rick C.

Thanx a lot, for the help.

What is the basis of the neural network algorithm? How is the software organized? I guess the key issue in performance are the high order loops, things that are iterated in nested loops. Have you thought much about how they will be implemented in VHDL?

Rick C.

I have build the CNN in Raspberry in python but it takes 30-40 sec to decide if the photo shows a man or a woman. I want to accelarate this. How much faster can it go to the Virtex 5? Can I achieve 1-2 sec to take the decision?
 
On Wednesday, February 27, 2019 at 3:52:27 AM UTC-6, Electronics_hobbyist wrote:
I have build the CNN in Raspberry in python but it takes 30-40 sec to decide if the photo shows a man or a woman. I want to accelarate this. How much faster can it go to the Virtex 5? Can I achieve 1-2 sec to take the decision?

What you are asking is a bit like "how long is a piece of string?" I know nothing of the algorithm you implemented in python. The first step to speed this up is to identify where the processor is spending it's time. Have you done that?

To implement this algorithm in VHDL you will need to understand the algorithm enough that you can figure out how to implement different parts to run in parallel without one part still being a huge bottle neck. So you need to understand the timing of the code in python. Then you can figure out how to accelerate it. Just coding it in VHDL won't automatically make it run faster.

Can you explain the neural network code?

Rick C.
 

Welcome to EDABoard.com

Sponsor

Back
Top