Forum Discussion
Altera_Forum
Honored Contributor
14 years agoStoring data in array
Hi, I wrote a simple code for multiplication and wanted to store the result in an array. The code does not show any error during compilation, but the output is zeros. Could some one tell me wh...
Altera_Forum
Honored Contributor
14 years agoAs far as i know FOR shouldn't be used in hardware.. BUT the way you are using is pretty much like a FOR GENERATOR in VHDL which works fine (at least in VHDL it is the equivalent of expanding the code)
You might be using the for in an unaproriated way (i am working more with VHDL lately and i've never used FOR in verilog)