Forum Discussion
Altera_Forum
Honored Contributor
12 years agoEach nn_layer represents a set of 3 neurons in which we have the same x1,x2 and x3 as inputs for each of neuron.
As neurons, we can think of a sigmoid function of the outputs y1,y2 and y3, which I will implemente after, because it does not affect the architecture of the problem. The sigmoid will be implemented (aproximated) as lookup table. Before that inputs x1,x2, and x3 are presented to the neurons (sigmoids) they are multiplied by their respectives and uniques 'w's loaded from the ROM. These yn outputs are passed from one nn_layer entity to the nexts nn_entity. I need 3 nn_layer entities in total. These 3 nn_layer entities will be modeled as one unique entity (ANN) tha will control the ROM access and provide clock. The mux are irrelevant and will convert serial to paralell information from the external. I attached another figure from the book, it is very intuitive and use the variables names that I am using in the code. I is a nn_layer representation. Thank you very much for your patience and help.