URL
https://opencores.org/ocsvn/artificial_neural_network/artificial_neural_network/trunk
Subversion Repositories artificial_neural_network
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 6 to Rev 7
- ↔ Reverse comparison
Rev 6 → Rev 7
/artificial_neural_network/trunk/ANN_kernel/RTL_VHDL_files/layers_pkg.vhd
234,7 → 234,7
begin |
-- Calculate the maximum of the weight memory length: |
for i in 1 to n-1 loop |
addr_l := max2( addr_l, log2(NumN(i-1)+log2(NumN(i))) ); |
addr_l := max2( addr_l, log2(NumN(i-1))+log2(NumN(i)) ); |
end loop; |
addr_l := addr_l +1; -- add bias select bit |
return addr_l; |