Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

Nios II embedded multipliers

Altera_Forum
Honored Contributor II
1,315 Views

How does the SOPC builder specify the number of the embedded multipliers in a system? 

Can I specify this number?
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
408 Views

SOPC Builder doesn't have anything to do with the number of multipliers used by any IP core. You can't control the number of multiplier blocks used by the Nios II core since that would impact the instruction scheduling. On Stratix a multiplication occurs in a single clock cycle and on Cyclone it takes three cycles since multiplier blocks are conserved.

0 Kudos
Altera_Forum
Honored Contributor II
408 Views

So how the number of the multipliers is determined? Has it something to do with the timings constraints?

0 Kudos
Altera_Forum
Honored Contributor II
408 Views

It's in the encrypted HDL that is generated for the Nios II core. You can see the number of multipliers up in the top left of the Quartus II screen where it shows you things like LEs, ALUTs, memory, etc... after a compilation. You might need to add multipliers to the view to see those. There should also be summaries of all the various blocks in the FPGA in the final compilation view for each level of hardware in your system. 

 

On Stratix a single 32x32 multiplier should be used (1 cycle multiplication) and on Cyclone a 16x16 multiplier should be used (3 cycle multiplication). On Stratix this will be reported as a 36x36 multiplier block and on Cyclone this number will be reported as four 9x9 multiplier blocks (I think).
0 Kudos
Reply