Forum Discussion
Altera_Forum
Honored Contributor
15 years agoHow to choose device : CPLD or FPGA ?
I want to implement a polynomial function to continuously process a digital temperature signal and output a variable based on such evaluation. What device to look out for ? CPLD or FPGA ?
How can I decide that this implementation would need this much LEs ? Please help in this regard.13 Replies
- Altera_Forum
Honored Contributor
In that case, you'll probably need multipliers. They can be done without dedicated multipliers but you need as many adders per multiplier as you have bits.
If that is all it is you might be able to squeeze it into a large CPLD, but it might be easiest to go with an FPGA. Also, try not to do division on either CPLD or FPGA, its much easier to multiply by 1/n rather than divide by n. Thirdly, if you're thinking about floating point, try changing everything to fixed point. FPGAs dont like floating point and you would really struggle on CPLDs. - Altera_Forum
Honored Contributor
Thanks Tricky.
My polynomial equation is of 3rd order and I need to process only one input signal. - Altera_Forum
Honored Contributor
CPLDs are very small devices with no dedicated internal rams or multipliers. FPGAs have internal rams and multipliers. CPLDs are very cheap, FPGAs range from cheap to very expensive.
So if you know its a very simple design with no need for any serious maths or storage, stick with a CPLD. Otherwise you will need an FPGA. As for estimating your LEs, best way is to write the source code and compile it. estimating LEs for designs more complicated than a few gates is dufficult. On the other hand it can be easy to estimate memory and multiplier requirements.