Altera_Forum
Honored Contributor
15 years agoProblem with ALTACCUMULATE megafunction
Dear all,
I am new in Quartus II and I have a problem which might be due to my lack of experience in this particular software. I would appreciate any help. I am using Quartus II 10 with SP 1, I am trying to make a very simple design (using schematic no VHDL) which will use an accumulator, so, I used the ALTACCUMULATE megafunction. The problem is that I cannot set specific values to the width of the WIDTH_IN (data[] input bus) and the WIDTH_OUT (result[] output bus). When I go to the properties of the ALTACCUMULATE and to the Parameters Tab, naturally, there are 4 columns: Name, Value, Type and Description. In the Type column, I use "unsigned integer". However it is impossible to set a numeric value to the Value column. It only gives me 2 choices: UNSIGNED and SIGNED. So, when I compile my project I get the following error Error: Bus range for signal "port "data[WIDTH_IN-1..0]" (ID ALTACCUMULATE:inst)" must be a number Error: Bus range for signal "port "result[WIDTH_OUT-1..0]" (ID ALTACCUMULATE:inst)" must be a number the error seems to imply that it needs numerical values into the VALUE column of the properties but it doesn't allow me to do so. Strangely, it IS possible to set numeric values (in the VALUE column) for the input and output buses of other functions. I have a divider, a counter and a comparator and I can set specific values for their buses. But not for my Accumulator.... Can anybody think why this happens? I would appreciate any help in this topic. Thank you all in advance, Bbonik