Forum Discussion
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by markman@Apr 7 2006, 02:59 AM what's the worst, "mul" is one of "unimplemented instructions" as presented page 24 of "nios2 processor reference handbook" as follow:
unimplemented instructions
some nios ii processor cores do not provide hardware to perform
multiplication or division operations. the following instructions are the
only operations that the processor core may emulate in software: mul,
muli, mulxss, mulxsu, mulxuu, div, divu. in such a core, these are
known as unimplemented instructions. all other instructions are
implemented in hardware.
the processor generates an exception whenever it issues an
unimplemented instruction, and the exception handler calls a routine that
emulates the operation in software. therefore, unimplemented
instructions do not affect the programmer’s view of the processor.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14120)
--- quote end ---
--- Quote End --- You seem to be confused this says that mul is not implemented in some Nios II processors, whether you have a hardware Mul depends on the type of processor you use. That said the mul instruction is more than one cycle I can't remember how many off the top off my head