Forum Discussion
Altera_Forum
Honored Contributor
12 years agoWhat Dave said.
I would also take a look at the "Quartus II integrated synthesis handbook" and, if you're really into it, the "Advanced Synthesis Cookbook". Other than that, I suspect that "literature" has a hard time keeping up with the continuous evolution of the synthesis tools and FPGA architectures. One advice, valid for both FPGAs and custom silicon: Do not go aim straight for low level"optimized constructs. Modern synthesis tools can recognize a large number of common high level constructs and convert them into highly optimized designs. As kaz said, "a == b" is probably going to work out as efficiently as anything else you can write. Sometimes, you'll find that the tools don't produce what you expect/need or that they're being unbelievably stupid and you need to get deep down into the details. But that's more the exception than the norm.