Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12408 Discussions

Multiplication and division in NIOS II/e

Altera_Forum
Honored Contributor I
1,448 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 I
244 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.
Reply