- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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, BbonikLink Copied
7 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i tried and was able to type values into WIDTH_IN, WIDTH_OUT
alternatively you could create an ALT_ACCUM with the MegaWizard and instantiate it in your design- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i tried 10.1 (no sp) Subscription Edition on Linux and Windows 7, it works fine for me
if anything else acts strange i would suspect an installation issue. are you using Web Edition? i think i may be able to give that a try- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i also tried 10.1sp1 SE for Linux, no problems there
you might just build an accumulator in bdf or HDL if you just want to move on- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I must say that indeed I use the WebEdition Quartus II.
Maybe this is the problem..... I suspect that my only option is to build an accumulator from scratch in bdf. I don't see any other solution. I just hope that I won't face similar problems with other components.... Thank you all very much for your time.... Bbonik- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i tried 10.1 Web Edition on Linux, it still works
i'm not sure i have 10.1 Web Edition on Windows anywhere- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yet another option would be hacking the .bdf, maybe it will make the parameter field editable after you give it a value. here's an extraction from mine:
(parameter
"WIDTH_IN"
"25"
"Width of Input, any integer > 0"
)
(parameter
"WIDTH_OUT"
"25"
"Width of Output, any integer > 0"
)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very very much!
That actually worked! hacking the .bdf was the only way to add the numerical values to the Accumulator. Thank you very much again!
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page