Forum Discussion
Altera_Forum
Honored Contributor
16 years agoUsing megafunction vs just Verilog expression
What is the advantage of creating for exapple a multiplier with the megafunction wizard for multiplying m and n, vs just writing m*n?
Altera_Forum
Honored Contributor
16 years agoI guess the megafunction would be the most optimised code, having the choice of pipelining. You can open the .v file and see what optimisations they implement. I guess that a MF multiplier would also take care of some exceptional cases such as multiplying infinity and such.
Hope this makes sense