FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6260 Discussions

Altmult_add and Almult_accum dsp ip cores blocks

Altera_Forum
Honored Contributor II
1,658 Views

Hello. 

 

Using Quartus II 10.1 with Stratix IV GX. 

 

I'm trying to use and make with the Megawizard, DSP block that can be an adder, subtractor, multiplier for two inputs of 18bit, and also I want to have the ability to have in it Saturation and Rounding which I can turn on or off in live.. 

 

I need the output to be 36 bit - I think it'll be enough, the numbers truly are max. 15bit long.. 

 

I'm trying to have this in the will it can be done within "Half_DSP" block... 

 

I found it written several times in the Stratix IV Handbook and in the Arithmetic IPs User Guide: Looking in the output produed vhd files that were produced, I have no control signals or inputs to the module that I can turn on or off any of those abilities.. 

 

May I do or configure something wrong? 

 

Thank you very much for helping it.
0 Kudos
6 Replies
Altera_Forum
Honored Contributor II
267 Views

 

--- Quote Start ---  

I want to have the ability to have in it Saturation and Rounding which I can turn on or off in live.. 

--- Quote End ---  

 

 

For the given functionality, switch it from being "Enabled" to "Variable" and the input ports will be created. 

e.g. for ALTMULT_ACCUM Saturation, go to the Saturation tab in the wizard, change "Should saturation operation be performed at the output adder(s)?" from "Enabled" to "Variable". 

Then click the "More options.." button right below that to possibly configure additional settings for that port.
0 Kudos
Altera_Forum
Honored Contributor II
267 Views

 

--- Quote Start ---  

For the given functionality, switch it from being "Enabled" to "Variable" and the input ports will be created. 

e.g. for ALTMULT_ACCUM Saturation, go to the Saturation tab in the wizard, change "Should saturation operation be performed at the output adder(s)?" from "Enabled" to "Variable". 

Then click the "More options.." button right below that to possibly configure additional settings for that port. 

--- Quote End ---  

 

 

 

Thank you so much. It was helpful!
0 Kudos
Altera_Forum
Honored Contributor II
267 Views

A Continue. 

 

"I'm trying to have this in the will it can be done within "Half_DSP" block..." 

 

Now, with the updated generated block, I have the Rounding and Saturation enable\disable option. 

But,  

In the synthesis status, it seems that my altmult_add block needs 2x DSP units - according to the QuartusII Report.. 

How can I drive it to be a "half_DSP" as it is declared in the Stratix IV GX Handbook?.. 

 

Screen Captures of the Reports are attached. 

 

Thanks.
0 Kudos
Altera_Forum
Honored Contributor II
267 Views

Stx IV half dsp block supports 18x18 but you have 4 inputs so you need two of these halves (which is why you got 2 of dsp 18x18)

0 Kudos
Altera_Forum
Honored Contributor II
267 Views

you are right. 4 mults + adder needs half dsp block. So I only have to guess it could be your mode is not just that of 4 mult/add as you have accumulator. I am not sure about these blocks configurations exactly.

0 Kudos
Altera_Forum
Honored Contributor II
267 Views

 

--- Quote Start ---  

you are right. 4 mults + adder needs half dsp block. So I only have to guess it could be your mode is not just that of 4 mult/add as you have accumulator. I am not sure about these blocks configurations exactly. 

--- Quote End ---  

 

 

Thank you. 

I'll try to find out the reason.. 

 

Lior.
0 Kudos
Reply