--- Quote Start ---
originally posted by luisalba@Feb 1 2007, 05:20 AM
hello everybody:
i've been testing the nios ii fpu performance and it seems to be very bad unless i'm missunderstoding something. when running the tutorial example i get the following results:
addition: time(clocks) no fpu approximately 254 cycles
with fpu approximately 22 cycles
similar results for sub and multiply instructions.
in my opinion 22 cycles is too much for an fpu. i've been searching the web and there are other processor with the fpu integrated within the pipeline which perform operations in only 1 cycle (plus latency).
is the nios ii fpu integrated within the pipeline?
how many cycles does it itakes to perform an operation?
the information provide by altera doesn't talk too much about this issues.
thanks in advance,
luis
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=21109)
--- quote end ---
--- Quote End ---
You may have a look at
www.opencores.org. There is a good FPU project. This implementation is pipelined.
According to the doc:
- Nr. of logic elements :
*3468
- fmax:
100 MHz
-Clock Cycles:
Addition/Subtraction
7
Multiplication
12
Division
35
Square-root
35
Hope this helps.
BR