Altera_Forum
Honored Contributor
14 years agoQuartus assumes I am not using parts of the code and skips compilng them
Hi,
I have this quite strange problem .. My code goes in three stages .. reads values from first M4K block, reads values from second M4K block Multiplies them and sums the result NIOS II reads value through Avalon interface Now, when I used to store the values in registers, all went fine and code compiled .. and uses 88 embedded multipliers .. when I changed the code to save the values in registers (RAM) as follows: reg signed [15:0] InFirst [43:0]; // inferred RAM Quartus doesn't at all go through the code, that's reading values and ,multiplies them, it reports 0 embedded multipliers used .. My understanding, is that it assumes the values is stored in the inferred Ram without going into reading and multiplying thus it skips them, how can I solve this? Thanks