Hi, I would like to perform mathematical operations as Division and Square root. From what i have read, i either need to use Microblaze or PowerPC. can anyone please tell me the difference in performance between them, and is it a hardware or software calculation. Does each one of these options has a dedicated FPU?
--------------------------------------- Posted through
formatting link
Didn't find your answer? Ask the community — no account required.
R
Rob Gaddi
Not at all true. Either of those algorithms can be implemented, either in fixed or floating point, as pure hardware.
Rob Gaddi, Highland Technology
Email address is currently out of order
G
glen herrmannsfeldt
And either pipelined or combinatorial.
-- glen
M
Martin Thompson
Where did you read that? You can perform those mathematical operations using the FPGA fabric perfectly well.
To directly answer the question, Microblaze has an optional FPU (made of LUTs and flipflops). IIRC PowerPC could have an FPU added (also made of LUTs and FFs) so I'd expect performance on those operations to be similar(ish).
Microblaze with an FPU in a Spartan3ADSP will clock happily at tens of MHz. Maths performance is limited - the square-root takes ~30 cycles to complete, so you may get 2-3 Msqrts/sec.
Conversely I've written a pretty wide fixed-point square-root which runs at about the same clock rate, but produces an answer every clock cycle (heavily pipelined).
Cheers, Martin
martin.j.thompson@trw.com
TRW Conekt - Consultancy in Engineering, Knowledge and Technology
http://www.conekt.co.uk/capabilities/39-electronic-hardware
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required
Report Content
You are reporting this content to the moderators. They will look at it
ASAP.