Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

Floading Point divider, throughput/latency

Hi all,

I'm considering using the floading point blocks available from Altera in a design I have. Throughput is a top priority as I'm doing complex image transformation for high speed application.

I was trying out the altfp_div megafunction and found out that it outputs only correct answers every other clock cycle, possibly worse as I only tried it with two numbers. Is the altfp_div not fully pipelined? I saw this also with latency set to 14.

I have added figures with this where div6rest_result is the correct values and div6_result_real is the value form the altfp_div.

I also did the same for the altfp_inv floating point inverter. It seems to output correct values when receiving data every cycle.

I also added a zip file with this test made in Quartus 9.1

Cheers

Stefan

p.s. Second question I have is are those megafunctions free to use with the web edition?

19 Replies