Forum Discussion
Altera_Forum
Honored Contributor
12 years agoDE2 : GPIO output waveforms
Hi..i am having a problem and don't have any idea how to solve this problem. I had do the simulation using modesim and working fine. However when I download the code to DE2 board with Cyclone II, the...
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- What's the point of using 4 clocks instead of a single one with a 4-state process? Besides the fact this is not synthetizable in fpga (as Fvm already said, a physical flip-flop has a SINGLE clock input), the overall logic flow of your code is wrong, too. For example, when you have a clk180_in clock edge, I believe you want the code inside "if (clk180_in)" to be executed; but, if mclk_in or pclk_in signal is still high this is not the case, since one of the previous "if" condition is also true. --- Quote End --- Hi Cris72, the reason I m using 4 clocks because I want to achieve 1ns counter resolution. Ok..i understand the problem now. Thanks for pointing that out.