Forum Discussion
Altera_Forum
Honored Contributor
16 years agoLUT help!!!
I have wrote this code for implementing a neural network.What it does is to take some values(inputs) and some weights and computes the SUM(values*weigths).What i want to do is to check if the total s...
Altera_Forum
Honored Contributor
16 years agoCreating a component to do the operation won't save resources by itself -- the component will just be instantiated as many times as you need.
However, in many designs, arithmetic operations aren't required to produce a result every clock and the arithmetic logic can be "shared" among multiple needs. To do this, you need to draw a dependency diagram with the operations you need and then try to schedule them in order to reduce the number of add/sub that are performed in each clock cycle.