Forum Discussion
Altera_Forum
Honored Contributor
13 years agoThanks FvM. The only thing is when I write a verilog code to describe the behavior of a simple module, I don't know whether it is optimized same as the IP core in Megawizard.
For example, originally I always use IP "Counter" to count the number. Actually, in some cases describe the counter using behavior description Verilog will be much simpler. And I write two codes one with IP counter another just using Verilog behavior description, then I found the cost number of LEs are very similar (should be same but I am not sure), and timing parameters are similar too, then I will prefer using Verilog to write instead of using IP counter. The similar things will happen in other simple IP like add, subtract. I just wonder when you confront the similar problems, how do you which one is better? Using IP or write behavior description code by yourself? Thanks very much.