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++
All support for Intel NUC 7 - 13 systems has transitioned to ASUS. Read latest update.
12578 Discussions

Multiplication and division in NIOS II/e

Honored Contributor II

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
Honored Contributor II

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, 

0 Kudos