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++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

Multiplication and division in NIOS II/e

Altera_Forum
Honored Contributor II
2,797 Views

Hi, I need to do multiplication and division in Nios II economy programming in assembly, and to make these operations in software using sums and successive subtractions is impractical, I can create a custom instruction for this using the multiply operator of verilog?

0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
1,593 Views

Hello Papafigo, 

Welcome to the forum. 

Please be so kind to explain more about your project. 

If you want to do calculations, use nios ii (f) in C, these go aready fast. 

If you really need the power, you can implement your calculations in the fpga and build a custom qsys component around it. 

Much faster is practically not possible. 

Implementing custom instructions is not easy, and what is the benefit if you already have the Arm math instructions ? 

Best Regards, 

Johi.
0 Kudos
Reply