Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
1,318 Views

Multiplication and division in NIOS II/e

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
114 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.